Web Images Videos Maps News Groups Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Minor upgrade as MSI on server with previous version of MSI & MSP
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
VishnuB  
View profile  
 More options Nov 4, 6:11 am
Newsgroups: microsoft.public.platformsdk.msi
From: VishnuB <vb...@community.nospam>
Date: Tue, 3 Nov 2009 11:11:01 -0800
Local: Wed, Nov 4 2009 6:11 am
Subject: Minor upgrade as MSI on server with previous version of MSI & MSP
I have earlier version (1.0.0.0) of my product in .msi format and for that I
delivered patch as .msp with version 1.0.1.0.

I generated patch by comparing two msi's (1.0.0.0 & 1.0.1.0), where existing
binaries are modified, no new files added.
In PatchTemplate.pcp, I updated FileSequenceStart value in ImageFamilies
table as per MSDN  
(http://msdn.microsoft.com/en-us/library/aa369215%28VS.85%29.aspx)
[From above link]       To ensure this, the value in this field must be
greater than all sequence numbers used in previous patches or in the original
installation package.

So, I got the value of LastSequence from Media table of latest msi (1.0.1.0)
and incremented it by 1 and mentioned the value in FileSequenceStart in PCP
file.

So for example,
 - I have 10 files in 1.0.0.0 msi with a.exe's file sequence as 8
 - Modified a.exe in new msi (1.0.1.0) and no new files added.
 - LastSequence value in Media table of 1.0.10 msi remains 10.
 - Updated pcp with FileSequenceStart value in ImageFamilies table as 11 (10
from LastSequence of new msi + 1)  as per MSDN.
 - Now in msp, a.exe's file sequence was modified to 11 (this can be viewed
using Orca, by Transform -> View Patch menu with 1.0.1.0 msp applied over
1.0.0.0 msi)
 - When user installs 1.0.0.0 msi & 1.0.1.0 msp, then a.exe's sequence in
the cached installer will be 11 (my assumption).

Now I generate a new msi of version 2.0.0.0 with no new files added, still
LastSequence in Media table is 10 (a.exe has file sequence as 8).
 - Invoke 2.0.0.0 msi with command line as
    msiexec.exe /i myproduct.msi REINSTALL=vomus REINSTALL=ALL /l*v
"C:\myproduct_2.log"
 - Here file with sequence less than 10 are upgraded except a.exe
 - In verbose msi log, i see filecopy action for a.exe says
     Overwrite; Won't patch;    Existing file is of an equal version
 - I doubt this is because of file sequencing for a.exe got modified in msp
as 11 and 2.0.0.0 msi has LastSequence in Media table has value as 10.

Please let me know
 - My assumption is correct or something else is cause this issue.
 - Is there any issue in my PCP update for FileSequenceStart value.
 - How can I overcome this issue now, since 1.0.0.0 msi & 1.0.1.0 is already
delivered to customer.

Any help will be highly appreciated.

Thanks,
Vishnu


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"Jie Wang [MSFT]"  
View profile  
 More options Nov 4, 11:00 pm
Newsgroups: microsoft.public.platformsdk.msi
From: jie...@online.microsoft.com ("Jie Wang [MSFT]")
Date: Wed, 04 Nov 2009 12:00:31 GMT
Local: Wed, Nov 4 2009 11:00 pm
Subject: RE: Minor upgrade as MSI on server with previous version of MSI & MSP
Hi Vishnu,

Could you confirm that the file a.exe itself is correctly versioned in all
versions?

Thanks,
Jie Wang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notificat....

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business days is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wilson, Phil  
View profile  
 More options Nov 5, 4:40 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Wilson, Phil" <ph...@wonderware.nospam.com>
Date: Wed, 4 Nov 2009 09:40:21 -0800
Local: Thurs, Nov 5 2009 4:40 am
Subject: Re: Minor upgrade as MSI on server with previous version of MSI & MSP
I agree with Jie Wang - you've said nothing about actual *file* versions,
and these must be incremented for a patch or minor upgrade to replace them.
There's nothing in file sequencing that is related to replacing versioned
files on the system.

To avoid having to manually figure out sequencing in ImageFamilies use
MinimumRequiredMsiVersion in the Properties table, set it to 200 and have
Windows figure it all out.

--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972

"VishnuB" <vb...@community.nospam> wrote in message

news:250490D4-AEE0-4406-8896-A20CF0555ACF@microsoft.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Minor upgrade as MSI on server with previous version of MSI &" by VishnuB
VishnuB  
View profile  
 More options Nov 5, 5:25 am
Newsgroups: microsoft.public.platformsdk.msi
From: VishnuB <vb...@community.nospam>
Date: Wed, 4 Nov 2009 10:25:23 -0800
Local: Thurs, Nov 5 2009 5:25 am
Subject: RE: Minor upgrade as MSI on server with previous version of MSI &
Hi Jie Wang,
   Yes, we usually version the binaries same as Product version, in case of
1.0.1.0 msp, a.exe was version ed as 1.0.1.0 and in new msi (2.0.0.0), a.exe
is 2.0.0.0

Thanks,
Vishnu


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VishnuB  
View profile  
 More options Nov 5, 5:25 am
Newsgroups: microsoft.public.platformsdk.msi
From: VishnuB <vb...@community.nospam>
Date: Wed, 4 Nov 2009 10:25:31 -0800
Local: Thurs, Nov 5 2009 5:25 am
Subject: Re: Minor upgrade as MSI on server with previous version of MSI &
Thanks Phil,
  I checked my pcp file, I set MinimumRequiredMsiVersion in Properties table
as 200 only. What value do you suggest for FileSequenceStart in ImageFamilies
table ?

But still I feel, file sequencing has some impact.
--
Thanks,
Vishnu


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VishnuB  
View profile  
 More options Nov 6, 4:44 am
Newsgroups: microsoft.public.platformsdk.msi
From: VishnuB <vb...@community.nospam>
Date: Thu, 5 Nov 2009 09:44:03 -0800
Local: Fri, Nov 6 2009 4:44 am
Subject: RE: Minor upgrade as MSI on server with previous version of MSI &
Additional note, I tried with REINSTALLMODE=vemus to replace even if file is
of equal version, I got following error

Error 1334.The file 'a.exe' cannot be installed because the file cannot be
found in cabinet file 'Data1.cab'. This could indicate a network error, an
error reading from the CD-ROM, or a problem with this package.

--
Thanks,
Vishnu


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wilson, Phil  
View profile  
 More options Nov 6, 6:23 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Wilson, Phil" <ph...@wonderware.nospam.com>
Date: Thu, 5 Nov 2009 11:23:45 -0800
Local: Fri, Nov 6 2009 6:23 am
Subject: Re: Minor upgrade as MSI on server with previous version of MSI &
Nothing! That's the point - MSI will just do the right thing.

If you can find any documentation explaining that file overwrite rules
depend on file sequence, share it. The rules are here:

http://msdn.microsoft.com/en-us/library/aa367835(VS.85).aspx
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972

"VishnuB" <vb...@community.nospam> wrote in message

news:69E3DC1F-D85E-4785-9244-ED952BC01095@microsoft.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"Jie Wang [MSFT]"  
View profile  
 More options Nov 9, 10:09 pm
Newsgroups: microsoft.public.platformsdk.msi
From: jie...@online.microsoft.com ("Jie Wang [MSFT]")
Date: Mon, 09 Nov 2009 11:09:19 GMT
Local: Mon, Nov 9 2009 10:09 pm
Subject: RE: Minor upgrade as MSI on server with previous version of MSI &
Hi Vishnu,

I think this could be caused by the file sequence. The installer might be
getting the a.exe from wrong media, so you see the "same or older version"
problem.

Since the 2.0.0.0 msi is a major version upgrade, is it possible to just
assign it a new product code (keep the upgrade code) and have the installer
remove previous versions before installing v2?

Thanks,
Jie Wang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notificat....

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business days is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VishnuB  
View profile  
 More options Nov 11, 8:10 pm
Newsgroups: microsoft.public.platformsdk.msi
From: VishnuB <vb...@community.nospam>
Date: Wed, 11 Nov 2009 01:10:01 -0800
Local: Wed, Nov 11 2009 8:10 pm
Subject: RE: Minor upgrade as MSI on server with previous version of MSI &
Hi Jie Wang,
   Thanks for the confirmation and clarifying my instinct.
Do you mean if we delivered patch as msp, then Major upgrade is the only
option to upgrade the product with MSI.
    Major upgrade is not an easy decision (uninstall & reinstall), can you
please provide me some other approach. The reason behind is similar to
Windows 7, we want it to be considered as Major release from customer
perspective, but internally we want to provide upgrade seamlessly.

--
Thanks,
Vishnu


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VishnuB  
View profile  
 More options Nov 11, 8:20 pm
Newsgroups: microsoft.public.platformsdk.msi
From: VishnuB <vb...@community.nospam>
Date: Wed, 11 Nov 2009 01:20:01 -0800
Local: Wed, Nov 11 2009 8:20 pm
Subject: Re: Minor upgrade as MSI on server with previous version of MSI &
Thanks Phil,
    I will try the behavior of providing no value for FileSequenceStart in
ImageFamilies in pcp file. It's great, it works and I can implement same in
my future hotfix releases.

Jie Wang confirmed that its because of file sequencing. I need to get rid of
the current situation, how to provide minor upgrade in this case.

One more thing, do you think MSDN help article for ImageFamilies has to be
corrected, since I got the information from there to increment the file
sequence value or my understanding is wrong.

--
Thanks,
Vishnu


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"Jie Wang [MSFT]"  
View profile  
 More options Nov 11, 11:48 pm
Newsgroups: microsoft.public.platformsdk.msi
From: jie...@online.microsoft.com ("Jie Wang [MSFT]")
Date: Wed, 11 Nov 2009 12:48:08 GMT
Local: Wed, Nov 11 2009 11:48 pm
Subject: Re: Minor upgrade as MSI on server with previous version of MSI &
Hi Vishnu,

Sorry for the misunderstanding but what I meant is that the problem *could*
be caused by the file sequence and the media table, that was not a
confirmation though.

I will try finding out more about this scenario and how exactly it works,
and of course what other options we have. But that might take some time.

I'll update here ASAP.

Regards,
Jie Wang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notificat....

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business days is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VishnuB  
View profile  
 More options Nov 14, 6:54 pm
Newsgroups: microsoft.public.platformsdk.msi
From: VishnuB <vb...@community.nospam>
Date: Fri, 13 Nov 2009 23:54:01 -0800
Local: Sat, Nov 14 2009 6:54 pm
Subject: Re: Minor upgrade as MSI on server with previous version of MSI &
Hi Jie Wang,
    Sorry for my mis-understanding. Any quick help will be very much
appreciated.

--
Thanks in Advance,
Vishnu


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VishnuB  
View profile  
 More options Nov 21, 5:25 pm
Newsgroups: microsoft.public.platformsdk.msi
From: VishnuB <vb...@community.nospam>
Date: Fri, 20 Nov 2009 22:25:01 -0800
Local: Sat, Nov 21 2009 5:25 pm
Subject: Re: Minor upgrade as MSI on server with previous version of MSI &
Hi Jie Wang,
    Do you have any update on this issue.
--
Thanks,
Vishnu


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google