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

Got a problem you cannot solve? Try here.
Michael Gasser
Posts: 5
Joined: Thu Jun 28, 2012 6:26 am

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

Postby Michael Gasser » 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

SteveDude
Posts: 253
Joined: Wed Apr 11, 2007 6:07 pm

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

Postby SteveDude » Mon Aug 27, 2018 4:52 am

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.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 42 guests