DameWare Home  |   Product History  |   Community  |   Sales  |   Resellers  |   Contact Us  
Article - #400113   

 

How to install DRS and MRC from the command line (silent installs)

 
The information in this article applies to:
  • DameWare NT Utilities - Version(s) 9.0 and later
  • DameWare Mini Remote Control
  • - Version(s) 9.0 and later

The MSI and EXE installers for DameWare Remote Support and MRC version 9.0 include command-line arguments that allow you to enter licensing information when installing from the command line. This enables users to deploy and license DRS or MRC to several remote systems without being prompted to enter licensing information every time. The installers also include arguments to allow you to install MRC silently in evaluation mode.

Notes
The following notes apply to all of the procedures in this article.

  • Run the commands in these procedures with Administrator permissions.
  • Avoid using relative paths when running these commands. Since you are running them with Administrator permissions, the working directory is %WINDIR%\System32.
  • If you provide an invalid license key, or the activation fails, the installer installs the program in evaluation mode.
  • The arguments for licensing the products silently through a proxy server do not work with proxy servers that require authentication.
  • Use the INSTALLSTANDALONE option when installing version 11.0 or later.
  • The Arguments section includes optional arguments that are not included in these examples.

Procedures
Complete the following procedures according to your deployment scenario.

To install DRS or MRC using the MSI installer and a valid license:

Use the following command at the command line or in an installer script. Replace the variables in this example according to the values in the Arguments section.

msiexec /i fileName.msi /qn APPDIR="C:\Program Files\DameWare programName\" reboot=reallysuppress INSTALLSTANDALONE=1 SILENT=yes SA_KEY=licenseKey SA_EMAIL=emailAddress

To install DRS or MRC using the EXE installer and a valid license:

Use the following command at the command line or in an installer script. Replace the variables in this example according to the values in the Arguments section.

fileName.exe /args "/qn APPDIR=\"C:\Program Files\DameWare programName\" reboot=reallysuppress INSTALLSTANDALONE=1 SILENT=yes SA_KEY=licenseKey SA_EMAIL=emailAddress"

To install DRS or MRC using the MSI installer in evaluation mode:

Use the following command at the command line or in an installer script. Replace the variables in this example according to the values in the Arguments section.

msiexec /i fileName.msi /qn APPDIR="C:\Program Files\DameWare programName\" reboot=reallysuppress INSTALLSTANDALONE=1 SILENT=yes

To install DRS or MRC using the EXE installer in evaluation mode:

Use the following command at the command line or in an installer script. Replace the variables in this example according to the values in the Arguments section.

fileName.exe /args "/qn APPDIR=\"C:\Program Files\DameWare programName\" reboot=reallysuppress INSTALLSTANDALONE=1 SILENT=yes

To install DRS or MRC using the MSI installer in centralized mode:

Use the following command at the command line or in an installer script. Replace the variables in this example according to the values in the Arguments section.

msiexec /i fileName.msi /qn APPDIR="C:\Program Files\DameWare programName\" reboot=reallysuppress SILENT=yes INSTALLSTANDALONE=0 CENTRALSERVERHOSTNAME=centralServerHostName

To install DRS or MRC using the EXE installer in centralized mode:

Use the following command at the command line or in an installer script. Replace the variables in this example according to the values in the Arguments section.

fileName.exe /args "/qn APPDIR=\"C:\Program Files\DameWare programName\" reboot=reallysuppress SILENT=yes" INSTALLSTANDALONE=0 CENTRALSERVERHOSTNAME=centralServerHostName

Arguments
The following define the arguments used in the commands in this article.

  • /args "argumentsHere" (EXE only) instructs the EXE installer to pass the arguments inside the quotation marks along to the MSI installer.
  • APPDIR="C:\Program Files\DameWare programName\" specifies the installation directory. Enter Remote Support or Mini Remote Control in place of programName to use the default installation directory.
  • SILENT=yes instructs the installer to install the program silently.
  • SA_KEY=licenseKey (licensed only) contains the license key for licensed installations. Enter a valid license key in place of licenseKey.
  • SA_EMAIL=emailAddress (licensed only) contains the administrator's email address for licensed installations. Enter a valid email address in place of emailAddress.
  • SA_FIRST_NAME=firstName (licensed - optional) contains the administrator's first name. Enter the first name in place of firstName.
  • SA_LAST_NAME=lastName (licensed - optional) contains the administrator's last name. Enter the last name in place of lastName.
  • SA_PHONE_NUMBER=phoneNumber (licensed - optional) contains the administrator's phone number. Enter a valid phone number in place of phoneNumber.
  • SA_PROXY_ADDRESS=proxyAddress (licensed - optional) contains the address of the proxy server the program should use to connect to the SolarWinds licensing server. If applicable, enter the proxy server's IP address or hostname in place of proxyAddress.
  • SA_PROXY_PORT=proxyPort (licensed - optional) contains the port the program should use to connect to the proxy server. If applicable, enter the proxy port number in place of proxyPort.
  • INSTALLSTANDALONE=1 (centralized) installs the standalone version. Use 0 to install the centralized version.
  • CENTRALSERVERHOSTNAME=centralServerHostName (centralized) contains the 's host name.
  • CENTRALSERVERPORT=portNumber (centralized) contains the port number to the . By default, this is 6133.
  • CSUSER=centralServerUser (centralized) contains the login name of a Central Server user.
  • CSPASSWORD=centralServerUserPassword (centralized) contain the password of the Central Server user.

The following arguments are included with version 10.0.

Note: If your proxy user name or proxy password contains spaces, you must add additional quotation marks or escaped quotation marks.

If you install using the exe file, you must use five escaped quotation marks, as in the following example.

fileName.exe /args "/qn APPDIR=\"C:\Program Files\DameWare programName\" reboot=reallysuppress SILENT=yes SA_KEY=licenseKey SA_EMAIL=emailAddress SA_PROXY_ADDRESS=proxyAddress SA_PROXY_PORT=proxyPort SA_PU=\"\"\"\"\"proxy user with spaces\"\"\"\"\" SA_PP=\"\"\"\"\"proxy password with spaces\"\"\"\"\"

If you install using the MSI file, you must use three quotation marks, as in the following example.

msiexec /i fileName.msi /qn APPDIR="C:\Program Files\DameWare programName\" reboot=reallysuppress SILENT=yes SA_KEY=licenseKey SA_EMAIL=emailAddress SA_PROXY_ADDRESS=proxyAddress SA_PROXY_PORT=proxyPort SA_PU="""proxy user with spaces""" SA_PP="""proxy password with spaces"""

  • SA_PU=proxyUser (licensed ? optional) contains the proxy user name. If applicable, enter the proxy user name in place of proxyUser. Add the appropriate number of escaped or regular quotation marks if the user name contains spaces.
  • SA_PP=proxyPassword (licensed ? optional) contains the proxy password. If applicable, enter the proxy password in place of proxyPassword. Add the appropriate number of escaped or regular quotation marks if the password contains spaces.
  • SA_AA=activationAmount (licensed ? optional) contains the number of licensed users to activate on the Mobile Gateway. Add the appropriate number of licensed users to activate.
 


Knowledgebase Article: #400113
Category: How To Guides
O/S Info: All
Last Revised: Tuesday, May 21, 2013
Keywords: bat file, cli, command prompt, login script, remote install, silent installer
Description: This article describes the arguments used to install DRS or MRC at the command line, and provides examples of the complete commands for four different scenarios.
How would you rate this article?
 12345678910 
Not HelpfulVery Helpful
Please tell us why you are rating this article this way.
If you need to enter a URL please remove "http://".
Please note: this field is required for negative responses.

No HTML please.                          
 

12345678910
Average rating:  6.5 out of 10.
22 people have rated this article.
   ©2003-2014 SolarWinds. All rights reserved.
    Terms of Use  |  Privacy Policy  |  Trademarks  |  EULA  |  End of Life