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

Installer hangs when running a elevated operation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 2.0.5
    • 2.0.5, 3.1.0
    • General
    • None
    • Windows 7
      MSVC 2015
      Qt 5.6.1 static build
      Qt 5.6.2 static build

      When a component has the flag RequiredAdminRight set to true and executes elevated operations (addElevatedOperation()) the installer hangs.
      This only occurs when build with Qt 5.6.1 or Qt 5.6.2. When the framework is build with Qt 5.6.0 the installer runs as expected.
      I haven't tried >=Qt 5.7.x
      The issue also occurs when build against Qt shared libraries.
      A main difference that can be observed between an installer built against 5.6.0 versus an installer built against 5.6.2 is that after the UAC elevation dialogue has been closed, the 5.6.0 installer displays the message "Preparing the installation..." for quite a while (~3s). This is not the case with the 5.6.2 installer. The message is gone directly after the UAC elevation dialogue has been closed.

      Attached is a sample installer which triggers the issue.

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

            kamartti Katja Marttila
            sigma Christoph Vogtländer
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes