I am facing some issues when i make a call to systray.exe elevated automatically as follows: <!--CA to launch the systray.exe --> <CustomAction Id="LaunchSystrayExe" Directory="INSTALLDIR" ExeCommand="[INSTALLDIR]Display.exe" Return="check" Execute="deferred" Impersonate="no" /> <!--CA to kill the systray softly during uninstall--> <CustomAction Id="TerminateSystray.SetProperty" Return="check" Property="CustomActionData" Value="systray.exe" /> <CustomAction Id="TerminateSystray" BinaryKey="KillMeSoftlyDll" DllEntry="KillMeSoftly"/>
<InstallExecuteSequence> <CustomAction Id="TerminateSystray.SetProperty" Return="check" Property="CustomActionData" Value="apcsystray.exe" /> <CustomAction Id="TerminateSystray" BinaryKey="KillMeSoftlyDll" DllEntry="KillMeSoftly"/> <Custom Action="TerminateSystray.SetProperty" Before="InstallValidate">1</Custom> <Custom Action="TerminateSystray" Before="InstallValidate">1</Custom> <Custom Action='LaunchSystrayExe' Before='InstallFinalize'>NOT Installed</Custom> </InstallExecuteSequence> I get the exe launched successfully with UAC on[By changing the custom action to "deferred" and "no-impersonate"].But when i try to kill the process during uninstall using "KillMeSoftly" dll ,[which sends a WM_CLOSE message to the systray.exe process] it doesn't seems to kill the process as it require the process to be launched as non-elevated user. There was no luck even when i tried runnig the "TerminateSystray" CA as elevated. Any idea how to make this work with UAC enabled? -- View this message in context: http://www.nabble.com/Elevation-problem-on-Vista-tp16700151p16700151.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users