Ah I didn't realise that, shame really 'cos it would work really well. On uninstall "FindRelatedProducts" is run doesn't that populate the upgrade table?
Mandar, You could use a registry search for the product/upgrade code but it is not easy in my experience. Neil -----Original Message----- From: Blair [mailto:os...@live.com] Sent: 15 June 2010 00:34 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Detecting MSI dependencies Upgrade table is not checked during uninstall, so that won't work. You will need some other means of detecting the dependent installation(s). -----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Monday, June 14, 2010 1:42 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Detecting MSI dependencies I think you should be able to do this with the Upgrade element: <Upgrade Id="other apps upgrade code"> <UpgradeVersion Minimum="0.0.0" Maximum="max version" IncludeMinimum="no" OnlyDetect="yes" Property="OTHERAPPDETECTED" /> </Upgrade> You can then use the OTHERAPPDETECTED property in conditions to block the uninstall. Neil -----Original Message----- From: Mandar [mailto:amazi...@rediffmail.com] Sent: 14 June 2010 21:21 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Detecting MSI dependencies Hi there, Is there a way, during uninstall of an MSI, to detect presence of some other MSI and if so, stop/abort uninstallation informing users of presence of the dependant MSI ? In other words, given MSI's A and B, is there a way to express dependency between A and B so that A cannot be uninstalled if B is installed ? Have been reading and searching extensively to find solutions to this but haven't been able to figure a way out. Any help appreciated. Thanks, Mandar ------------------------------------------------------------------------ ---- -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ---- -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users