Hi,

    I have two wix installer v3.0 source files. One source file for old 
version(1.0.0.0) and another one for new version(1.01.1). I have changed 
version in product and upgradeversion tags in 1.0.1.1 and upgradecode is 
same for both files. Also I included <RemoveExistingProduct 
after="InstallInitialize"/>. First I installed version 1.0.0.0. That 
installed fine. Then I tried to installed new version 1.0.1.1 installer, 
its giving an error that "Another Version of this product is already 
installed".
Also I tried with changing product id. In this case, I'm getting two 
instances in 'Add/Remove Programs'.

Whats the wrong I'm doing? How do I upgrade my product?

*Old Version (1.0.0.0) source snippet:*
<Product Name='Simple' Id='E8592266-241F-4025-88B2-837DCB7D45EB' 
Language='1033' Version='1.0.0.0' Manufacturer='XYZ Corporation'
UpgradeCode='3ADF5D1C-1AC4-4a29-BB9C-A73CA81925D5'> 

<Upgrade Id='3ADF5D1C-1AC4-4a29-BB9C-A73CA81925D5'>
    <UpgradeVersion OnlyDetect='yes' 
Property='PREVIOUSVERSIONSINSTALLED' Minimum='1.0.0.0' 
IncludeMinimum='yes' Maximum='1.0.1.1' IncludeMaximum='no'/>
    <UpgradeVersion OnlyDetect='yes' Property='NEWPRODUCTFOUND' 
Minimum='1.0.0.0' IncludeMinimum='no'/>
</Upgrade>

*New Version (1.0.1.1) source snippet:*
<Product Name='Simple' Id='E8592266-241F-4025-88B2-837DCB7D45EB' 
Language='1033' Version='1.0.0.0' Manufacturer='XYZ Corporation'
UpgradeCode='3ADF5D1C-1AC4-4a29-BB9C-A73CA81925D5'>

<Upgrade Id='3ADF5D1C-1AC4-4a29-BB9C-A73CA81925D5'>
    <UpgradeVersion OnlyDetect='yes' 
Property='PREVIOUSVERSIONSINSTALLED' Minimum='1.0.0.0' 
IncludeMinimum='yes' Maximum='1.0.1.1' IncludeMaximum='no'/>
    <UpgradeVersion OnlyDetect='yes' Property='NEWPRODUCTFOUND' 
Minimum='1.0.1.1' IncludeMinimum='no'/>
</Upgrade>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to