I want to close my application when uninstall. I use CloseApplication like
following:

<CustomAction Id="SetInstallProperty" Execute='immediate'
Property="Operation" Value="Installing" />

<Property Id="Operation">Uninstalling</Property>

<Product>    <CloseApplication Id="CloseAppName"
     xmlns="http://schemas.microsoft.com/wix/UtilExtension";
     Description="Need to close AppName.exe"
     Target="AppName.exe" Sequence="10" ><![CDATA[Operation =
"Uninstalling"]]></CloseApplication>
</Product>

The Property Operation is set to "Uninstalling" by default. When install, it
will be set to "Installing" by CA.
But actually, at the end of install, CloseApplication also pops up a dialog
to make MyApp closing which is not expected.
And when uninstall, CloseApplication doesn't work!

I try to set the CloseApplication's condition to <![CDATA[Operation <>
"Uninstalling"]]>  for testing. But the result does not change.



-- 
JJ A
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to