Silent Installation of Discovery Robots
This section describes procedures for a silent installation of the Discovery Robots. See UI Setup Wizard of Discovery Robots to install using the UI Setup Wizard.
When you run a silent install of the Discovery Robots, you can simply execute the installation file DiscoveryRobotSetup.exe
; or you can choose to:
-
Run the installation file with a START/WAIT command that let's you see the exit codes of the installation when it completes; or
-
Include installation parameters in the command line; or
-
Both
If you choose to add parameters in the command line, Silent mode installation supports the inclusion of the following installation parameters:
Parameter Name |
Default Value (if unspecified/leave blank) |
Description |
---|---|---|
InstallFolder |
|
Folder in which the Discovery Robot files will be installed |
AddToStartup |
|
Determines whether the Discovery Robot will run automatically each time a user of the machine logs in to Windows |
messagesBrokerHost |
|
Of the Discovery Server
|
stealthMode |
|
Determines whether the robot's icon will appear in the Windows taskbar:
|
persistRecords |
|
Determines whether a copy of the robot's will be maintained on the robot (in addition to syncing to the server). Setting this parameter to |
START_ROBOT |
|
Launches the Discovery Robot after installation |
CaptureScreenshots |
|
Determines whether screenshots are collected when recording. Setting this parameter to |
PDDR_KEYS_PATH |
Installation Path |
This points to the directory where the keys file for the connection between the robot and the server is located. |
standaloneMode |
|
Stand Alone Mode allows you to run the robot without a connection to the server. This means that the robot is not uploading the recording to the server, it is just storing it locally. For more details, see this section: Standalone Discovery Robots |
HashUserName |
|
|
messagesBrokerProtocol |
|
|
messagesBrokerPort |
|
|
To run the discovery robot installation package silently:
-
Access the command prompt and run as an administrator.
-
Change directory to the location of where you copied the installation files by typing in:
CD {Folder location}
. -
Hit <ENTER>.
-
Based on your installation preferences:
-
To simply run the installation file, type in:
DiscoveryRobotSetup.exe -silent
-
To see the exit codes of the installation when it completes, type in:
START/WAIT DiscoveryRobotSetup.exe -silent
-
To specify parameters to either of option a or b above: add the parameters to the command line. The command line would look like this when parameters are specified:
-
When using START/WAIT:
-
When not using START/WAIT:
-
Immediately after installation completes, run the ECHO command with the %errorlevel% parameter, by typing in the command line:
ECHO %errorlevel%
.The exit codes are shown in the command line as follows:
-
0 = success
-
1602 = user canceled
-
1641, 3010 = success, but must reboot to finish install
-
START/WAIT DiscoveryRobotSetup.exe [Parameter1=Value1 Parameter2=Value2 Parameter3=Value3] -silent
DiscoveryRobotSetup.exe [Parameter1=Value1 Parameter2=Value2 Parameter3=Value3] -silent
Parameters must be specified using exact parameter names. For example,
DiscoveryRobotSetup.exe /Silent InstallFolder="C:\The folder\The Company\The PDDR"
-
-
-
During installation the system may restart one or more times. Following restart, Discovery Robot installation will resume right where it left off.
-
You can view an exit code following installation when you install using a START/WAIT command, as explained above:
-
Continue by configuring the Discovery Server address and additional Discovery Robot settings as required.
-
When done configuring Discovery Robot settings, restart the robot.
-
Right-click the robot's tray icon, and select Quit
-
Run
{MainRobotFolder
}/pddr.exe
to start the robot
-
For example, CD C:\FolderName\
The {MainRobotFolder} is the folder in which the files were installed:
-
By default, this folder is
C:\Program Files\PDDR
-
If you specified a different location during installation, the {
MainRobotFolder
} is the folder you specified
Immediately after installation completes, run the ECHO command with the %errorlevel% parameter, by typing in the command line: ECHO %errorlevel%
.
The exit codes are shown in the command line as follows:
-
0 = success
-
1602 = user canceled
-
1641, 3010 = success, but must reboot to finish install