Templates and Connection Profile Files

Updated: April 8, 2009

Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server 2008 Foundation, Windows Server 2008 R2, Windows Server 2012, Windows Vista

You can edit connection profile files to customize functions and features that are not controlled through the CMAK wizard. To do this advanced customization, you can edit two sets of connection profile files:

  • The template files that are used by the CMAK wizard to build all connection profiles

  • The files that are built when you run the CMAK wizard to create a specific connection profile

Connection profile files consist of the following file types:

  • Service provider (.cms) files. The .cms files specify the configuration of the phone book and most of the other functions of your connection profiles. Most advanced customization for a connection profile is done by editing the .cms file for that connection profile.

  • Connection profile (.cmp) files. The .cmp files contain information specified by the user. Because users can overwrite this information, any changes you make to this file will be available only the first time the connection profile is used. Editing this file allows you to provide a first-time-only population of user information. For example, you can fill in the user name, the password, and the phone number fields for the first user to install and open your connection profile.

  • Information (.inf) files. The .inf files specify the installation information for your connection profiles. Although you can edit some setup and uninstall information in an .inf file, you should test the installation after you make the changes. Information files cannot be edited from the CMAK wizard Advanced Customization page. To edit them, you must use a text editor.

  • Connection profile (.sed) files. The .sed files contain the instructions for building a self-extracting executable (.exe) file for your connection profiles. You should never edit any .sed file.

ImportantImportant
You should not edit these files without a basic understanding of system configuration files. Troubleshooting changes to service-profile files is difficult, so you should be careful if you modify them. Read section and key descriptions carefully. It is advisable to make a backup of these files before you edit them.

ImportantImportant
Do not save template files in Unicode.

You can edit template files, specific connection profile files, or both, depending on whether you want to apply your customization options to all connection profiles or to a specific connection profile only.

When you install CMAK, the following template files are installed in the \Program Files\CMAK\Support folder:

  • Template.cms

  • Template.cmp

  • Template.inf

  • Template.sed

These files contain the default settings that the CMAK wizard uses to build connection profiles. If you want to incorporate the same custom functions in all connection profiles that you build, edit the template files before building the connection profiles. You must edit the template files with a plain-text editor, such as Notepad. You cannot edit template files with the CMAK wizard.

Generally, you should edit only the .cms template file.

noteNote
Changes you make to the template files apply only to subsequent new connection profiles you build using the CMAK wizard.

When you use the CMAK wizard to build a connection profile, the wizard creates a self-extracting executable (.exe) file and several other files containing the settings that you specify. The connection profile files are saved in the \Program Files\CMAK\Profiles\ProfileType\ProfileFileName folder, where ProfileType is either “Previous releases” or “Windows 7 and Windows Vista”. All connection profile files have the name ProfileFileName, which you specify in the CMAK wizard. In addition to the .exe file, the wizard creates the following files for each connection profile:

  • ProfileFileName.cms

  • ProfileFileName.cmp

  • ProfileFileName.inf

  • ProfileFileName.sed

Changes to template files are reflected only in profiles built after you make the change. If you want profiles built before you make the change to match the template, you must update the profile. To incorporate template changes into a built file, you must run the CMAK wizard again.

For more information, see Deciding What to Customize, Uses for Advanced Customization, and Finishing Customization After Running the CMAK Wizard.

Community Additions

ADD
Show: