Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-2211

Execute operation failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.1.0
    • Scripting
    • None

    Description

      Following error comes when installing with 4.1.0 installer, but does not happen with older versions

      [154866] backup embedded.b2qt.qdb operation: Execute
      [154866]        - arguments: /home/sapiippo/Qtasd/Tools/qdb/bin/qdb, server, &, UNDOEXECUTE, {0,1}, /home/sapiippo/Qtasd/Tools/qdb/bin/qdb, stop-server
      [154866] Done
      [154866] perform embedded.b2qt.qdb operation: Execute
      [154866]        - arguments: /home/sapiippo/Qtasd/Tools/qdb/bin/qdb, server, &, UNDOEXECUTE, {0,1}, /home/sapiippo/Qtasd/Tools/qdb/bin/qdb, stop-server
      [154884] Done
      [154885] Operation \"Execute\" with arguments \"@TargetDir@/Tools/qdb/bin/qdb; server; &; UNDOEXECUTE; {0,1}; @TargetDir@/Tools/qdb/bin/qdb; stop-server\" failed: 
      [154885] installationErrorWithCancel : Installer Error : Error during installation process (embedded.b2qt.qdb):
       Retry|Ignore|Cancel 

      The actual insatller script is:

       Component.prototype.createOperations = function()
      {
          component.createOperations();    var extension = "";
          if (installer.value("os") == "win")
              extension = ".exe";    var qdb = "@TargetDir@" + "%TARGET_INSTALL_DIR%" + "bin/qdb" + extension;
          var settingsFile = installer.value("QtCreatorInstallerSettingsFile");    component.addOperation("Settings", "path="+settingsFile, "method=set", "key=Boot2Qt/qdbFilePath", "value=" + qdb);
          component.addOperation("Settings", "path="+settingsFile, "method=add_array_value", "key=Plugins/ForceEnabled", "value=Boot2QtQdb");
          component.addOperation("Settings", "path="+settingsFile, "method=add_array_value", "key=Plugins/ForceEnabled", "value=Boot2Qt");    component.addOperation("Execute", qdb, "server", "&", "UNDOEXECUTE", "{0,1}", qdb, "stop-server");
      }
      

       

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              installerteam Installer Team
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes