Hi all! I want to add a checkbox to conditionally install a desktop shortcut. I found examples of this on the web that I tried but I was not able to get any of the to work properly. The problem seems to be that the UI fails to update the property I use to control the installation of the shortcut. I am new to WiX so there is probably something very obvious that I have missed.
I pretty much follow the DizzyMonkey example: http://www.dizzymonkeydesign.com/blog/misc/adding-and-customizing-dlgs-i n-wix-3/ I have placed the checkbox in the InstallDirDlg (i.e. before the installation starts): <Control Id="DesktopShortcutCheckBox" Type="CheckBox" X="20" Y="160" Width="290" Height="17" Property="INSTALLDESKTOPSHORTCUT" CheckBoxValue="1" Text="Create desktop shortcut"/> But no matter if I check or uncheck the checkbox, the INSTALLDESKTOPSHORTCUT property does not change from its initial value. If I set the property: <Property Id="INSTALLDESKTOPSHORTCUT" Value="1"/> the shortcut always installs. If I omit the statement the shortcut never installs. What I'm I doing wrong? I can not figure it out. I am using Windows Installer XML Toolset, Version 3.0.5217.0 BR, Fredrik ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users