On 12/02/2014 10:15 PM, Phil Wilson wrote: > 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 > Hello Phil, Thank for the answer. but I say about other case. there is one package A (msi package) and there is package B (also msi package). they are combined inside one exe bundle C. User install product C. Next step, user gets a new version of package B (just download from vendor site, for example). And try to install it. But for some reasons package A depends from particular version of package B. So, it is pleased if user will see some message with warning like "other products are installed which depend on that product". and he may decide to do or not to do this upgrade.
And how i think, such logic can be realized via Requires/Provides Elements from Dependency Extension. But there is lack of information about this option/feature. Anyway, if there is another approach to achieve this i will appreciate for any clues or explanations. regards, Valery. ------------------------------------------------------------------------------ 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