Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

How to get Revision Number from .msp file

How do i retreive the ProductCode/SummaryRevisionNumber to a .msp patch file from a C# application.
0
jenniferw
Asked:
jenniferw
1 Solution
 
JonMnyCommented:
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
 
jenniferwAuthor Commented:
Thanks a lot, that was useful!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now