Submit a ticketCall us

Quickly Address Software Vulnerabilities
Patch Manager is an intuitive patch management software which extends the capabilities of WSUS and SCCM to not only patch Windows® servers and workstations, and Microsoft® applications, but also other 3rd-party applications which are commonly exploited by hackers. Learn more about our patch management solution.

 

Home > Success Center > DameWare Remote Support & Mini Remote Control > Install DRS and MRC from the command line

Install DRS and MRC from the command line

Created by Michelle Caguimbal, last modified by MindTouch on Jun 23, 2016

Views: 84 Votes: 1 Revisions: 3

Overview

This article describes how to perform a silent installation of the DameWare application either with a .exe file or .msi file. 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.

Environment

  • DameWare Remote Support - Version(s) Version 9.0 and later
  • DameWare Mini Remote Control - Version(s) Version 9.0 and later

Steps

 

Notes:

  • 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.

 

Complete the procedure according to your deployment scenario:

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 SILENT=yes INSTALLSTANDALONE=1 SA_KEY=licenseKey SA_EMAIL=emailAddress SA_FIRST_NAME=firstName SA_LAST_NAME=lastNema /l*+ %temp%\install.log

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 SILENT=yes INSTALLSTANDALONE=1 SA_KEY=licenseKey SA_EMAIL=emailAddress SA_FIRST_NAME=firstName SA_LAST_NAME=lastName /L*V %temp%\Install.log"

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 SILENT=yes INSTALLSTANDALONE=1 /L*V %temp%\Install.log

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 SILENT=yes INSTALLSTANDALONE=1 /L*V %temp%\Install.log"

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 CENTRALSERVERPORT=portNumber CSUSER=userName CSPASSWORD=userPassword /L*V %temp%\Install.log

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 CENTRALSERVERPORT=portNumber CSUSER=userName /L*V %temp%\Install.log"

Arguments

The following define the arguments used in the commands in this article:

Argument Description
/args "argumentsHere" (EXE only) instructs the EXE installer to pass the arguments inside the quotation marks along to the MSI installer
/L*V C:\Install.log Ensures that an Install.log file will be created along installation
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 nargument will ensure that along installation will be created Install.log filename 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 server's host name
CENTRALSERVERPORT=portNumber

(centralized) contains the port number

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 in version 10.0:

Notes:

If your proxy user name or proxy password contains spaces, add quotation marks or escaped quotation marks.

If you install using the exe file, 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"""
Argument Description
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

Last modified
19:04, 22 Jun 2016

Tags

Classifications

Public