After you build a project with the Build CAB File for Pocket PC Distribution option, you can check the PocketBuilder Output window or the Err.log file for a description of any errors in the build process.
If something goes wrong in the creation of the INF file or the BAT file, or in executing the cabwiz.exe to create the final CAB files, you are likely to see the following message in the Output window:
CAB Information File Generation Error
If no error messages display in the Output window, but a CAB file is still not generated, the error might be due to one of the following reasons:
The generated INF file is somehow incorrect
The generated BAT file is somehow incorrect
The cabwiz.exe, makecab.exe, or cabwizsp.exe files are corrupted or missing from the PocketBuilder support\cabwiz directory
You can check the INF and BAT files in any text editor and you can reinstall the support\cabwiz directory from the PocketBuilder setup program.
For deployment to a Smartphone device, PocketBuilder uses the Microsoft Smartphone Cab Wizard (cabwizsp.exe) to generate CAB files. You must place this file in the support\cabwiz directory before you can generate a CAB file for these platforms.The wizard executable is available in the Tools directory of the Smartphone 2003 SDK. The SDK download is available from the Microsoft Web site.If you still cannot generate a CAB file from the PocketBuilder project, you should clear the Create CAB File for Distribution check box in the Project painter.
The Output window displays the following message when CAB file generation is successful:
CAB Information File Generation Starting
Created: D:\DirectoryName\ExeName.inf
Created: D:\DirectoryName\ExeName_makecab.bat
CAB File(s) Generated in directory: D:\DirectoryName
------- Finished Deploy of ExeName_test
In this output message example, DirectoryName is the name of the project directory and ExeName is the name of the project executable.