This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Launch program when setup exits as normal user (not elevated)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 06, 2013
10:49 AM
Launch program when setup exits as normal user (not elevated)
I'm creating a basic msi project with setup.exe that requires UAC elevation.
In the SetupCompleteSuccess dialog, the user has the option to let the wizard launch the installed program after clicking on Finish.
The program is launched with the same credentials and permissions of the user running the installer, which is always elevated and might even be a different user than the one currently logged in windows.
Is it possible to launch the installed program with the credentials of the user that started the setup initially (the user found before the UAC elavation)?
thanks
In the SetupCompleteSuccess dialog, the user has the option to let the wizard launch the installed program after clicking on Finish.
The program is launched with the same credentials and permissions of the user running the installer, which is always elevated and might even be a different user than the one currently logged in windows.
Is it possible to launch the installed program with the credentials of the user that started the setup initially (the user found before the UAC elavation)?
thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 06, 2013
04:06 PM
You will probably have to create a DLL custom action that calls CreateProcessAsUser.