Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
3.0.6
-
None
Description
This issue can be demonstrated using the tutorial example:
- Create the installer binary for the tutorial in examples/tutorial.
- Run the installer
- When asked to choose the install location, select a location which requires administrator privileges to write to. I chose "C:\Program Files\InstallerTest" in my test
- Accept the default values for everything else, click through to install.
- When it starts the install, it will request administrator privileges. Click yes to allow it.
- It will install the data, but will fail to install the maintenancetool. See attached screenshot and installation log for error message.
I suspect that it's dropping its elevated privileges too early. If the entire program is run as administrator from the start (by right clicking and selecting "Run as administrator"), then it can successfully write everything to a privileged location.