If you require UAC elevation, then you need to ensure that it's a
deferred execution CA. Here's the example from the manual using
CAQuietExec :)
<CustomAction Id="QtExecDeferredExampleWithProperty_Cmd"
Property="QtExecDeferredExampleWithProperty"
Value=""[#MyExecutable.exe]"" Execute="immediate"/>
<CustomAction Id="QtExecDeferredExampleWithProperty"
BinaryKey="WixCA" DllEntry="CAQuietExec"
Execute="deferred" Return="check" Impersonate="no"/>
.
.
.
<InstallExecuteSequence>
<Custom Action="QtExecDeferredExampleWithProperty_Cmd"
After="CostFinalize"/>
<Custom Action="QtExecDeferredExampleWithProperty"
After="TheActionYouWantItAfter"/>
</InstallExecuteSequence>
On Mon, Mar 8, 2010 at 10:25 PM, Andy.Kruger <[email protected]> wrote:
>
>
> I want to launch an exe from the exit dialog when UAC is enabled on Windows
> Vista. I'm Ok getting a UAC prompt. Bout how do I trigger the launch??
> Adding a the following CA to the Finish button works fine on XP but fails on
> Vista with UAC enabled.
>
> <CustomAction Id="LaunchApp" Directory="INSTALLDIR"
> ExeCommand="[INSTALLDIR]app.exe" return="check"/>
>
> app.exe updates a registry value to 1 so it requires elevation.
>
> Please help.
>
>
>
> -----
> Andy
> MSI Developer
> Schneider Electric:working:
> --
> View this message in context:
> http://n2.nabble.com/Launch-an-exe-from-ExitDialog-using-Wix-2-0-tp4694591p4694591.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users