Never mind - I just added the other product's upgrade code into Application1 
and it was removed during the upgrade.

-----Original Message-----
From: Tom Crozier [mailto:tcroz...@rackwise.com] 
Sent: Monday, November 16, 2009 11:02 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Uninstalling a second application during the major upgrade 
of the first application.

I need to uninstall an application (that was installed via its own installer 
package) if it is detected during the major upgrade of another application.

E.g.
Application1 Ver 1.1 is installed on a machine and is about to have a major 
upgrade performed on it to bring it to Ver 2.0.
Application 2 may or may not be installed on this machine and may be at any 
version but I need to uninstall it if detected.
I am not sure of the Package or Product code of Application 2 but I want to 
uninstall it regardless of the version.
I control both Application 1 and 2 installers so I could write a value to the 
registry if that would help in uninstalling but I wasn't sure if how to chain 
the uninstall of the product since I don't believe I can kick off an uninstall 
in a CA while another installer is running. The uninstall may happen before or 
after the major upgrade.

Your help is appreciated.

Tom

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.425 / Virus Database: 270.14.63/2500 - Release Date: 11/16/09 
07:43:00

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to