How do I include the .NET Compact Framework as part of a Smart Device CAB Project?

前端 未结 2 1756
萌比男神i
萌比男神i 2021-02-06 18:59

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

相关标签:
2条回答
  • It can be done with some work. See Automatically Install Multiple CAB Files to a Windows Mobile/Pocket PC Device from codeproject.com

    0 讨论(0)
  • 2021-02-06 20:03

    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.

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

    0 讨论(0)
提交回复
热议问题