Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-31788

Binary installer fails with "Couldn't get authorization." even if user accepts elevated dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.1.0 RC1
    • Packaging & Installer
    • None
    • Windows 7 64 bit

    Description

      Sometimes the installer brings up the "Couldn't get authorization" dialog even if the user has accepted the dialog asking for elevated rights.

      Dialog:

      ---------------------------
      Couldn't get authorization.
      ---------------------------
      Couldn't get authorization that is needed for continuing the installation.
      Either abort the installation or use the fallback solution by running
      C:/Users/kkoehne/Downloads/qt-windows-opensource-5.1.0-rc1-mingw48_opengl-x86-offline-2013-06-16-59.exe --startserver 30483 {15f553f9-ff0d-4e60-b4c4-be92b6ff24ec}
      as root and then clicking ok.
      ---------------------------
      OK   Abort   
      ---------------------------
      

      Installer log:

      Operations start: 141944
      Operations end: 16
      Resource count: 1
      Data block size: 684680365
      Magic marker: 302133811
      Magic cookie: 14007050384008702200
      Index size: 48
      End of data: 697741485
      Number of operations: 0
      Number of components loaded: 22
      qt loaded...
       -  2 archives:  1.0.0ThirdPartySoftware_Listing.7z - 14.46 KiB; 1.0.0ThirdPartySoftware_Listing.7z.sha1 - 40.00 bytes
      qt.tools.win32_mingw48 loaded...
       -  2 archives:  4.8.0-1-1x32-4.8.0-release-posix-dwarf-rev2.7z - 38.26 MiB; 4.8.0-1-1x32-4.8.0-release-posix-dwarf-rev2.7z.sha1 - 40.00 bytes
      qt.tools.vcredist loaded...
       -  2 archives:  2011-03-03vcredist_sp1_x86.7z - 4.80 MiB; 2011-03-03vcredist_sp1_x86.7z.sha1 - 40.00 bytes
      qt.510.win32_mingw48.essentials loaded...
       -  6 archives:  5.1.0icu_51_1_mingw_builds_4_8_0_posix_dwarf_32.7z - 6.26 MiB; 5.1.0icu_51_1_mingw_builds_4_8_0_posix_dwarf_32.7z.sha1 - 40.00 bytes; 5.1.0mingw48_essentials.7z - 365.41 MiB; 5.1.0mingw48_essentials.7z.sha1 - 40.
      00 bytes; 5.1.0x32-4.8.0-release-posix-dwarf-rev2-runtime.7z - 353.12 KiB; 5.1.0x32-4.8.0-release-posix-dwarf-rev2-runtime.7z.sha1 - 40.00 bytes
      qt.510.win32_mingw48.addons loaded...
       -  2 archives:  5.1.0mingw48_addons.7z - 11.06 MiB; 5.1.0mingw48_addons.7z.sha1 - 40.00 bytes
      qt.510.src loaded...
      qt.510.src.addons.qtserialport loaded...
       -  2 archives:  5.1.0qtserialport-src.7z - 176.51 KiB; 5.1.0qtserialport-src.7z.sha1 - 40.00 bytes
      qt.510.win32_mingw48 loaded...
      qt.tools.qtcreator loaded...
       -  4 archives:  2.7.0D3DCompiler_43-x86.7z - 688.04 KiB; 2.7.0D3DCompiler_43-x86.7z.sha1 - 40.00 bytes; 2.7.0qt-creator-opensource-vs2010-32.7z - 53.56 MiB; 2.7.0qt-creator-opensource-vs2010-32.7z.sha1 - 40.00 bytes
      qt.510 loaded...
      qt.tools loaded...
      qt.510.src.essentials loaded...
       -  24 archives:  5.1.0qtbase-src.7z - 44.75 MiB; 5.1.0qtbase-src.7z.sha1 - 40.00 bytes; 5.1.0qtdeclarative-src.7z - 15.83 MiB; 5.1.0qtdeclarative-src.7z.sha1 - 40.00 bytes; 5.1.0qtdoc-src.7z - 16.00 MiB; 5.1.0qtdoc-src.7z.sha1 -
       40.00 bytes; 5.1.0qtjsbackend-src.7z - 8.03 MiB; 5.1.0qtjsbackend-src.7z.sha1 - 40.00 bytes; 5.1.0qtmultimedia-src.7z - 4.01 MiB; 5.1.0qtmultimedia-src.7z.sha1 - 40.00 bytes; 5.1.0qtquick1-src.7z - 15.23 MiB; 5.1.0qtquick1-src.7
      z.sha1 - 40.00 bytes; 5.1.0qtquickcontrols-src.7z - 534.67 KiB; 5.1.0qtquickcontrols-src.7z.sha1 - 40.00 bytes; 5.1.0qtscript-src.7z - 2.53 MiB; 5.1.0qtscript-src.7z.sha1 - 40.00 bytes; 5.1.0qttools-src.7z - 8.85 MiB; 5.1.0qttool
      s-src.7z.sha1 - 40.00 bytes; 5.1.0qtwebkit-examples-src.7z - 3.24 MiB; 5.1.0qtwebkit-examples-src.7z.sha1 - 40.00 bytes; 5.1.0qtwebkit-src.7z - 32.38 MiB; 5.1.0qtwebkit-src.7z.sha1 - 40.00 bytes; 5.1.0qtxmlpatterns-src.7z - 1.32
      MiB; 5.1.0qtxmlpatterns-src.7z.sha1 - 40.00 bytes
      qt.510.patcher loaded...
      qt.510.src.addons.qtsvg loaded...
       -  2 archives:  5.1.0qtsvg-src.7z - 1.67 MiB; 5.1.0qtsvg-src.7z.sha1 - 40.00 bytes
      qt.readme loaded...
       -  4 archives:  1.0.0qt-project-url.7z - 230.00 bytes; 1.0.0qt-project-url.7z.sha1 - 40.00 bytes; 1.0.0readme.7z - 2.22 KiB; 1.0.0readme.7z.sha1 - 40.00 bytes
      qt.510.src.addons.qtx11extras loaded...
       -  2 archives:  5.1.0qtx11extras-src.7z - 29.01 KiB; 5.1.0qtx11extras-src.7z.sha1 - 40.00 bytes
      qt.510.src.addons.qtgraphicaleffects loaded...
       -  2 archives:  5.1.0qtgraphicaleffects-src.7z - 13.65 MiB; 5.1.0qtgraphicaleffects-src.7z.sha1 - 40.00 bytes
      qt.510.src.addons.qttranslations loaded...
       -  2 archives:  5.1.0qttranslations-src.7z - 1016.07 KiB; 5.1.0qttranslations-src.7z.sha1 - 40.00 bytes
      qt.510.src.addons.qtimageformats loaded...
       -  2 archives:  5.1.0qtimageformats-src.7z - 1004.81 KiB; 5.1.0qtimageformats-src.7z.sha1 - 40.00 bytes
      qt.510.src.addons.qtsensors loaded...
       -  2 archives:  5.1.0qtsensors-src.7z - 1.98 MiB; 5.1.0qtsensors-src.7z.sha1 - 40.00 bytes
      qt.510.src.addons.qtactiveqt loaded...
       -  2 archives:  5.1.0qtactiveqt-src.7z - 258.26 KiB; 5.1.0qtactiveqt-src.7z.sha1 - 40.00 bytes
      qt.510.src.addons loaded...
      Resource tree after loading the in-binary resource:
          :/files-to-patch-linux
          :/files-to-patch-linux-emb-arm
          :/files-to-patch-linux-qt5
          :/files-to-patch-macx
          :/files-to-patch-macx-qt5
          :/files-to-patch-windows
          :/files-to-patch-windows-emb-arm
          :/files-to-patch-windows-qt5
          :/installer.icns
          :/installer.ico
          :/installer.png
          :/metadata
          :/translations
          :/trolltech
          :/metadata/config
          :/metadata/installer-config
          :/metadata/qt
          :/metadata/qt.510.patcher
          :/metadata/qt.510.src.addons.qtactiveqt
          :/metadata/qt.510.src.addons.qtgraphicaleffects
          :/metadata/qt.510.src.addons.qtimageformats
          :/metadata/qt.510.src.addons.qtsensors
          :/metadata/qt.510.src.addons.qtserialport
          :/metadata/qt.510.src.addons.qtsvg
          :/metadata/qt.510.src.addons.qttranslations
          :/metadata/qt.510.src.addons.qtx11extras
          :/metadata/qt.510.src.essentials
          :/metadata/qt.510.win32_mingw48.addons
          :/metadata/qt.510.win32_mingw48.essentials
          :/metadata/qt.readme
          :/metadata/qt.tools.qtcreator
          :/metadata/qt.tools.vcredist
          :/metadata/qt.tools.win32_mingw48
          :/metadata/rccprojectUh5460.qrc
          :/metadata/Updates.xml
      StartMenuPath:   "C:\Users\kkoehne\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"
      DesktopDir:      "C:\Users\kkoehne\Desktop"
      Unable to open translated license file. Using untranslated fallback.
      Unable to open translated license file. Using untranslated fallback.
      Unable to open translated license file. Using untranslated fallback.
      Unable to open translated license file. Using untranslated fallback.
      Url is: "://metadata/"
      Warning: Designer: Attempt to add child that is not of class QWizardPage to QWizard.
      Warning: Designer: Attempt to add child that is not of class QWizardPage to QWizard.
      Warning: Designer: Attempt to add child that is not of class QWizardPage to QWizard.
      qt.510.win32_mingw48.addons added
      qt.510.win32_mingw48.essentials added
      qt.510.win32_mingw48.addons added
      qt.510.win32_mingw48.essentials added
      qt.510.win32_mingw48.addons added
      qt.510.win32_mingw48.essentials added
      qt.510.win32_mingw48.addons added
      qt.510.win32_mingw48.essentials added
      components list is empty in bool __thiscall QInstaller::PackageManagerCorePrivate::appendComponentsToUninstall(const class QList<class QInstaller::Component *> &)
      qt.510.win32_mingw48.addons added
      qt.510.win32_mingw48.essentials added
      Tmp and install folder are on the same volume. Volume mount point: "C:\" Free space available: "43.65 GiB"
      Installation space required: "0.00 bytes" Temporary space required: "0.00 bytes" Local repository size: "0.00 bytes"
      backup operation: Mkdir
              - arguments: C:/Qt/Qt5.1.0-opensource-mingw-59
      Done
      perform operation: Mkdir
              - arguments: C:/Qt/Qt5.1.0-opensource-mingw-59
      Done
      Install size: 11 components
      Starting elevated process C:\Users\kkoehne\Downloads\qt-windows-opensource-5.1.0-rc1-mingw48_opengl-x86-offline-2013-06-16-59.exe with arguments:  --startserver 30483 {15f553f9-ff0d-4e60-b4c4-be92b6ff24ec}.
      Finished starting elevated process.
      created critical message box Authorization Error: 'Couldn't get authorization.', Couldn't get authorization that is needed for continuing the installation.
      Either abort the installation or use the fallback solution by running
      C:/Users/kkoehne/Downloads/qt-windows-opensource-5.1.0-rc1-mingw48_opengl-x86-offline-2013-06-16-59.exe --startserver 30483 {15f553f9-ff0d-4e60-b4c4-be92b6ff24ec}
      as root and then clicking ok.
      

      Attachments

        For Gerrit Dashboard: QTBUG-31788
        # Subject Branch Project Status CR V

        Activity

          People

            kkohne Kai Köhne
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes