Rahul Ranjit wrote:
> different environments. For example we might have version x.y.1.0 in the 
> environment1 and x.y.4.0 in the environment2. Our application detects which 
> environment we connect to and installs the appropriate version. If there is 
> an existing installation it is removed and appropriate version is installed.
>   

Using version numbers this way is risky.

> (switch from environment4 to environment1) nearly half of the files are not 
> installed. I don't think it's an issue with a minor update since I can 
> reproduce this scenario when the version number are 1.0.0.0 and 3.0.0.0
>   

Doesn't matter the type of upgrade or whether the major version changes; 
in both cases, MSI is trying really hard to keep the highest version 
number on the machine.

> <Upgrade Id="$(var.UpgradeCode)">
>   

Where do you schedule RemoveExistingProducts?

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



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to