Set Transitive="yes" on those Components -> http://wix.sourceforge.net/manual-wix3/wix_xsd_component.htm
Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Mark Simonetti [mailto:ma...@opalsoftware.co.uk] Sent: 23 September 2010 12:01 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Component installation status not affected by condition? Hi, I have a custom dialog box that contains checkboxes to allow the user to select what shortcuts they want installing. I then have a component for each shortcut with a condition inside it. <DirectoryRef Id="DesktopFolder"> <Component Id="MyApp.DesktopShortcut.Component" Guid="{removed}"> <Condition>INSTALLDESKTOPSHORTCUT</Condition> <Shortcut Id="MyApp.DesktopShortcut" Name="MyApp" Description="My app." Target="[APPLICATIONFOLDER]myapp.exe" WorkingDirectory="APPLICATIONFOLDER" /> <RegistryValue Root="HKCU" Key="Software\MyApp\MyApp" Name="desktopshortcut" Type="integer" Value="1" KeyPath="yes" /> </Component> </DirectoryRef> The problem is if I run the setup again and change these conditions (via the checkboxes) the component installation status does not change. Is their a way I can make this work or will I have to have them as "features" instead? Thanks, Mark. ------------------------------------------------------------------------ ------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users