Under windows .msi installer, if you specify a custom action to be run at an application's installation time, it will get run under the "SYSTEM" user. Can I trick it by passing a command line parameter to the custom action (.exe file) and make it run under the currently logged on user?
Is this what you are looking for?
Enter the password when prompted.
When you start a program with
In the shortcut target space: