我如何包括.NET Compact Framework的一个智能设备CAB项目的一部分? [英] How do I include the .NET Compact Framework as part of a Smart Device CAB Project?

查看:186
本文介绍了我如何包括.NET Compact Framework的一个智能设备CAB项目的一部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个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.

这篇关于我如何包括.NET Compact Framework的一个智能设备CAB项目的一部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆