Why do 4.0 and 5.0 use different UpgradeCodes? Generally your entire
product-series should have the same UpgradeCode. It makes things like
downgrade detection easier, and reduces the amount of stuff you have to keep
track of over time.

You can place a condition on the RemoveExistingProducts action which will
either allow or block the action in its entirety.

<InstallExecuteSequence><RemoveExistingProducts
...>condition</RemoveExistingProducts></InstallExecuteSequence>

where "..." is your Before/After/Sequence attribute and "condition" is the
condition you wish to use to enable/disable that action.

Be sure to make any/all properties secure that you use in your condition
that need to be passed either from the UI or the command-line.

-----Original Message-----
From: Frank Neumann [mailto:frank.neumann.karlsho...@web.de] 
Sent: Friday, October 30, 2009 9:53 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Tweaking RemoveExistingProducts depending on user input

Our installer uses major upgrades as described in many Wix documents.
I would like to add a little more comfort to the installer by giving the
users the following choices:

1. Uninstall the previous major version (4.0) during install of 5.0 or
2. Have 4.0 and 5.0 installed side by side

The install packages for 4.0 and 5.0 use different upgrade codes.

Is there a way to tweak "RemoveExistingProducts" by user input?

Best regards,

Frank

_______________________________________________________________
Neu: WEB.DE DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
http://produkte.web.de/go/02/


----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to