cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hellcla
Level 2

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
Labels (1)
0 Kudos
(1) Reply
TsungH
Level 12

You will probably have to create a DLL custom action that calls CreateProcessAsUser.
0 Kudos