extract meta-data from .msp file ???


G

Guest

How to extract the details like:
1)Product for which this patch has come
2)Version of the product
3)what feature is it going to affect

from a .msp file ????
for .msi file I found a vbscript to extract the data.. but that script is
not working for .msp file..
 
Ad

Advertisements

G

Guest

An MSP file contains only transforms, not properties in a Property table like
the MSI files. Having said that,
Suppose there are 100 .msp files in a folder, but the user doesn't know
which patches are meant for which product. In this case we need to extract
the
1) Target products for the patch and
2) Patch version

of all the 100 .msp files; and put these informations in a text file.. this
text file can be used to list(in a GUI) all the target products for which new
patches have been released; and the user can select say 10 patches, and
apply them.
Suggest me a method for doing this..
--
Aawardhan


Phil Wilson said:
If you search Heath Stewart's blog for patch and msp you'll see articles
like this:
http://blogs.msdn.com/heaths/archive/2006/04/07/571138.aspx
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Aawardhan said:
How to extract the details like:
1)Product for which this patch has come
2)Version of the product
3)what feature is it going to affect

from a .msp file ????
for .msi file I found a vbscript to extract the data.. but that script is
not working for .msp file..
 
Ad

Advertisements

P

Phil Wilson

Use Installer.ExtractPatchXMLData (or equivalent) in your code and parse the
xml to get product code guid.
--
Phil Wilson [MVP Windows Installer]
----
Aawardhan said:
An MSP file contains only transforms, not properties in a Property table
like
the MSI files. Having said that,
Suppose there are 100 .msp files in a folder, but the user doesn't know
which patches are meant for which product. In this case we need to extract
the
1) Target products for the patch and
2) Patch version

of all the 100 .msp files; and put these informations in a text file..
this
text file can be used to list(in a GUI) all the target products for which
new
patches have been released; and the user can select say 10 patches, and
apply them.
Suggest me a method for doing this..
--
Aawardhan


Phil Wilson said:
If you search Heath Stewart's blog for patch and msp you'll see articles
like this:
http://blogs.msdn.com/heaths/archive/2006/04/07/571138.aspx
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Aawardhan said:
How to extract the details like:
1)Product for which this patch has come
2)Version of the product
3)what feature is it going to affect

from a .msp file ????
for .msi file I found a vbscript to extract the data.. but that script
is
not working for .msp file..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top