Minor upgrades need a command line install: 
 
msiec /i <path to msi file> REINSTALL=ALL REINSTALLMODE=vomus 
 
would be a typical command line. 
 
A major upgrade requires a ProductCode change, identical UpgradeCode to
the older version, plus entries in the Upgrade table.  Major upgrades
are unfortunately more of an intent than an actual declaration. If you
don't get all the plumbing right you'll end up with two versions of the
product on the system. Minor upgrades tell you upfront that you're not
doing the right thing ("another version is installed"). 

Phil Wilson 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, March 27, 2007 10:57 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Another version of this product is already
installed



I'm trying to come to grips with how upgrades are handled, and I was
wondering if someone could shed some light on the subject for me.

 

In an attempt to understand better, I've been trying to install a pseudo
"minor upgrade".

I installed the base version, then I tried to install the slightly
modified "upgrade" version.

 

I changed:

Product Version attribute.

Package Id (auto generated)

The contents of one text file.

 

I left unchanged:

Everything else, including Product Id & UpgradeCode

 

Each time I've tried, I get the "Another version of this product is
already installed" dialog.

 

What gives?



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to