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

Installer hangs when running a elevated operation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes