Group:  English: General ยป microsoft.public.windows.msi
Thread: MSP after MSP ?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

MSP after MSP ?
frmo <frederik.moquette[ at ]nec-philips.com> 21.06.2007 14:04:52
I discover a problem.

I created from 3 MSI's 2 MSP's

MSI's version 1, 2 and 3
MSP's version 1 to 2 and version 2 to 3 and version 1 to 3

I install MSI version 1 OK
I install MSP 1 to 2, OK
I install MSP 2 to 3, ERROR, application is still at version 2, I
expected it to be on 3
I install MSP 1 to 3, ERROR, application is still at version 2.

What can be wrong. During creation of the MSP's

Productcode remained the same
Upgradecode remained the same
Packagecode changed

Anyone a suggestion?

Re: MSP after MSP ?
"Adrian Accinelli" <hclnospamalias2[ at ]newsgroup.nospam> 21.06.2007 16:43:12

"frmo" <frederik.moquette[ at ]nec-philips.com> wrote in message
news:1182434692.057368.135360[ at ]q75g2000hsh.googlegroups.com...
[Quoted Text]
>I discover a problem.
>
> I created from 3 MSI's 2 MSP's
>
> MSI's version 1, 2 and 3
> MSP's version 1 to 2 and version 2 to 3 and version 1 to 3
>
> I install MSI version 1 OK
> I install MSP 1 to 2, OK
> I install MSP 2 to 3, ERROR, application is still at version 2, I
> expected it to be on 3
> I install MSP 1 to 3, ERROR, application is still at version 2.
>
> What can be wrong. During creation of the MSP's
>
> Productcode remained the same
> Upgradecode remained the same
> Packagecode changed
>
> Anyone a suggestion?
>

Change your patch targeting in MSP 2 and 3 to be something like:

MSP1 ( 1 - > 2) -- use minor upgrade change Product Version appropriately
Target version 1
PatchSequence something like: 1.0.2.0
turn on supersede

MSP2 ( 2 -> 3 ) -- treat like a hotfix don't make it minor upgrade so don't
touch first three digits
Target version 2
Patchsquence: 1.0.2.5
do not supersede

MSP3 ( 1 -> 3) -- use minor upgrade change Product Version appropriately
Target version 1
PatchSquence: 1.0.3.0
turn on supersede flag

Now you can apply MSP1 followed by MSP2 which will result in same file set
as MSP3 but you can also then apply MSP3 which will properly supersede both
MSP1 and MSP2.

Only flaw here is that MSP1 + MSP2 won't give exact same ProductVersion to
user as MSP3.

Otherwise you need to change MSP2 such that it targets both Version 1 and
Version 2. In this way you don't need MSP3 and it would simply be a minor
upgrade that supersedes earlier patches.

Sincerely,
Adrian Accinelli


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net