views:

599

answers:

1

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?

A: 

THere is no way to get a CAB Project to install and run anotehr CAB file - it's a limitation of the CAB system. 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.

ctacke