Martin,

Package ID should always be different.  That's why it is set to '*'.  For major 
upgrade to work, you need to change product id and version (version in MSI is 
first 3 fields.  If two versions have the same first 3 fields and differ only 
in the fourth field, as far as MSI concerned - they are the same versions).  
Also, make sure that both previous and new MSIs are either per-user or 
per-machine.



-----Original Message-----
From: Martin Kulov [mailto:mar...@kulov.net] 
Sent: Wednesday, June 22, 2011 2:34 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Another version of this product is already installed

Me thinks Package Id should also be the same.
In my case I tried to reinstall MSI file by setting the original Product Id and 
Version, and keeping Upgrade Code the same. Then I rebuild my wix project.
However Package Id is set to star (*) and I get the error message below.

If I reuse the same MSI file I installed the product originally from, it 
behaves correctly by displaying Repair/Remove options.

Thanks for your help, Michael!

Martin Kulov

-----Original Message-----
From: Michael Stoll [mailto:unwicht...@mistoll.de]
Sent: Wednesday, June 22, 2011 9:05 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Another version of this product is already installed

Hi,

this message is displayed if you try to install a MSI with the same UpgradeCode 
and Version but a different ProductCode. So if you want to see the 
Repair/Uninstall mode you have to use a msi with the same ProductCode or maybe 
event the same msi, which has been used to install the product.

Michael

Am 22.06.2011 19:05, schrieb Martin Kulov:
> Hi,
>
>
>
> I am using MajorUpgrade element in my wxs.
>
> When I try to install the same version of the MSI, I get the well 
> known
> message:
>
>
>
> Another version of this product is already installed
>
>
>
> [Window Title]
>
> Windows Installer
>
>
>
> [Main Instruction]
>
> Another version of this product is already installed.  Installation of 
> this version cannot continue.  To configure or remove the existing 
> version of this product, use Add/Remove Programs on the Control Panel.
>
>
>
> [OK]
>
>
>
> How can I use MajorUpgrade so that running the same version of the MSI 
> is going to invoke Repair/Remove dialog instead?
>
>
>
> Thank you very much,
>
>
>
> Martin Kulov
>
> http://www.kulov.net
>
>
>
> ----------------------------------------------------------------------
> -------- Simplify data backup and recovery for your virtual 
> environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is 
> safe, secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>


----------------------------------------------------------------------------
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe, 
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe, 
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to