Signing the .Cab File

2/9/2009

After the .cer certificate is prepared, you must sign the .cab file to distribute it to the managed Windows Mobile device. After you verify that the .cab file was signed successfully, it is ready to distribute to mobile clients.

To sign the .cab file

  1. On the publishing computer, start the Mobile Device Manager Software Distribution console.

  2. In the Software Distribution console, expand <servername>, expand Packages, right-click Software Packages, and then choose Create.

    The Create Package Wizard starts.

  3. On the Introduction page, choose Next.

  4. On the Software Package page, choose Browse.

  5. In the Select File dialog box, navigate to the .cab file that you want to publish, select the .cab file, and then choose Open.

  6. On the Software Package page, check Sign cabinet file, and then choose Browse.

  7. In the Save As dialog box, navigate to a location where you want to save the signed .cab file, type a name for the signed .cab file, and then choose Save.

  8. On the Software Package page, in the Private key section, choose Browse.

  9. In the Private Key dialog box, navigate to the location where you saved the .pfx file from the previous "Creating the .pfx Certificate" section, select the .pfx file, and then choose Open.

  10. On the Software Package page, type the password if you supplied one from the previous section, and then choose Next.

    The Signing Package dialog box displays the progress for signing the .cab file.

  11. In the Signing Package dialog box, choose OK to confirm that the package was successfully signed and saved.

  12. On the Package Title page, type a title and description for the package, and then choose Next.

  13. On the Target Devices page, make the appropriate selection, and then choose Next.

  14. On the Target Operating Systems page, make the appropriate selection, and then choose Next.

  15. On the Device Languages page, make the appropriate selection, and then choose Next.

  16. On the Package Dependencies page, make the appropriate selection, and then choose Next.

  17. On the Registry Dependencies page, make the appropriate selection, and then choose Next.

  18. On the Permit Uninstall page, make the appropriate selection, and then choose Next.

  19. On the Create Installation Package page, review your configuration options, and then choose Create.

  20. On the Completion page, choose Finish.

To verify that the .cab file was successfully signed

  1. Start Windows Explorer, and navigate to the location where you saved the signed .cab file. You specified this location in step 7 above.

  2. Right-click the signed .cab file, and then choose Properties.

  3. In the Properties dialog box, on the Digital Signatures tab, select the appropriate Name of signer, and then choose Details.

  4. In the Digital Signature Details dialog box, on the General tab, under Digital Signature Information, verify that the text reads The digital signature is OK.

See Also

Concepts

Signing .Cab Files in Packages