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)
Minh
Guest
 
Posts: n/a
Default How to query a MSM version installed on the PC

Hello,

I have a common apps distributed as a MSI and as part as a MSM incorporated
into others MSI.

Since several packages can include the MSM I need to find out the version of
the MSM when to the user installs the MSI. There could be a case where the
MSI in an older version compared to the MSM installed.

Is there a way to get the MSM version on the System without querying the msi
file? Maybe with the module signature propertie ?

For example the "WMIC product get" cmd on the command line will return all
the installed MSI with the product code and version info. But it won't return
the MSM installed.

Any help would be appreciated.

Thanks,

Minh
  Reply With Quote
Old 06-03-2009, 06:02 AM   #2 (permalink)
Phil Wilson
Guest
 
Posts: n/a
Default Re: How to query a MSM version installed on the PC

When a merge module is merged into an MSI it loses its identity so there is
no notion that there is some version of a MSM installed on the system. It's
just shorthand for a bunch of components. The only way to figure out what's
installed it to look at the file versions of the components from the MSM.

Phil Wilson

"Minh" <Minh@discussions.microsoft.com> wrote in message
news:5AF618C3-0787-4E4D-9338-697FE7EBA470@microsoft.com...
> Hello,
>
> I have a common apps distributed as a MSI and as part as a MSM
> incorporated
> into others MSI.
>
> Since several packages can include the MSM I need to find out the version
> of
> the MSM when to the user installs the MSI. There could be a case where the
> MSI in an older version compared to the MSM installed.
>
> Is there a way to get the MSM version on the System without querying the
> msi
> file? Maybe with the module signature propertie ?
>
> For example the "WMIC product get" cmd on the command line will return all
> the installed MSI with the product code and version info. But it won't
> return
> the MSM installed.
>
> Any help would be appreciated.
>
> Thanks,
>
> Minh



  Reply With Quote
Old 06-03-2009, 06:02 AM   #3 (permalink)
Minh
Guest
 
Posts: n/a
Default Re: How to query a MSM version installed on the PC

I see, thanks for the information Phil

Minh

"Phil Wilson" wrote:

> When a merge module is merged into an MSI it loses its identity so there is
> no notion that there is some version of a MSM installed on the system. It's
> just shorthand for a bunch of components. The only way to figure out what's
> installed it to look at the file versions of the components from the MSM.
>
> Phil Wilson
>
> "Minh" <Minh@discussions.microsoft.com> wrote in message
> news:5AF618C3-0787-4E4D-9338-697FE7EBA470@microsoft.com...
> > Hello,
> >
> > I have a common apps distributed as a MSI and as part as a MSM
> > incorporated
> > into others MSI.
> >
> > Since several packages can include the MSM I need to find out the version
> > of
> > the MSM when to the user installs the MSI. There could be a case where the
> > MSI in an older version compared to the MSM installed.
> >
> > Is there a way to get the MSM version on the System without querying the
> > msi
> > file? Maybe with the module signature propertie ?
> >
> > For example the "WMIC product get" cmd on the command line will return all
> > the installed MSI with the product code and version info. But it won't
> > return
> > the MSM installed.
> >
> > Any help would be appreciated.
> >
> > Thanks,
> >
> > Minh

>
>
>

  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:44 PM.


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