Hello again,
I'm afraid I've run into another stumbling block with the Windows Mobile CAB project in AI. After building the CAB files and incorporating into our larger project, I found that the CE Application Manager (CEAppMgr) rejected the setup .INI file which pointed to the CABs.
After ruling out a problem in the .INI file itself, I started testing with different configurations for the CABs, and eventually realized that turning on the compression setting (Configurations > Media > Compress CAB package) causes the files to be unusable by CEAppMgr. The CABs themselves install fine on Windows Mobile 5 and 6 devices, if you copy them over and install from the device. But CEAppMgr cannot deal with the compression. As soon as I rebuild the CABs with compression off, they can be registered/installed as expected.
This is odd, because in our old CAB builder script, we do definitely use the /compress switch with CabWiz.exe.
The error shows on both Windows XP Professional with ActiveSync 4.5:
And on Windows Vista Business with Mobile Device Center 6.1. Vista is slightly different in that, when invoking CeAppMgr the first time it silently fails, with no error message or event log entry. Calling it a second time causes CEAppMgr to crash outright. This is the event log for the second-time crash:
We really need the compression setting, as we are going to include 3 CAB files with our distribution and they weigh in at about 3 MB each uncompressed (but only 1.2 MB compressed).
I'm happy to provide any additional details to help debug further.
-Chris