Hi,
I'm building an installer which has a check box on the user interface. Based on whether this is checked or not, I want to set an appSetting in my windows service app.config file to True or False. This is working for the True case, but whenever I un-check the box, the app setting is left with an empty value, instead of having the value "False". I can see that the control has a CheckBoxVale property which controls the True value, but can't see the opposite setting to control the False value. Can somebody help with this? In Product.wxs: <Property Id="INCOMINGEMAILENABLED" Value="False" /> In CustomSettingsDlg.wxs: <Control Id="IncomingEmailEnabled" Type="CheckBox" X="180" Y="60" Width="100" Height="18" Property="INCOMINGEMAILENABLED" CheckBoxValue="True" Indirect="no" /> In Product.wxs: <util:XmlFile Id="AppConfigSetIncomingEmailEnabled" Action="setValue" Permanent="yes" File="[#IntegrationService.exe.config]" ElementPath="/configuration/appSettings/add[\[]@key='IncomingEmailEnabled'[\ ]]" Name="value" Value="[INCOMINGEMAILENABLED]" /> Regards Ryan Dansie ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users