Partager via


Using an Enrollment .cfg File (Windows CE 5.0)

Send Feedback

The .cfg file specifies enrollment details that Enroll.exe uses in the process. These details are particular to your certificate server setup. For more information about the .cfg file, see Configuring Enroll.exe.

To add the .cfg file and enroll.exe to the CEPC OS design

  1. If you are using Enroll.cfg, perform the following steps:

    1. Copy Enroll.cfg from %_WINCEROOT%\Public\Common\Sdk\Samples\Enroll directory to %_WINCEROOT%\Public\<OS Design Name>\RelDir\CEPC_X86Release.
    2. Modify the file as needed. At a minimum, you must type the certificate server name in this file.

    - or -

    If you are using a different .cfg file, copy the .cfg file to %_WINCEROOT%\Public\<OS Design Name>\RelDir\CEPC_X86Release.

  2. From the Workspace window, select the ParameterView tab.

  3. Expand the <OS Design Name> parameters node and navigate to %_WINCEROOT%\<Emulator or CEPC>\Project Specific Files. Double-click Project.bib to open the file for editing.

    The Project.bib file is located in %_WINCEROOT%\Public\<OS Design Name>\WINCE500\<CEPC or Emulator>\Oak\Files directory.

  4. Add the following statements to the Project.bib file and then save the file.

    <.cfg Filename>       $(_FLATRELEASEDIR)\<.cfg Filename>              NK  
    enroll.exe       $(_FLATRELEASEDIR)\enroll.exe              NK  
    

    This puts the .cfg and enroll.exe files in the \Windows directory on your device.

    For example, if you are using Enroll.cfg, you would type:

    enroll.cfg       $(_FLATRELEASEDIR)\enroll.cfg              NK  
    enroll.exe       $(_FLATRELEASEDIR)\enroll.exe              NK  
    
  5. From the Build OS menu, select Make Run-Time Image.

After the process is completed, your image is ready to download.

See Also

Certificates OS Design Development | Creating an Enrollment Environment | Configuring Enroll.exe

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.