What do you mean by "this way?" ;)
Here's a working fragment copied straight from our current release...
<Fragment>
<CustomAction Id="SetLaunchApplicationTarget"
Property="WixShellExecTarget" Value="[#$(var.launchapplication)]" />
<CustomAction Id="LaunchApplication" BinaryKey="WixCA"
DllEntry="WixShellExec" Impersonate="no" />
<UI Id="LaunchApplication">
<Publish Dialog="ExitDialog" Control="Finish"
Event="DoAction"
Value="SetLaunchApplicationTarget">
<![CDATA[NOT Installed]]>
</Publish>
<Publish Dialog="ExitDialog" Control="Finish"
Event="DoAction"
Value="LaunchApplication">
<![CDATA[NOT Installed]]>
</Publish>
</UI>
</Fragment>
On Fri, Mar 5, 2010 at 4:55 PM, Andy.Kruger <[email protected]> wrote:
>
> I'm trying to launch an exe this way on windows Vista with UAC enabled. But
> the exe doesn't seems to be launching. Mine is a c# exe and I'm using an
> admin manifest to tell that it requires elevation. Shouldn't it show the UAC
> dialog with Allow and Cancel options upon launch??
>
> -----
> Andy
> MSI Developer
> Schneider Electric:working:
> --
> View this message in context:
> http://n2.nabble.com/launch-on-exit-tp703850p4679255.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