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

Jim Williams

-----Original Message-----
From: Sudripta Nandy (Sarangsoft Corporation) [mailto:v-su...@microsoft.com] 
Sent: Wednesday, April 01, 2009 4:03 PM
To: wix-users@lists.sourceforge.net
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


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

Reply via email to