How to run an application with administrator privileges after installation is completed using MSI based on WiX?
I can run the application just fine on Windows & XP, but with Windows 7 this is a problem.
The application has a manifest built into it, which says that it should run as an administrator, and I changed the impersonate attribute in Custom Action to "no". I canβt change the execute attribute for the delayed one, since this only works before the InstallFinalize action, and I need it after the user clicks the Finish button in MSI.
This is my usual action:
<CustomAction Id="LaunchApp" FileKey="App" ExeCommand="[Command Line Args]" Execute="immediate" Impersonate="no" Return="asyncNoWait" />
source share