1. Minor upgrades, by definition, use the ProductCode (produ...@id) of the
already installed package. Major upgrades, by definition, use a different
ProductCode. Definitionally, there is no other difference. The rest is
supporting each of the two different upgrade mechanisms.

2. The easiest way is:

<?ifndef var.ProductCode?>
<?define ProductCode="*"?>
<?endif?>

<Product Id="$(var.ProductCode)" ...>

-----Original Message-----
From: Giora keinan [mailto:grkei...@gmail.com] 
Sent: Monday, January 18, 2010 6:15 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Minor Upgrade and original msi file name.

Hello
Thanks for the quick answer.

I have two quick questions:
1. My understanding is that if I want to do minor upgrade after a major 
upgrade I should use the Major upgrade product id instead of  the 
original installation product id.
2. Is there a way to do an ifdef in the wxs file. I want to use the same 
wxs file for both minor and major upgrades with an ifdef inside.

Thanks
Giora



Bob Arnson wrote:
> On 1/17/2010 11:10 AM, Giora keinan wrote:
>   
>> I have a problem in minor update. In minor upgrade the msiexec is
>> looking for the upgrade name, which should be the same as the original
>> msi name.
>> The problem is that sometimes the original setup filename is modified
>> during download. For example setup.msi is modified to setup(1).msi.
>>    
>>     
>
> Use major upgrades and/or an .exe bootstrapper to install minor 
> upgrades. http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/
>
>   

-- 
-------------------------------------------------
Giora Keinan
CapsCake - The natural language launcher.
Because free text is easy.
http://www.capscake.com
-------------------------------------------------


----------------------------------------------------------------------------
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for
Conference
attendees to learn about information security's most important issues
through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to