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

Error white updating Maintenance Tool: Can't unlink already-existing object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 4.5.1
    • Tools
    • None
    • macOS

    Description

      I followed this link: Promoting Updates for the Maintenance Tool
      to update the maintenance tool as follows:

      • Run command to create maintenance tool
      binarycreator -c config/config.xml --mt
      • Copy the newly created bundle to packages/com.emotiv.maintenance/data
      cp -rf "MyCompany Maintenance Tool.app" packages/com.emotiv.maintenance/data
      • Here is my install script file:
      function Component()
      {
         installer.installationStarted.connect(this, Component.prototype.onInstallationStarted);
      }
      
      Component.prototype.onInstallationStarted = function()
      {
         if (component.updateRequested() || component.installationRequested())
         {
            if (installer.value("os") == "mac")
            {
               component.installerbaseBinaryPath = installer.value("TargetDir") + "/MyCompany\ Maintenance\ Tool.app";
            }
            installer.setInstallerBaseBinary(component.installerbaseBinaryPath);
      
            let updateResourceFilePath = installer.value("TargetDir") + "/update.rcc";
            installer.setValue("DefaultResourceReplacement", updateResourceFilePath);
         }
      }
      
      • And when updating the maintenance tool to a new version, I see the error: Can't unlink already-existing object (image attached)

       

       

      Attachments

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

        Activity

          People

            installerteam Installer Team
            hsondd Son Doan
            Katja Marttila Katja Marttila
            Katja Marttila Katja Marttila
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes