Most people use a LaunchCondition (http://wix.sourceforge.net/manual-wix3/wix_xsd_condition.htm) checking a Property (http://wix.sourceforge.net/manual-wix3/wix_xsd_property.htm) filled by a RegistrySearch -> http://wix.sourceforge.net/manual-wix3/wix_xsd_registrysearch.htm If you can't use RegistrySearch you could try DirectorySearch (http://wix.sourceforge.net/manual-wix3/wix_xsd_directorysearch.htm) and/or FileSearch (http://wix.sourceforge.net/manual-wix3/wix_xsd_filesearch.htm) but it's generally easier to search for a Registry Key or Value which the other package puts on the target machine.
Also doing it "programmatically from within WIX" would be a little difficult. WiX is a collection of tools for building Windows Installer packages. Windows Installer does the checking, WiX is simply used to tell it how & what to check for. 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: jamie benson [mailto:jamieben...@gmail.com] Sent: 13 September 2010 11:15 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Checking whether a custom application is installed Hi all, Is there a way to check whether a custom application is installed on the machine (either in registry or by Add/Remove Programs) programmatically from within WIX? Regards, Jamie ------------------------------------------------------------------------ ------ 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