Mark Tempel wrote:
> We would like to find a way to make Product B depend on Product A when
> it is installed so that when a user tries to uninstall Product A he will
> get a warning 26002 (i.e. "The following products: Product B depend on
> Product A").
>   

If you own both products and they must always be installed together, you 
can add a detection (e.g., ComponentSearch) for Product A and use that 
property in a launch condition or in InstallUISequence to schedule a 
dialog. We do that in WiX to warn when the Visual Studio prerequisites 
aren't met; see src\Setup\VStudio.wxs.

-- 
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to