Solved

How to get Revision Number from .msp file

Posted on 2007-11-15
2
321 Views
Last Modified: 2010-04-21
How do i retreive the ProductCode/SummaryRevisionNumber to a .msp patch file from a C# application.
0
Comment
Question by:jenniferw
2 Comments
 
LVL 9

Accepted Solution

by:
JonMny earned 500 total points
ID: 20357803
you can read the file information using  IPropertyStorage.

here are a few of links that have examples of reading advanced file properties

http://www.vbaccelerator.com/home/NET/Code/Libraries/Writing_CDs/IMAPI/IMAPI_Wrapper_zip_IMAPIWrapper%5CPropertyStorage_cs.asp

http://www.ddj.com/windows/184416848

http://www.tek-tips.com/viewthread.cfm?qid=1344529&page=1

you could also try dsofile but that is an unmanaged dll



0
 

Author Closing Comment

by:jenniferw
ID: 31409440
Thanks a lot, that was useful!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question