Hello, MSI can only set the property to NULL (aka Not set) when a checkbox is unselected. In your case, use another temporary property for the checkbox and add two actions to the Next button on the dialog you are configuring: One to set the property to "1" if the temporary property is set, and another action to set the property to "2" if the temporary property is Null (Condition "NOT TempProperty")
Best regards, Sebastian Brand sebast...@instyler.com Instyler Software - Software development, deployment and productivity Geisenfelder Str. 53a - 85053 Ingolstadt, Germany - EU VAT ID: DE219712370 Phone: +49 841-4544567 - Fax & voicemail: +49 321-21220152 www.instyler.com > -----Original Message----- > From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] > Sent: Thursday, February 04, 2010 06:58 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] Set a property value based on checkbox state > > I must be missing something obvious but I do not seem to find an answer to > this simple question. I need to set a property value to "1" if checkbox is > checked, and to value "2" if checkbox is not checked. > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users