Solved

How to get Revision Number from .msp file

Posted on 2007-11-15
2
317 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

914 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now