Sonar,

Have you looked at the sample on Alex's blog for doing major upgrades? The 
details are at 
http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-part-8-major-upgrade.aspx.
 It's a little lengthy but it should give you the details you need to make this 
work properly.

Neil

________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Sonar Chopra [EMAIL 
PROTECTED]
Sent: Thursday, August 14, 2008 5:43 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Minor Upgrade not detecting existing version

Hi,



I am trying to build a simple UI installer for our application. I want
to make sure that the application is upgradable in future. In order to
do so, I am playing around with Upgrade element in WIX source file.
Upgrade seems to work fine but I am not able to detect the old version
and newer version and stop the upgrade. Here is what I am trying to do:

1.       Install version 1.0.0 of the application.

msiexec /I ClientSetup.msi

Should work fine.



2.       Upgrade to version 1.0.1.

msiexec /I ClientSetup.msi  REINSTALL=ALL REINSTALLMODE=vamus

Should work fine.



3.       Try upgrading back to version 1.0.0.

msiexec /I ClientSetup.msi  REINSTALL=ALL REINSTALLMODE=vamus

Should display a message stating that a newer version already exists.



4.       Try upgrading back to version 1.0.1

msiexec /I ClientSetup.msi  REINSTALL=ALL REINSTALLMODE=vamus

Should display a message stating that this version already exists.



I have attached the source code in a zipped file. Please rename
ClientSetup._zip to ClientSetup.zip. The only change I am doing between
version 1.0.0 and version 1.0.1 is the change on line 7 in Product.wxs.

Please have a look and let me know what Am I missing here? Any help
would be greatly appreciated.





Thanks & regards,

-Sonar




CONFIDENTIALITY NOTICE: This communication may contain privileged or other 
confidential information.
If you have received it in error, please advise the sender by reply email and 
immediately delete the message and any attachments without copying or 
disclosing the contents.


________________________________
Sample disclaimer text
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to