I'm still stuck with this one. There is something very odd going on in the log I guess it is possible that the log is inaccurate as I get the same result in both the logs but different behaviour from the checkbox on the last dialog.
<Control Id="LaunchCheckBox" Type="CheckBox" X="10" Y="243" Width="170" Height="17" Property="LAUNCHAPPONEXIT" Hidden="yes" CheckBoxValue="1" Text="Launch InfoNet Mobile Configuration Tool."> <Condition Action="show">NOT Installed AND (CONFIGREQUIRED=1)</Condition> </Control> gives me a checkbox when i wouldn't expect it, and doesn't give me one when I would expect it. The feature I wish to exclude is never installed: <Feature Id='feConfig' Title='Config tool x86' Display="hidden" Level='1'> <ComponentRef Id='cConfigT' /> <ComponentRef Id='cProgramMenuDirINMCleanup' /> <Condition Level="0">NOT CONFIGREQUIRED=1</Condition> </Feature> -----Original Message----- From: Simon Topley [mailto:simon.top...@mwhsoft.com] Sent: 19 January 2011 18:10 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Set property from feature sorry the first one of them uses the component: <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize">?cWIAServices>2 OR $cWIAServices>2</SetProperty> but i still get: MSI (s) (64:E8) [10:05:59:199]: PROPERTY CHANGE: Modifying CONFIGREQUIRED property. Its current value is '0'. Its new value: '1'. when the component is not being installed. Simon -----Original Message----- From: Simon Topley Sent: 19 January 2011 17:50 To: wix-users@lists.sourceforge.net Subject: Set property from feature Hello all, I have a simple problem with WIX 3.0 but I just can't solve it. I have a feature "feWIA" and I wish to set a property to "1" when it is selected to be installed. I've tried just about every combination I can think of but they always result in the property being set incorrectly when i do or don't select that feature to be installed: <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize">?feWIA>2 OR $feWIA>2</SetProperty> <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize"><![CDATA[&feWIA=3]]></SetProperty> <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize"><![CDATA[(!feWIA=2) AND (&feWIA=4)]]></SetProperty> <SetProperty Id="CONFIGREQUIRED" Value="1" After="CostFinalize"><![CDATA[NOT Installed AND &feWIA=3 Or &feWIA=4]]></SetProperty> any more offers ladies and gentlemen? Any help will be kindly received. Simon Disclaimer: This electronic communication and its attachments may contain confidential, proprietary and/or legally privileged information which are for the sole use of the intended recipient. If you are not the intended recipient, any use, distribution, or reproduction of this communication is strictly prohibited and may be unlawful; please contact the sender and delete this communication. MWH Soft does not warrant or make any representation regarding this transmission whatsoever nor does it warrant that it is free from viruses or defects, correct or reliable. MWH Soft is not liable for any loss or damage that occurs as a result of this communication entering your computer network. The views expressed in this message are not necessarily those of MWH Soft. This communication cannot form a binding agreement unless that is the express intent of the parties and they are authorized to make such an agreement. MWH Soft reserves all intellectual property rights contained in this transmission. MWH Soft reserves the right to monitor any electronic communication sent or received by its employees. MWH Soft Limited is registered in England with number 6975921. Its registered office is Terriers House, 201 Amersham Rd, High Wycombe, HP13 5AJ. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users