WiX has nothing to do with uninstalling anything. The Windows Installer however uninstalls anything specified in the REMOVE property http://msdn.microsoft.com/en-us/library/aa371194.aspx As far as I know Component Conditions only affect Install not Uninstall http://msdn.microsoft.com/en-us/library/aa368007.aspx
FYI WiX & the Windows Installer are not the same thing & the terms are definitely not to be used interchangeably. 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: Rehan [mailto:rehan.sa...@gam.com] Sent: 22 May 2009 14:34 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How does Wix decide what to uninstall? How does Wix decide what to uninstall from the machine. If you have an arbitrary component like the one below and the 'UsersAge' property is entered by the user on install, what happens when it comes to uninstalling? Is the condition taken into account or does it simply look at the component Guid. <Component Id='ReadMe.txt.Component' Guid='1CC4B1C9-1117-4618-A947-939A17E3397A' KeyPath='yes'> <Condition>UsersAge < 40</Condition> <File Id='ReadMe.txt' Name='ReadMe.txt' Source='$(var.AssembliesPath)' Vital='yes'/> </Component> -- View this message in context: http://n2.nabble.com/How-does-Wix-decide-what-to-uninstall--tp2957421p29 57421.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users