Page 1 of 1

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
by Michael Gasser
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

Re: How do I build a native setup that can be run by a standard (f.e. Windows 10) user without elevation.

Posted: Mon Aug 27, 2018 4:52 am
by SteveDude
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.