How to Accomplish a Quiet CMAK Profile Installation (265264)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows 95
- Microsoft Windows 98
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows NT Server, Enterprise Edition 4.0
- Microsoft Windows NT Server 4.0
This article was previously published under Q265264 SUMMARY
In Microsoft Windows 2000, after you create a profile using Connection Manager Administration Kit (CMAK) version 1.2, you can use the /q switch to perform a quiet installation of the profile on systems running Microsoft Windows 95 or Microsoft Windows 98. When you use the /q switch to install the profile on systems running Microsoft Windows NT 4.0 or Windows 2000, the user running the installation is still prompted once for information. This article outlines how to install the profile so that the user is not prompted to enter information.
MORE INFORMATION
To install a CMAK profile, users can run the executable file (.exe) that is generated by CMAK when the profile is created.
When the installation is performed with the /q switch, the installation is performed quietly. This switch reduces the interaction that the user has with the profile installation program. During installation, the user who is installing the profile is prompted to choose whether the profile is available to all users or only to the user installing the profile. The user also has the option of adding a shortcut to the desktop with the same prompt.
The profile can also be installed without prompting the user who is installing the profile (this method is also known as a silent installation). This method is useful when administrators want to reduce the interaction users have with the installation process. The following command-line switches should be used to perform a completely silent installation: profile_name.exe /q:a /c:"cmstp.exe profile_name.inf /i"
The optional parameter q:a suppresses the prompt that asks users whether they want to install the profile. It bypasses errors and animations, and makes the assumption that it is a Microsoft Systems Management Server installation and that the user has local administrator rights.
The command /c:cmstp.exe tells the extraction program to override the installation defaults. The Cmstp.exe file is the actual executable file within the package that installs the profile.
The /i switch automatically creates an icon on the desktop and suppresses the dialog box that prompts the user to choose which users the profile is available to and to decide whether to add a shortcut to the desktop.
The device information file (.inf) listed in the command line specifies the .inf file used for the installation. The command line must specify the full, local path to the .inf file.
Clients only need access to the profile's .exe file during installation. If you specify Cmstp.exe in the command line, the Cmstp.exe file is not required to exist on target systems prior to the installation of the profile. The installation process of the profile has the following dependencies:
advapi32.dll
kernel32.dll
gdi32.dll
user32.dll
comctl32.dll
version.dll For additional information about command-line switches, click the article number below
to view the article in the Microsoft Knowledge Base:
Q266793 Command-line Parameters Available to Support Connection Manager (CMAK) Profile Installations
NOTE: Windows 9 x clients are required to reboot after installing the CMAK profile. To accomplish this during a silent install the /r:is switch must be added. For example:
profile_name.exe /q:a /r:is /c:"cmstp.exe profile_name.inf /i"
Modification Type: | Minor | Last Reviewed: | 1/18/2006 |
---|
Keywords: | kbhowto KB265264 |
---|
|