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

Self created offline installer crashes if non-existent package selected with control script

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: General

      Description

      Create offline installer with 5.15.2 content:

      qt-unified-windows-x86-4.1.0-online.exe --root C:\Users\joaijala\RTA\offline_qt5 --offline-installer-name qt5.15.2-enterprise-win-x64.exe create-offline qt.qt5.5152.win64_msvc2019_64 --accept-licenses --auto-answer telemetry-question=No --confirm-command --staging-commercial

      Create qs file which has package name that is not included in offline installer:

      Controller.prototype.ComponentSelectionPageCallback = function()
      {
       var page = gui.pageWidgetByObjectName("ComponentSelectionPage");
      page.deselectAll();
       // add qt components
      page.selectComponent("qt.qt5.5152.win64_msvc2019_64");
      page.selectComponent("preview.qt.tools.qtcreator");
      

      Installer crashes on component selection page.
      Expecting installer to ignore invalid package name as online installer does, not crashing.

        Attachments

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

          Activity

            People

            Assignee:
            arttu.tarkiainen Arttu Tarkiainen
            Reporter:
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes