After the .pfx certificate is prepared, you must sign the .cab file to distribute it to the managed Windows Mobile devices. Windows Mobile 6 Professional SDK and Windows Mobile 6 Standard SDK include a CabSignTool utility that lets you sign .cab files, and their contents, in one operation. You can download CabSignTool by using the Windows Mobile 6 Professional SDK and Windows Mobile 6 Standard SDK Refresh Kits. You can download these kits at this Microsoft Web site:


After you install CabSignTool, it appears in the C:\Program Files\Windows Mobile 6 SDK\Tools\Security\CabSignTool\cabsigntool.exe directory.

After you sign the .cab file successfully, it is ready to distribute to mobile clients.

To sign the .cab file

  1. Create a new folder, for example, Sign Folder, in a specific location that you will remember.

  2. Add the designated .cab file to the folder.

  3. Put the .pfx certificate that you created in the previous section in the folder.

  4. At a command prompt, locate the directory that contains Cabsigntool.exe and then run the following command:

    cabsigntool.exe c:\*.cab c:\*.cab -f c:\*.pfx

    The first c:\*.cab reference in the previous command is for the .cab source. The second c:\*.cab reference is the destination of the newly signed .cab file. You must substitute the asterisks with the name values of your .cab files and the name of the .pfx file that you created in the previous section.

See Also