Yes, I have the following element defined within InstallExecuteSequence of 
version 2.0.1000.0.

<RemoveExistingProducts After="InstallValidate" />


Another thing is that in the new version of the product, I have completely new 
components with different IDs. Also the files-to install and the target 
directory are different. Another important thing is that the product name is 
also different in the new version. The only similarity between the two versions 
is the upgrade code.


Thanks.
Sudripta.




Re: [WiX-users] Upgrading an older version of 
product<http://sourceforge.net/mailarchive/message.php?msg_name=4D6A40C5D78E4071A707899CDDF5C782%40JIMDELL>
From: Jim Williams <jimwilliam...@co...> - 2009-04-01 23:19

Do you have a RemoveExistingProducts action defined in your execution sequence?

Jim Williams

-----Original Message-----
From: Sudripta Nandy (Sarangsoft Corporation) [mailto:v-su...@mi...]
Sent: Wednesday, April 01, 2009 4:03 PM
To: wix-us...@li...
Subject: [WiX-users] Upgrading an older version of product

I have two versions of my MSI... one is version 1.0.0.0 and another is
2.0.1000.0. The upgrade code for both the MSIs are the same. But, there are many
significant differences between version 1.0.0.0 and 2.0.1000.0, including
different install directories and files-to-install. Version 1.0.0.0 installs
under 'Program Files\Orange' whereas version 2.0.1000.0 installs to 'Program
Files\Red'. There are no similarities between version 1.0.0.0 and 2.0.1000.0
except the upgrade code.

But, even when the upgrade codes are same, version 2.0.1000.0 is unable to
detect the previous version '1.0.0.0'. I have the following element defined
within my wix file:

<Upgrade Id='B5521437-2271-4c41-9F5D-58D4F960874C'>
<UpgradeVersion OnlyDetect='no' Property='PRODUCTOLDVERSIONFOUND'
Maximum='2.0.1000.0' IncludeMaximum='no'/>
</Upgrade>

But, seems the old version is not getting removed/replaced by the new version.
The new version installs/uninstalls as a separate product.


What am I doing wrong?


Thanks.
Sudripta.


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to