2008/10/24 Andy2k8 <[EMAIL PROTECTED]>:
>
> Hello there
>
> I have a strange problem with the type 19 CA that is used to exit the
> installer if repair is chosen.
> I run the following CA:
> <CustomAction Id="ExitOnRepair" Error="This installer does not support
> repair."/>
> <InstallExecutesequence>
> <Custom Action="ExitOnRepair" After="LaunchConditions">Installed AND NOT
> (REMOVE="ALL")</Custom>
> </InstallExecutesequence>
> It works fine when i try to repair the installation.
> But when i uninstall by double clicking the MSI and clicking remove button,i
> see that this CA is getting executed and the installer exits..how can this
> happen? i couldn't find anything from the debug logs
>
> any help???
>
Allow me to laugh a bit...
I spoke about the REINSTALL property not the REMOVE one.
According to your Wix snippet, you're also doing wrong with your
CustomAction: you only insert it in the InstallExecuteSequence.
I told you to use a Condition in the LaunchConditions standard actions.
You do like bazooka!

-------------------------------------------------------------------------
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