- Navigate to C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 SDk\Tools
- Double-click on the SDKSamplePrivDeveloper.pfx file
- Press the "Next" button on the "Welcome to the Certificate Import Wizard" dialogue
- Press the "Next" button on the "File to Import" dialogue
- Press the "Next" button on the "Password" dialogue
- Press the "Next" button on the "Certificate Store" dialogue
- Press the "Finish" button on the "Completing the Certificate Import Wizard" dialogue
- Press "Ok" on "Completed" dialogue
- Repeat the process for the SDKSampleUnprovDeveoper.pfx file
Having installed the certificates you will now need to sign your CAB's, DLL's and EXE's against them. This is done as follows:
- Open your Microsoft Visual Studio project solution
- Select from the menu Project->Properties
- Expand the "Configuration Properties" tree in the left-hand pane
- Expand the "Authenticode Signing" in the "Configuration Properties" tree
- Select "General"
- In the right-hand pane change the "Authenticode Signature" selection to "Yes"
- Select the "Certificate" field and press the "browse" ellipse to the left
- Select the certificate you wish to sign against marked "TEST USE ONLY - Sample Privileged Root for Windows Mobile SDK" or "TEST USE ONLY - Sample UnPrivileged Root for Windows Mobile SDK" and hit OK
- Select "OK" to properties dialogue
On your next build Visual Studio will now automatically sign your executable.
No comments:
Post a Comment