PC Review


Reply
Thread Tools Rate Thread

Extract meta-data from MSI file !!!

 
 
=?Utf-8?B?QWF3YXJkaGFu?=
Guest
Posts: n/a
 
      25th May 2006
Can command line options of windows installer be used to extract the
meta-data (installation/patch name, version etc) of the .msi/.msp files ???

If it can not be extracted by command line options, what are the other
options (without using any GUI based tool)???
 
Reply With Quote
 
 
 
 
Graham
Guest
Posts: n/a
 
      25th May 2006
Aawardhan wrote:
> Can command line options of windows installer be used to extract the
> meta-data (installation/patch name, version etc) of the .msi/.msp files ???
>
> If it can not be extracted by command line options, what are the other
> options (without using any GUI based tool)???


msidb ?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?QWF3YXJkaGFu?=
Guest
Posts: n/a
 
      26th May 2006
ya.. the meta-data will be found in msidb... but how to extract it....
e.g., Suppose there is a patch repositiry (which contians, say, 100 new
patches).. but the user might want to use only, say, 10 patches of it.... so
the meta-data of these 100 patches needs to be extracted and displayed to the
user(in a custom GUI, not the windows installer GUI).. so that the user can
select the 10 patches that he wants...

it wud be nice, if we cud extract these meta-data and create something like
a header file.. (btw, linux has this functionality.. a command line option.,,
"YUM-ARCH")

Does the command line option of windows installer do this???
I believe the installer API (are they C++ API or u definitely need VC++ for
this.. plz clarify this as well) can also be used for this..?????
--
Aawardhan


"Graham" wrote:

> Aawardhan wrote:
> > Can command line options of windows installer be used to extract the
> > meta-data (installation/patch name, version etc) of the .msi/.msp files ???
> >
> > If it can not be extracted by command line options, what are the other
> > options (without using any GUI based tool)???

>
> msidb ?
>

 
Reply With Quote
 
=?Utf-8?B?QWF3YXJkaGFu?=
Guest
Posts: n/a
 
      26th May 2006
got it...
--
Aawardhan


"Aawardhan" wrote:

> ya.. the meta-data will be found in msidb... but how to extract it....
> e.g., Suppose there is a patch repositiry (which contians, say, 100 new
> patches).. but the user might want to use only, say, 10 patches of it.... so
> the meta-data of these 100 patches needs to be extracted and displayed to the
> user(in a custom GUI, not the windows installer GUI).. so that the user can
> select the 10 patches that he wants...
>
> it wud be nice, if we cud extract these meta-data and create something like
> a header file.. (btw, linux has this functionality.. a command line option.,,
> "YUM-ARCH")
>
> Does the command line option of windows installer do this???
> I believe the installer API (are they C++ API or u definitely need VC++ for
> this.. plz clarify this as well) can also be used for this..?????
> --
> Aawardhan
>
>
> "Graham" wrote:
>
> > Aawardhan wrote:
> > > Can command line options of windows installer be used to extract the
> > > meta-data (installation/patch name, version etc) of the .msi/.msp files ???
> > >
> > > If it can not be extracted by command line options, what are the other
> > > options (without using any GUI based tool)???

> >
> > msidb ?
> >

 
Reply With Quote
 
Graham
Guest
Posts: n/a
 
      26th May 2006
Aawardhan wrote:
> got it...


So why not share the solution?

 
Reply With Quote
 
=?Utf-8?B?QWF3YXJkaGFu?=
Guest
Posts: n/a
 
      29th May 2006
meta-data includes..
1) Product Name
' 2) Upgrade Code
' 3) Product Code
' 4) Package Code
' 5) Product Version
' For each product component
' 1) Component code
' 2) File Name
' 3) File Version
' 4) Component Condition

actually found a vbscript that extracts the data..
--
Aawardhan


"Graham" wrote:

> Aawardhan wrote:
> > got it...

>
> So why not share the solution?
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a CSV file makes MSI want Office 2000 SR-1 Premium disk (DATA1.MSI) Ant Microsoft Excel Discussion 11 6th Mar 2007 03:59 PM
Opening a CSV file makes MSI want Office 2000 SR-1 Premium disk (DATA1.MSI) Ant Microsoft Excel Setup 11 6th Mar 2007 03:59 PM
Opening a CSV file makes MSI want Office 2000 SR-1 Premium disk (DATA1.MSI) Ant Microsoft Excel Misc 11 6th Mar 2007 03:59 PM
Where is STD11N.MSI? Can only find BASIC11N.MSI or PRO11N.MSI =?Utf-8?B?eGFzb250eA==?= Microsoft Outlook Contacts 1 5th May 2006 08:41 PM
BUG?: MSI 3.1 v2 doesn't update MSI.DLL from MSI 2.0 ChezWhiz Windows XP General 12 21st May 2005 08:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:09 AM.