Cmstp
Installs or removes a Connection Manager service profile. Used without optional parameters, cmstp installs a service profile with default settings appropriate to the operating system and to the user's permissions.
Syntax
Syntax 1: ServiceProfileFileName**.exe /q:a /c:"cmstp.exe** ServiceProfileFileName**.inf** [/nf] [/ni] [/ns] [/s] [/su] [/u]"
Syntax 2: cmstp.exe [/nf] [/ni] [/ns] [/s] [/su] [/u] "[Drive**:][Path]ServiceProfileFileName.inf"**
Parameters
ServiceProfileFileName .exe : Required for Syntax 1 but not valid for Syntax 2. Specifies, by name, the installation package that contains the profile that you want to install.
/q:a : Required for Syntax 1 but not valid for Syntax 2. Specifies that the profile should be installed without prompting the user. The verification message that the installation has succeeded will still appear.
[ Drive : ][ Path ] ServiceProfileFileName .inf : Required. Specifies, by name, the configuration file that determines how the profile should be installed. The [Drive**:**][Path] parameter is not valid for Syntax 1.
/nf : Specifies that the support files should not be installed.
/ni : Specifies that a desktop icon should not be created. This parameter is only valid for computers running Windows 95, Windows 98, Windows NT 4.0, or Windows Millennium Edition.
/ns : Specifies that a desktop shortcut should not be created. This parameter is only valid for computers running Windows 2000 or Windows XP.
/s : Specifies that the service profile should be installed or uninstalled silently (without prompting for user response or displaying verification message).
/su : Specifies that the service profile should be installed for a single user rather than for all users. This parameter is only valid for computers running Windows 2000 or Windows XP.
/u : Specifies that the service profile should be uninstalled.
/? : Displays help at the command prompt.
Remarks
/s is the only parameter that you can use in combination with /u.
Syntax 1 is the typical syntax used in a custom installation application. To use this syntax, you must run cmstp from the directory that contains the ServiceProfileFileName.exe file.
Examples
The following examples show possible uses of cmstp in relation to a fictional service profile called Fiction and its associated files.
To install the Fiction service profile without any support files, type:
fiction.exe /c:"cmstp.exe fiction.inf /nf"
To silently install the Fiction service profile for a single user, type:
fiction.exe /c:"cmstp.exe fiction.inf /s /su"
To silently uninstall the Fiction service profile, type:
fiction.exe /c:"cmstp.exe fiction.inf /s /u"
Formatting legend
Format |
Meaning |
---|---|
Italic |
Information that the user must supply |
Bold |
Elements that the user must type exactly as shown |
Ellipsis (...) |
Parameter that can be repeated several times in a command line |
Between brackets ([]) |
Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} |
Set of choices from which the user must choose only one |
Courier font |
Code or program output |