AutoMate 6 Command-line Install

Applies To: AutoMate 6, AutoMate 5
Published: 3/4/05 , modified October 30, 2008


AutoMate 6 can be installed using simple command-line parameters through the use of MSIExec and the AutoMate 6 MSI file available for download on the Account Maintenance site. This allows for easy mass deployment and simplified automated installations.

What Will You Need

  1. The AutoMate 6 installation MSI file (which can be found as a separate download link on the Account Maintenance Page), and
  2. Your AutoMate 6 Serial Code
  3. Your AutoMate 4 or AutoMate 5 Serial Code (if you are upgrading to AutoMate 6)

Installing AutoMate Professional

To install the product, use the following command-line:

msiexec.exe /i <path to AutoMate MSI file> SERIALCODE="AM6-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 AM5-1234-5678-1234-5678, the command line would look like this:

msiexec.exe /i "C:\AutoMateInstall\AutoMate6.msi" SERIALCODE="AM6-12345-56780-12345-56780-12345" /qn

When upgrading from AutoMate 4 or AutoMate 5, you must also specify the original serial code with the UPGRADESERIAL keyword. For example, if our AutoMate 5 serial code was "AM5-1234-1234-1234-1234", the command line would look like this:

msiexec.exe /i "C:\AutoMateInstall\AutoMate6.msi" SERIALCODE="AM6-12345-56780-12345-56780-12345" UPGRADESERIAL="AM5-1234-1234-1234-1234" /qn

The installation would then proceed silently in the background. The install is complete when the AutoMate icon appears in the system tray near the system clock.

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:

msiexec.exe /i "C:\AutoMateInstall\AutoMate6.msi" SERIALCODE="AM6-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 that while the serial code itself is not case sensitive, the keyword SERIALCODE must be in uppercase.

To enable Remote Administration (which is necessary for AutoMate Enterprise Agent installations but optional for Professional and Enterprise Developer installs), use the REMOTEPASSWORD property:

msiexec.exe /i "C:\AutoMateInstall\AutoMate6.msi" SERIALCODE="AM6-12345-56780-12345-56780-12345" REMOTEPASSWORD="mypassword"

You can further specify a TCP/IP port other than the default (7677) using the REMOTEPORT property

msiexec.exe /i "C:\AutoMateInstall\AutoMate6.msi" SERIALCODE="AM6-12345-56780-12345-56780-12345" REMOTEPASSWORD="mypassword" REMOTEPORT="8100"

Installing AutoMate Enterprise Developer

AutoMate Enterprise 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 Enterprise using the AutoMate Task Administrator's System Options, the datasource string can be found in registry:

HKEY_LOCAL_MACHINE\Software\Network Automation\AutoMate 6\Task Service\Logging Value name: DBExternalDatasource

Apply this entry after the SERIALCODE properties. For example:

msiexec.exe /i <path to AutoMate MSI file>SERIALCODE="AM6-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx" LOGGINGDATASOURCE="<datasource string>" /qn

Note again that this property is used only if the SERIALCODE property is a valid AutoMate Enterprise Developer or AutoMate Enterprise Agent serial code.

Installing AutoMate Enterprise Agent

AutoMate Enterprise Agent installations work the same way as AutoMate Professional and AutoMate Enterprise Developer installs except it is required that a REMOTEPASSWORD property be supplied. Because AutoMate Enterprise 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.

If the agent is installed without a remote password, the product will need to be uninstalled and reinstalled with the correct properties.

More Information

The AutoMate MSI files are standard Microsoft Windows Installer packages, and therefore can be installed using msiexec.exe provided the SERIALCODE property is set on the command line. See the following articles for more information about using msiexec.exe for installations: