我如何包括.NET Compact Framework的一个智能设备CAB项目的一部分?智能、项目、设备、Compact

由网友(山河尽头也陪你)分享简介:我工作的一个VS2008智能设备应用程序,其中包括一个智能设备CAB项目进行部署。我很惊讶地发现,这个安装项目不如有必要,请在.NET Compact Framework。是否可以做这样的?I'm working on a VS2008 Smart Device app that includes a Smart D...

我工作的一个VS2008智能设备应用程序,其中包括一个智能设备CAB项目进行部署。我很惊讶地发现,这个安装项目不如有必要,请在.NET Compact Framework。是否可以做这样的?

I'm working on a VS2008 Smart Device app that includes a Smart Device CAB Project for deployment. I was surprised to find out that this installer project doesn't install the .NET Compact Framework if necessary. Can it be made to do so?

推荐答案

有没有办法让一个CAB项目安装并运行另一个CAB文件 - 这是CAB安装系统(WCELOAD是精确的)的限制。实现这一目标的方法之一是包括CF CAB,然后创建一个自定义安装DLL 它扩展它的内部CAB被取出后。当然,CAB项目具有正确更新的INF文件运行自定义安装DLL没有规定,所以你必须手动构建使用的 CABWIZ 。

There is no way to get a CAB Project to install and run another CAB file - it's a limitation of the CAB installer system (wceload to be exact). One way to achieve it is to include the CF CAB and then create a custom setup DLL that expands it after the internal CAB is unpacked. Of course the CAB project has no provision for correctly updating the INF file to run the custom setup DLL, so you have to manually build the CAB using CABWIZ.

不用说,整个CAB安装程序体系结构留下遗憾的地方。

Needless to say, the entire CAB installer architecture leaves something to be desired.

阅读全文

相关推荐

最新文章