http://msdn.microsoft.com/en-us/library/aa370912.aspx

Try making the property public so it can be passed from the UI to execute
sequence.


Routhier Louis wrote:
> 
> Hi,
> I made a custom action that needs to run only if a checkbox was checked
> during UI or not at all if in quiet or minimal mode. To do this, I created
> my property, linked it to my checkbox and then configured my condition but
> it seems that no matter what I do, the action is always ran.
> 
> Here are the elements:
> 
> <Property Id="RemoveCounters" Value="0" />
> 
> <UI>
>   <Dialog Id="OptionalUninstallDlg" Width="370" Height="270"
> Title="[ProductName] Setup">
>     <Control Default="yes" Type="PushButton" Id="Uninstall" Width="83"
> Height="17" X="274" Y="240" Text="Uninstall">
>       <Publish Event="EndDialog" Value="Return" />
>     </Control>
>     <Control Type="CheckBox" Id="RemoveCounters" Property="RemoveCounters"
> CheckBoxValue="1" Width="118" Height="17" X="101" Y="116" Text="Counters"
> />
>   </Dialog>
> </UI>
> 
> <InstallExecuteSequence>
>   <Custom After="PublishProduct" Action="UninstallCounters">Installed AND
> RemoveCounters &lt;> 1</Custom>
> </InstallExecuteSequence>
> 
> What Am I doing wrong?
> 
> 
> Les renseignements contenus dans ce message peuvent être confidentiels.
> 
> Si vous n'êtes pas le destinataire visé ou une personne autorisée à lui
> remettre ce courriel, vous êtes par la présente avisé qu'il est
> strictement interdit d'utiliser, de copier ou de distribuer ce courriel,
> de dévoiler la teneur de ce message ou de prendre quelque mesure fondée
> sur l'information contenue. Vous êtes donc prié d'aviser immédiatement
> l'expéditeur de cette erreur et de détruire ce message sans garder de
> copie.
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Conditions-with-util%3AXMLConfig-tp2952542p2975396.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to