AutoMate 7 Command-Line Installation

Applies To: AutoMate 7
Published: 9/21/09 , modified September 21, 2009

Introduction

AutoMate 7 can be installed using simple command-line parameters through the use of the Windows Installer executable MSIExec.exe along with the AutoMate 7 MSI file. This allows for easy mass deployment and simplified automated installations.

What You Will Need
1.AutoMate 7 installation MSI file (which can be found as a separate download link on the Account Maintenance page).
2.AutoMate 7 Serial Number.
3.AutoMate 5, AutoMate 6, Serial Number (if upgrading to AutoMate 7).
Installing AutoMate Professional
To install AutoMate Professional, use the following command-line:
msiexec.exe /i <path to AutoMate MSI file> SERIALCODE="AM7-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx" /qn
where <path to AutoMate MSI file> is the full path to the AutoMate installation, and SERIALCODE is set to your AutoMate Serial Code. The /i switch specifies an install, and /qn indicates a silent install with no user dialogs. For example, if the MSI file was on the C:\ drive in folder AutoMateInstall, and our serial code was AM7-1234-5678-1234-5678, the command line would look like this:
msiexec.exe /i "C:\AutoMateInstall\AutoMate6.msi" SERIALCODE="AM7-12345-56780-12345-56780-12345" /qn
Upgrading from AutoMate 5 or AutoMate 6
When upgrading from AutoMate 5 or AutoMate 6, you must also specify the original serial code with the UPGRADESERIAL keyword. For example, if our AutoMate 6 serial code was "AM6-1234-1234-1234-1234", the command line would look like this:
msiexec.exe /i "C:\AutoMateInstall\AutoMate7.msi" SERIALCODE="AM7-12345-56780-12345-56780-12345" UPGRADESERIAL="AM6-1234-1234-1234-1234" /qn
The installation would then proceed silently in the background. The install is complete when the AutoMate "A" icon appears in the system tray near the system clock.
Creating an Install Log
To create a log file to trace the progress of the installation, use the /L option and specify the level of logging. For example, to create a verbose log, the command-line would look like this:
msiexec.exe /i "C:\AutoMateInstall\AutoMate6.msi" SERIALCODE="AM7-12345-56780-12345-56780-12345" /qn /L*v AMInstall.log
The SERIALCODE property sets the serial code for the AutoMate product and must be present in order for the product to register properly with the system.
NOTE: While the serial code itself is not case sensitive, the keyword SERIALCODE must be in uppercase.
Enabling Remote Administration
To enable Remote Administration (which is necessary for AutoMate Premium Agent installations but optional for Professional and Premium Developer installs), use the REMOTEPASSWORD property:
msiexec.exe /i "C:\AutoMateInstall\AutoMate6.msi" SERIALCODE="AM7-12345-56780-12345-56780-12345" REMOTEPASSWORD="mypassword"
You can further specify a TCP/IP port other than the default (7877) using the REMOTEPORT property:
msiexec.exe /i "C:\AutoMateInstall\AutoMate6.msi" SERIALCODE="AM7-12345-56780-12345-56780-12345" REMOTEPASSWORD="mypassword" REMOTEPORT="8100"
Installing AutoMate Premium Developer
AutoMate Premium installations work the same way as AutoMate Professional installs but include an additional install property, LOGGINGDATASOURCE, to activate external database logging. To enable external database logging, you must first know the datasource connection string to use. If you have already configured the datasource on an installation of AutoMate Premium using the AutoMate Task Administrator's System Options, the datasource string can be found in the registry under:
HKEY_LOCAL_MACHINE\Software\Network Automation\AutoMate 7\Task Service\Logging
Value name: DBExternalDatasource
Apply this entry after the SERIALCODE properties. For example:
msiexec.exe /i <path to AutoMate MSI file> SERIALCODE="AM7-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx" LOGGINGDATASOURCE="<datasource string>" /qn
NOTE: This property is used only if the SERIALCODE property is a valid AutoMate Premium Developer or AutoMate Premium Agent serial code.
Installing AutoMate Premium Agent
AutoMate Premium Agent installations work the same way as AutoMate Professional and AutoMate Premium Developer installs except it is required that a REMOTEPASSWORD property be supplied. Because AutoMate Premium Agent installs do not supply their own AutoMate Task Administrator, the Task Service cannot be configured without remote administration. Follow the instructions for the AutoMate Professional installation above together with the REMOTEPASSWORD property instructions.
NOTE: If the agent is installed without a remote password, the product will need to be uninstalled and reinstalled with the correct properties.
Installation Properties
The following properties can be used during a command-line installation of AutoMate 7. Properties and their values are separated by equal signs and should appear after the MSIExec.exe command but before MSIExec switch options.
Property Name
Description
Example
SERIALCODE
The AutoMate 7 serial code used to register the software. If this is not provided, AutoMate will install as evaluation set for 30 days.
SERIALCODE="AM7-12345-12345-12345-12345-12345"
UPGRADESERIAL
The AutoMate 5 or AutoMate 6 serial code used in association with the AutoMate 7 upgrade serial code. If SERIALCODE specified an upgrade serial code, this property must be used as well.
UPGRADESERIAL="AM6-1234-1234-1234-1234"
DBDATASOURCE
Premium Only
A valid database connection string to use for External Database Logging. If this property is supplied, External Database Logging is automatically enabled after installation is completed. This property is ignored if SERIALCODE is not a valid Premium serial code.
DBDATASOURCE="<connectionstring>"
REMOTEPASSWORD
Required for Premium Agent. Optional for other editions
Enables Remote Administration and set the password to the value of REMOTEPASSWORD.  Must be supplied for Premium Agent installations, otherwise administration of product is not possible.
REMOTEPASSWORD="mypassword"
REMOTEPORT
Optional
Use a port other than the default 7877 for Remote Administration connections.
REMOTEPORT="8100"