So would the new syntax be this?

 

 

    <RemoveExistingProducts After="InstallFinalize”></RemoveExistingProducts>

 

 


From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 9:02 AM
To: Jeff MacDuff
Cc: Wilson, Phil; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

 

Jeff MacDuff wrote:

In my InstallExecuteSequence I have this reference:

 

    <RemoveExistingProducts After="InstallFinalize"><![CDATA[(MyUpgrade >< "C9BD4428-98AC-4AD0-9646-4E212B1BB770" AND (&DefaultFeature = 3))]]></RemoveExistingProducts>

As the Mythbusters say, "There's your problem right there."<g> The property MyUpgrade is set to the product code of the old product being upgraded. Likely, your German product has a different product code so RemoveExistingProducts is suppressed. I'd suggest getting rid of the product code in the condition -- just use a bare MyUpgrade and the feature-action-state check. Though you can even skip that -- RemoveExistingProducts is smart enough to do nothing if no products were found during FindRelatedProducts.



-- 
sig://boB
http://bobs.org




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to