Installing CSM from the Command Line

Use command-line options to silently install CSM client, server, and web applications. After installation, you can configure CSM servers using the Server Manager or Command-Line Configure Utility.

Each section contains commands and examples for running the "silent installer." Variables with spaces require the quotes be proceeded by a \. Spaces are not required, however.

CSM Client Installation

Use the following command to install CSM clients:

                            msiexec /i "Cherwell Client.msi" /qn <InstallParametersHere>
                        

The following example installs the Desktop Client and administrator tools (CSM Administrator, Report Runner, System Upgrade/Restore, and Test LDAP) for all Users:

                            msiexec /i "Cherwell Client.msi" /qn ALLUSERS=1 INSTALLLEVEL=10
                        
Options Definition Values
                                            ALLUSERS
                                        
Install Client application files for all Users or current User.
  • 1 = Files are installed for all Users (anyone who uses the computer). (default)
  • 2 = Files are installed for current User.
                                            INSTALLDIR
                                        
Location/folder in which to install the Client application files. [ProgramFilesFolder]Cherwell Service Management (default)
                                            INSTALLLEVEL
                                        
Install the CSM Desktop Client only or both CSM Desktop and CSM Administrator.
  • 1 = Client component only installed.
  • 10 = Client and Administrator components installed.

CSM Server Installation

During the server installation, the Server Manager and all servers and services are installed and you must select which to enable by default.

Use the following command to install the Cherwell Server:

                            "Cherwell Server.exe" /s /v /qn <InstallParametersHere>
                        
Options Definition Values
                                            INSTALLDIR
                                        
Location/folder in which to install the Server installation files. [ProgramFilesFolder]Cherwell Service Management (default)

Database Options

Note: The Connection Wizard is launched only for 1, 2, or 3.

                                            DATABASETYPE
                                        
Select the database components to install. Cherwell Demo Database = 1 (default)
Cherwell Starter (empty) Database = 2
Upgrade an existing database = 3
Don't load any data = 4
Service Options
                                            SERVERSERVICE
                                        
Enable the Application Server.
  • 1=Enable (default)
  • 0= Disable
                                            BUSINESSPROCSERVICE
                                        
Enable the Automation Process microservice.
  • 1 = Enable (default)
  • 0 = Disable
                                            SCHEDULINGSERVICE
                                        
Enable the Scheduling microservice.
  • 1 = Enable (default)
  • 0 = Disable
                                            EMAILSERVICE
                                        
Enable the E-mail and Event Monitoring microservice.
  • 1 = Enable (default)
  • 0 = Disable
Logon Information
                                            IS_NET_API_LOGON_USERNAME
                                        
Cherwell Server account username that will be used to launch the CSM services. Must be in the form Domain/username.

Blank (default), but information is required.

Format: DOMAIN\Username if the server is joined by a domain. Example: Cherwell\Henri.Bryce

                                            IS_NET_API_LOGON_PASSWORD
                                        
Cherwell Server account password that will be used to launch the CSM services. Blank (default), but information is required.
                                            USE_SP_ACCOUNT
                                        
Use special account (Windows account) to launch the CSM services.
  • 1 = True
  • 0 = False (default)
                                            CWSPECAILACCOUNT
                                        
Name of special account that will be used to launch the CSM services.
  • LocalSystem (default)
  • LocalService
  • NetworkService
                                            CWAPPSERVERIIS
                                        
Install the Application Server as a web application under IIS.
  • 2 = True (default)
  • 0 = False

CSM Web Applications

Use the following command to install the CSM Web Applications:

                            "Cherwell Browser Apps.exe" /s /v/qn <InstallParametersHere>
                        

The following example will install to the default directory, will not install the Portal, but will install the Web-Forms, and will update Auto-Deploy:

                            "Cherwell Browser Apps.exe" /s /v /qn CWPORTAL=0 CWWEBFORMS=1 CWAUTODEPLOY=1
                        
Options Definition Values
                                            CWPORTAL
                                        
Install Cherwell Portal.
  • 1 = Install (default)
  • 0 = Do not install
                                            CWBROWSWERCLIENT
                                        
Install Cherwell Browser Client.
  • 1 = Install (default)
  • 0 = Do not install
                                            CWAUTODEPLOY
                                        
Install Auto-Deploy.
  • 1 = Install (default)
  • 0 = Do not install
                                            CWWEBSERVICES
                                        
Install the Web Service.
  • 1 = Install (default)
  • 0 = Do not install
                                            CWWEBFORMS
                                        
Install Web-Forms.
  • 1 = Install
  • 0 = Do not install (default)
                                            INSTALL_AUTODEPLOY
                                        
Select whether or not to update the Auto-Deploy configuration.
  • 1 = Update (default)
  • 2 = Installs the Auto-Deploy feature silently. Note: If you install silently, you must manually configure Auto-Deploy to wrap and distribute the most current client installation.
                                            INSTALLDIR
                                        
Location/folder in which to install the Browser application files. [ProgramFilesFolder]Cherwell Browser Applications (default)

Cherwell Service Monitor

Use the following command to install the Cherwell Service Monitor:

                            "Cherwell Service Monitor.exe" /s /v /qn <InstallParametersHere> 
                        

The following example installs the Service Monitor for a set of Users who can modify the Server Manager but sets it as read-only for everyone else:

                            "Cherwell Service Monitor.exe" /s /v /qn CW_USERSWHOCANALWAYSEDIT="user list" CW_DEFAULTACCESSISREADONLY="1""
                        

The following options are set only through the command line.

  • View: Read-only access (example: View service status in the Service Monitor but no edit).
  • Edit: Full read/write access (example: View service status AND start/stop/restart services in the Service Monitor.
Available Settings Definition Default Values
                                            INSTALLDIR
                                        
Location/folder in which to install the Service Monitor files. [ProgramFilesFolder]\Cherwell Service Management (default)
                                            CW_ISPRODUCTION
                                        
Type of server to be monitored.
  • True = Production (default)
  • False = Non-production
                                            CW_TITLE
                                        
Title to be displayed on the Service Monitor web page. Cherwell Service Monitor (default)
                                            CW_DEFAULTACCESSISREADONLY
                                        

Default access to the Service Monitor.

This is the default access for Users who are not explicitly given access through the Read/Write Permissions List.

  • 1 = Read-only (default)
  • 0 = Access denied.
                                            CW_USERSWHOCANALWAYSEDIT
                                        
List of Users who explicitly can edit the Service Monitor (full read/write access).

Blank (default), but information is required.

Comma delimited list of Users.

Format: DOMAIN\Username if the server is joined by a domain. Example: Cherwell\Henri.Bryce

                                            CW_USERSWHOCANNEVEREDIT
                                        
List of Users who explicitly cannot edit the Service Monitor (access denied).
                                            CW_ANONYMOUSUSERCANVIEW
                                        
Non-authenticated Users can view but not edit (read-only access).
  • True
  • False (default)
                                            CW_ANONYMOUSUSERCANEDIT
                                        
Non-authenticated Users can edit the Service Monitor (full read/write access).
  • True
  • False (default)
                                            CW_ADMINISTRATORSCANVIEW
                                        
Allow Users in the OS-level Administrator Group to view but not edit the Service Monitor (read-only access).
  • True
  • False (default)
                                            CW_ADMINISTRATORSCANEDIT
                                        
Allow Users in the OS-level Administrator Group to edit the Service Monitor (full read/write access).
  • True
  • False (default)