如何从.CAB文件读取_setup.xml文件的内容
平台有wince5.0和6.0。 如您所知,我们可以在*.inf文件中添加一些信息,例如在生成.CAB之前安装.cab时将一些数据写入注册表。 现在,我的程序运行在wince5.0和6.0上。我想从 _setup.xml 检索版本信息(因为我在生成 .cab 文件之前将其设置在 *.inf 中)。 但似乎没有可用于解压 .cab 文件或从 .cab 文件中读取内容的库或类。 (我知道Windows平台或.NET的高级版本中有一个DLL/lib)。
有什么好主意可以实现我的目标吗?
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?
我唯一知道的是 CAB Installer SDK ,支持未压缩和压缩的 CAB。
编辑
CAB Installer SDK 源代码现已在 CodePlex 上免费提供。
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.