Thanks Phil.
    Your have hit the bullseye. You are right. I saw the log and it seemed the 
ALLUSERS property which was the reason. Using ORCA I added ALLUSERS as a new 
row in the property table and set its value to 1. After that the upgrade worked 
perfectly.

    So, now my next question is... Is there any way to remove the older version 
even if the ALLUSERS property is different for the two versions? The old MSI 
was created by some other guy and has been deployed to many machines. I have to 
use ALLUSERS as 1 in my new setup. Is there any way to uninstall the old 
product?


Thanks.
Sudripta.






Re: [WiX-users] Upgrading an older version of 
product<http://sourceforge.net/mailarchive/message.php?msg_name=5C889913FF236E4190093AF280AB4EC40167E7E295%40wwlkfmail1.wonderware.com>
From: Wilson, Phil <phil.wil...@wo...> - 2009-04-02 00:09

It's nothing to do with the same user account. It's about the value of the 
MSI's ALLUSERS property. If you didn't set it before then it defaulted to a 
per-user install. Your current setup is a per system install with ALLUSERS=1 
that will not upgrade the other version. Produce a log while doing the upgrade 
and see what FindRelatedProducts reports.

It's not important that ARPNOMDIFY is different. It is important that ALLUSERS 
is different.

Phil Wilson


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

The older version hadn't any ALLUSERS value set. The new version has ALLUSERS 
set to 1. But, I am installing both the versions from the same user account and 
it's still failing.

One more important aspect is that the older version had 'ARPNOMODIFY' set to 1. 
But, it hadn't any 'ARPNOREMOVE' property. The new version hasn't got any of 
the property.


Thanks.
Sudripta.




Re: [WiX-users] Upgrading an older version of 
product<http://sourceforge.net/mailarchive/message.php?msg_name=5C889913FF236E4190093AF280AB4EC40167E7E22F%40wwlkfmail1.wonderware.com>
From: Wilson, Phil <phil.wil...@wo...> - 2009-04-01 23:38

..... and are the ALLUSERS values the same? I believe there's a permachine / 
perUser choice but the MSI default is per user I believe.
Phil Wilson


-----Original Message-----
From: Jim Williams [mailto:jimwilliam...@co...]
Sent: Wednesday, April 01, 2009 4:21 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Upgrading an older version of product

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-us...@li...
https://lists.sourceforge.net/lists/listinfo/wix-users


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


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
wix-us...@li...
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