Hi John, My problem is that the check box is read only on the installer side. Meanwhile if I set my property via code it works fine. The problem is that after that I can't modify the state of the control during install.
Any clue? Thanks -----Original Message----- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Monday, December 08, 2014 17:47 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] CheckBox control state modified by user Check boxes are NOT set to "0" when unchecked. Effectively, the property is set to string.Empty which undefines it. The property will be set ONLY if the check box is "checked." To check for the property being unset, use NOT VS2012CHECKED. -- John Merryweather Cooper Senior Software Engineer | Enterprise Service Applications | Continuing Development Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 |jocoo...@jackhenry.com -----Original Message----- From: Majcica, Mario [mailto:mario.majc...@bakerhughes.com] Sent: Monday, December 8, 2014 10:34 AM To: General discussion about the WiX toolset. Subject: [WiX-users] CheckBox control state modified by user Dear group, Inside my custom dialog I do have a checkbox defined in the following way <Control Id="Vs2012" Type="CheckBox" X="45" Y="85" Width="150" Height="15" Property="VS2012CHECKED" Text="Visual Studio 2012"> </Control> And I defined a property <Property Id="VS2012CHECKED" /> After which I'm setting that property to 1 in case VS2012DEVENV is not 0 (VS 2012 installed) <SetProperty Id="VS2012CHECKED" After="AppSearch" Value="1"><![CDATA[VS2012DEVENV <> 0]]></SetProperty> Now once I set this code, I do see my check box being set or unset base on the presence of VS2012 on a machine. The problem is that I can't uncheck or check this checkbox anymore. It's some sort of read only. What I'm trying to achieve is the following. In case the VS2012 is installed the checkbox should be checked by default. In case I don't want my feature installed on VS2012 user should uncheck my Vs2012 check box. Forgive me a beginners question but I am googling and trying for the past 4 hours with no success. Any suggestion is welcome. Thanks Mario Majcica ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users