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

Bug in docu example script

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 4.10
    • 4.8.1
    • Documentation
    • None
    • Windows
    • 8ba95c0c0 (dev)
    • Qt Installer Sprint 119

    Description

      In the example script about "Populating the Maintenance Tool Component"

      https://doc.qt.io/qtinstallerframework/ifw-updates.html#populating-the-maintenance-tool-component

      there is only for mac a check if version <4.8.0 when setting the path to the installerbase. Under Windows and Linux this check is missing. If version is >= 4.8.0 the installerbase is in the folder @TargetDir@/tmpMaintenanceToolApp/ and not in @TargetDir@.

              if (installer.value("os") == "win") {
       // check missing, If version is >= 4.8.0 wrong path
                  component.installerbaseBinaryPath = "@TargetDir@/installerbase.exe";
              } else if (installer.value("os") == "x11") {
       // check missing, If version is >= 4.8.0 wrong path
                  component.installerbaseBinaryPath = "@TargetDir@/installerbase";
              } else if (installer.value("os") == "mac") {
       // all good here
                  if (installer.versionMatches(component.ifwVersion, "<4.8.0"))
                      component.installerbaseBinaryPath = "@TargetDir@/MaintenanceTool.app";
                  else
                      component.installerbaseBinaryPath = "@TargetDir@/tmpMaintenanceToolApp/MaintenanceTool.app";
              }
      

       

      Attachments

        For Gerrit Dashboard: QTIFW-3715
        # Subject Branch Project Status CR V

        Activity

          People

            kamartti Katja Marttila
            christoph_schaefer Christoph Schaefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes