Solved

How to get Revision Number from .msp file

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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!
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

747 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

13 Experts available now in Live!

Get 1:1 Help Now