Description
As part of automated testing, I'm downloading the installer, and install it on a Windows VM via
[0] Arguments: ./qt-unified-windows-x86-online.exe, install, qt.tools.conan, --root, C:/Users/vagrant/QtPackage, --accept-licenses, --auto-answer, telemetry-question=No,AssociateCommonFiletypes=No,OverwriteTargetDirectory=Yes,installationErrorWithCancel=Ignore, --confirm-command
It later on bails out with
[115413] Saving uuid for: "volker.hilsheimer@qt.io" [115414] Updating resource file: C:/Users/vagrant/QtPackage/update.rcc [115414] backup operation: Mkdir [115414] - arguments: C:/Users/vagrant/QtPackage [115414] Done [115415] perform operation: Mkdir [115415] - arguments: C:/Users/vagrant/QtPackage [115415] Done [115415] Preparing the installation... [- 1%] [115415] Install size: 18 components [115423] installationError : Error : Cannot elevate access rights while running from command line. Please restart the application as administrator. [115423] ROLLING BACK operations= 1 [115423] undo operation: Mkdir [115423] - arguments: C:/Users/vagrant/QtPackage [115426] Done [115426] Warning: QFile::remove: Empty or null file name [115426] Installation aborted!
There's IMNSHO no reason why the installer should require administrative privileges. I'm installing it as user 'vagrant', into that users' home directory.
Running the installation from an administrator command line makes the installer search for the qtaccount.ini file in c:\windows\system32\config\systemprofile... which then fails as well.