Go Back   PackageDeploy Application Packaging Forums > Package Development > Application Packaging > Platformsdk MSI

Reply
 
LinkBack Thread Tools Display Modes
Old 06-03-2009, 06:02 AM   #1 (permalink)
Nick Rivers
Guest
 
Posts: n/a
Default Single Patch for MSI packages with different Template Summary

Hi,

I have to MSI with different Template Summary ('Intel' and 'x64'). Both
contain the same components and features except different driver packages.
ProductCode and UpgradeCode are the same for both MSI (up to now).

Question:
Can I provide a single Patch for both MSI? Or do I have to use seperate
Patches and different ProductCode/UpgradeCode.

Thanks

  Reply With Quote
Old 06-03-2009, 06:02 AM   #2 (permalink)
Kalle Olavi Niemitalo
Guest
 
Posts: n/a
Default Re: Single Patch for MSI packages with different Template Summary

"Nick Rivers" <nrivers@yahoo.com> writes:

> I have to MSI with different Template Summary ('Intel' and
> x64'). Both contain the same components and features except different
> driver packages. ProductCode and UpgradeCode are the same for both MSI
> (up to now).


ProductCode Property (Windows)
http://msdn.microsoft.com/en-us/libr...54(VS.85).aspx
says that 32-bit and 64-bit packages must have different product
codes.

I don't know for sure whether you can have a single patch for
32-bit and 64-bit packages. I suspect it should be possible,
because unlike MSI installation packages, MSP patch packages do
not have the platform name in the Template summary property.
  Reply With Quote
Old 06-03-2009, 06:02 AM   #3 (permalink)
Adrian Accinelli
Guest
 
Posts: n/a
Default Re: Single Patch for MSI packages with different Template Summary

"Kalle Olavi Niemitalo" <kon@iki.fi> wrote in message
news:87zldt6pww.fsf@Astalo.kon.iki.fi...
> "Nick Rivers" <nrivers@yahoo.com> writes:
>> I have to MSI with different Template Summary ('Intel' and
>> x64'). Both contain the same components and features except different
>> driver packages. ProductCode and UpgradeCode are the same for both MSI
>> (up to now).

> ProductCode Property (Windows)
> http://msdn.microsoft.com/en-us/libr...54(VS.85).aspx
> says that 32-bit and 64-bit packages must have different product
> codes.
> I don't know for sure whether you can have a single patch for
> 32-bit and 64-bit packages. I suspect it should be possible,
> because unlike MSI installation packages, MSP patch packages do
> not have the platform name in the Template summary property.


The general answer is yes a single MSP can target any number of packages
(each package can be for a different target platform). It's the PCP
TargetImages table that detemines which product packages (and thus
platforms) a given MSP works with.

I've done it many times for hotfixes and it works nicely.

That said -- the answer for Nick's situation is a big NO.

The PCP TargetImages table essentially requires that each row has a unique
combination of ProductCode +3 digit ProductVersion. The idea being each row
can be a different Minor Upgrade/Service Pack level for a specific product.
In other words you can target an arbitrary number of different products and
each product can be at a different patch level.

For instance you can target 4 products each at 4 service pack levels with no
problem (btw that's 20 rows: 4xRTM + 4xSP1 + 4xSP2 + 4xSP3 + 4xSP4).

In Nick's case he has two MSIs that have the same ProductCode but actually
represent different entities. That means the one row in TargetImages can
either point to the x86 or x64 version of his product but not both since
each row has only one MSI path. So for each version the MSP can only
target one product platform at a time.

I recommend immediately switching ProductCode/UpgradeCode for your x64
product package and instead of using MSP patch strategy for that platform
move to Major Upgrade instead.

Sincerely,
Adrian Accinelli


  Reply With Quote
Old 06-03-2009, 06:02 AM   #4 (permalink)
Nick Rivers
Guest
 
Posts: n/a
Default Re: Single Patch for MSI packages with different Template Summary

Thanks a lot guys, that helps.

"Adrian Accinelli" <hclnospamalias3@newsgroup.nospam> wrote in message
news:OlyqGzNzJHA.5964@TK2MSFTNGP04.phx.gbl...
> "Kalle Olavi Niemitalo" <kon@iki.fi> wrote in message
> news:87zldt6pww.fsf@Astalo.kon.iki.fi...
>> "Nick Rivers" <nrivers@yahoo.com> writes:
>>> I have to MSI with different Template Summary ('Intel' and
>>> x64'). Both contain the same components and features except different
>>> driver packages. ProductCode and UpgradeCode are the same for both MSI
>>> (up to now).

>> ProductCode Property (Windows)
>> http://msdn.microsoft.com/en-us/libr...54(VS.85).aspx
>> says that 32-bit and 64-bit packages must have different product
>> codes.
>> I don't know for sure whether you can have a single patch for
>> 32-bit and 64-bit packages. I suspect it should be possible,
>> because unlike MSI installation packages, MSP patch packages do
>> not have the platform name in the Template summary property.

>
> The general answer is yes a single MSP can target any number of packages
> (each package can be for a different target platform). It's the PCP
> TargetImages table that detemines which product packages (and thus
> platforms) a given MSP works with.
>
> I've done it many times for hotfixes and it works nicely.
>
> That said -- the answer for Nick's situation is a big NO.
>
> The PCP TargetImages table essentially requires that each row has a unique
> combination of ProductCode +3 digit ProductVersion. The idea being each
> row can be a different Minor Upgrade/Service Pack level for a specific
> product. In other words you can target an arbitrary number of different
> products and each product can be at a different patch level.
>
> For instance you can target 4 products each at 4 service pack levels with
> no problem (btw that's 20 rows: 4xRTM + 4xSP1 + 4xSP2 + 4xSP3 + 4xSP4).
>
> In Nick's case he has two MSIs that have the same ProductCode but actually
> represent different entities. That means the one row in TargetImages can
> either point to the x86 or x64 version of his product but not both since
> each row has only one MSI path. So for each version the MSP can only
> target one product platform at a time.
>
> I recommend immediately switching ProductCode/UpgradeCode for your x64
> product package and instead of using MSP patch strategy for that platform
> move to Major Upgrade instead.
>
> Sincerely,
> Adrian Accinelli
>
>

  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:58 PM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
2007 - 2012 PackageDeploy.com