Silent Mode Installation (commandline and batch files)

You can install CRM.launcher in silent mode by running the installer from a commandline shell or a batch file using the -–silent option.

Note: If you run the installer from the commandline shell without the –silent option, then the installation wizard dialog is launched.

The installer also takes the following options:

  • --mode—specify if the installation is for a single user, all users, or for a shared environment (for example, Citrix XenDesk or a Terminal Server).
    Note: If this option is not specified, the default value SINGLE is assumed.
    It takes the following values:
    • ALL — installs CRM.launcher for all users configured on the system
      Note: This mode assumes administrator rights for the installer.
    • SINGLE — installs CRM.launcher for the current user
      Note: This mode assumes the current user.
    • SHARED — installs CRM.launcher as a windows service in a shared environment such as Citrix XenDesktop or Microsoft Terminal Services
      Note: In this mode, CRM.launcher installer creates a Launcher Windows service that runs under a service-user account. And the username and password options are mandatory. Sometimes, in a shared environment like Citrix, credential for the launcher service-user is set up after the installation. For such cases, use the --ignorecredential option to avoid having to provide the username and password. You can also use the --nostart option to prevent the automatic restart of Luncher after installation.
  • --username—specify the name of the user account used to execute the launcher installer. This account is used to run the launcher service.
  • --password—specify the password for the user account used to execute the CRM.launcher installer.
  • --i—specify the path to the installation folder.
  • --nostart—use this option to prevent the Launcher from starting after installation. This is useful when a software distribution tool is used to install CRM.launcher.
  • --ignorecredential—use this option only for SHARED mode installation. This installs CRM.Launcher as a service using the default local system account. The service-user and credentials can be setup later.
Note: After the silent installation, the sc command can be used to change the service-user details. See the following example:
  • sc stop "CRMLauncherServer"
  • sc config "CRMLauncherServer" obj= ".\CrmServiceUser" password= "crmservice- password"
  • sc start "CRMLauncherServer"

Some examples of Silent mode installation

To install CRM.launcher in silent mode, in a shared environment, use the following in a command shell:
CRM.launcher.exe --silent --mode=SHARED --username=Administrator --password=hG&4e%km 
                 --i=C: \Aurea\CRM\launcher
To install CRM.launcher in silent mode, in a shared environment, and service-user details to be provided after the installation, use the following in a command shell:
CRM.launcher.exe --silent --mode=SHARED --ignorecredential --i=C:\Aurea\CRM\launcher --nostart