If you're saying that two MSI products are incompatible and you want to make sure that a product cannot be installed if another one is already installed then some choices are:
You use Upgrade and UpgradeVersion elements with OnlyDetect="yes" that target the specific incompatible installed product. The upgrade logic will look for that product and set the property associated with the upgrade. This subject to the rule that both products are per machine (or both per user). If that property is set you could trigger a dialog box. If there is a file with a specific version associated with the incompatible product you could do a File Search for that specific version. Again, a property will be set if the file is found. These, and your request, have the problem that in a silent install there is no UI so do you want to go ahead with the install or not? If you choose not to do the install at all if invoked silently then it's better to do that with a launch condition, and WiX generates MSI files with FindRelatedProducts before launch condition checks, so you could use the upgrade property in a launch condition. --------------- Phil Wilson On Tue, Dec 2, 2014 at 7:08 AM, Rob Mensching <r...@firegiant.com> wrote: > Occam's Razor: busy > > _____________________________________________________________ > Short replies here. Complete answers over there: http://www.firegiant.com/ > > > -----Original Message----- > From: Valery Portnyagin [mailto:valery.portnya...@oracle.com] > Sent: Tuesday, December 2, 2014 5:54 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] How to prevent upgrade and downgrade if system > depends from particular installed product version > > > So, nobody knows how to do it? > Where are real Wix/MSI gurus? > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users