I have a setup program that I want to install to a local folder. I also do not need it to write any settings to the registry. On Vista, and maybe on Windows 7, executables named similar to setup or install require admin privileges, I would like to be able to run it without admin privileges, to make sure that it does not write to the registry. Is there a way to force this type of mode, sort of in a sandbox?
+2
A:
If you are producing the installer and using MSI, set bit 3 of PID_WORDCOUNT in the MSI package (per this question).
The answer to this question is relevant if you are producing the installer but aren't using MSI - see create a manifest that prevents elevation.
sean e
2010-02-11 16:43:14
Adding a manifest to a file with a requestedExecutionLevel inhibits the auto elevation logic Vista and Windows 7 apply to applications they "guess" are legacy setup programs.
Chris Becke
2010-02-11 18:51:40