|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 (permalink) |
|
Guest
Posts: n/a
|
"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. |
|
|
|
#3 (permalink) |
|
Guest
Posts: n/a
|
"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 |
|
|
|
#4 (permalink) |
|
Guest
Posts: n/a
|
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 > > |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|