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
How do I build a native setup that can be run by a standard (f.e. Windows 10) user without elevation.
-
- Posts: 5
- Joined: Thu Jun 28, 2012 6:26 am
Re: How do I build a native setup that can be run by a standard (f.e. Windows 10) user without elevation.
You might look up the OVERRIDECACHE variable in the help file which allows you to specify a cache location of your choosing. If it returns empty the directory cannot be written too.
Who is online
Users browsing this forum: Baidu [Spider] and 36 guests