Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Programmatic File Extraction


1 reply to this topic

blah blah blah

blah blah blah
  • Members
  • 1 posts

Posted 07 August 2003 - 15:40

Would like to know if there are any examples of how to extract a file within an MSI file given the file name only.

Obviously, this file extraction is independent of the actual msi installation launch itself.

Any help is appreciated. Thanks.

luke_s

luke_s
  • Full Members
  • 532 posts

Posted 12 August 2003 - 12:41

The problem is that you will have to determine whether or no the file is stored in the binary stream of the msi, or in a .cab file, extrenal to the msi.

Once you have this information, you should be able to just either extract the file from the binary stream, or open the cab file and grab the file out.

this is pretty complicated.

What do you need to achieve?