Search code examples
windows-cecab

How to read content of _setup.xml file from .CAB file


Platform are wince5.0 and 6.0. As you know that we can add some information in to *.inf file such as write some data into registry when installing .cab before generating .CAB. Now, my program is running on wince5.0 and 6.0. I want to retrieve version information from _setup.xml (because I set it in *.inf before generating .cab file). But it seems that there is no library or class which could be used to unpack .cab file or read the content from .cab file. (I know that there is a DLL/lib in windows platform or advanced version of .NET).

Is there any good idea to reach my target?


Solution

  • The only thing I'm aware of is the CAB Installer SDK, which supports uncompressed and compressed CABs.

    EDIT

    The CAB Installer SDK source is now available free over on CodePlex.