Another alternative is, if the product you are detecting is an MSI, you can use Upgrade & UpgradeVersion elements and the OnlyDetect attribute to set a property if any of those MSIs are installed. The upgrade table can detect products other than the one being installed.
-----Original Message----- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: 24 September 2010 13:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] handling the existance of multiple versions in aninstallation Hi: I am writing an installation that requires a product to be installed before installing my product. There can be multiple versions of the product installed on a system. There are multiple paths involved in detecting the product. How would people handle this for best practices given the following: The registry contains the path to the main executable and all other required paths for each version. Would people have version specific properties pointing to the individual paths, or is it better to write a table and have one property to tell me whether the version of the product is installed. Any help appreciated. Sean. ------------------------------------------------------------------------ ------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users </pre> <BR style="font-size:4px;"> <a href = "http://www.sdl.com"><img src="http://www.sdl.com/images/email logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a> <BR> <font face="arial" size="2"><a href = "http://www.sdl.com" style="color:005740; font-weight: bold">www.sdl.com</a></font> <BR> <BR> <font face="arial" size="1" color="#736F6E"> <b>SDL PLC confidential, all rights reserved.</b> If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.<BR> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.<BR> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </font> ------------------------------------------------------------------------------ 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