I am wondering if there is a way set a product dependency in the Windows 
product install information somewhere. My goal here is that if the user tries 
to uninstall product A (via our installer or via Add/Remove Programs) before 
uninstalling product B (which has a dependency on A causing B to break if they 
inadvertently uninstall A) I would like that uninstall blocked. I realize I 
could modify the installer for product A to look specifically for product B and 
block the uninstall if found. That approach worries me because what happens 
when we create and add product C to the mix with the same dependency after 
product A's release. We're back to the same problem that product C will be 
broken because the user (not knowing better) uninstalled product A.

In other words I'd like a method in which at the time product B, C, etc. is 
installed to have a dependency added/recorded somewhere somehow so that when 
the user tries to uninstall product A, they are blocked and told something like 
"Product A cannot be uninstalled because it is used by products B, C, etc.".

Does such a mechanism exist natively in Windows Installer? I've been looking 
and haven't found it so far.

Thanks,
Cody

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to