How to launch a program as as a normal user from a UAC elevated installer

Posted by KZ on Stack Overflow See other posts from Stack Overflow or by KZ
Published on 2010-03-10T06:41:53Z Indexed on 2010/05/12 14:14 UTC
Read the original article Hit count: 209

Filed under:
|
|

I'm writing an NSIS installer and the setup program elevates "as administrator" as needed on Windows 7 / vista. I need to run the installed program at the end of the install and don't want to launch it with the same privileges as the installer.

The regular NSIS exec commands run the child process with the same permissions as the installer.

There is a UAC plugin for NSIS, but the documentation on it isn't great and it seems v. new; I'd prefer not to use that plugin.

Ideally, I'm looking for a small .exe I can include that'll launch the target program without UAC elevation. Does this exist?

Any other suggestions?

Thanks!

© Stack Overflow or respective owner

Related posts about uac

Related posts about nsis