How do I build a native setup that can be run by a standard (f.e. Windows 10) user without elevation.
Posted: Thu Mar 29, 2018 3:35 pm
How do I build a native setup that can be run by a standard (f.e. Windows 10) user without elevation.
What I tried:
Installaware X7 Developer:
"Application Information > UAC": Tested with "AsInvoker" and "HighestAvailable"
I installed the files into $MyLocalAppData$ ("Setup Architecture > Files > $MyLocalAppData$")
Deployment > Build Settings: Compressed single self installing exe
When I run the setup as standard user, the setup fails with this error message
"Cannot create temporary folder for extracting installation"
Using ProcMon shows that the setup tries to create
- a mia-temp folder under c:\windows > Access denied
- a mia-temp folder under c:\ProgamData > Access denied
Wouldn't it be better (in the "run as standard user case") to create the folder in a location that is accessible by a standard user?
By the way:
Is there an option to install "per-machine if user is administrator, per-user ohterwise"?
Regards
Michael
What I tried:
Installaware X7 Developer:
"Application Information > UAC": Tested with "AsInvoker" and "HighestAvailable"
I installed the files into $MyLocalAppData$ ("Setup Architecture > Files > $MyLocalAppData$")
Deployment > Build Settings: Compressed single self installing exe
When I run the setup as standard user, the setup fails with this error message
"Cannot create temporary folder for extracting installation"
Using ProcMon shows that the setup tries to create
- a mia-temp folder under c:\windows > Access denied
- a mia-temp folder under c:\ProgamData > Access denied
Wouldn't it be better (in the "run as standard user case") to create the folder in a location that is accessible by a standard user?
By the way:
Is there an option to install "per-machine if user is administrator, per-user ohterwise"?
Regards
Michael