AutoMate BPA Server 7 Command-Line Installation

Applies To: AutoMate BPA Server 7
Published: 9/21/09

Introduction

AutoMate BPA Server can be installed using simple command-line parameters through the use of the Windows Installer executable MSIExec.exe and the AutoMate MSI file. This allows for easy mass deployment and simplified automated installations.
What You Will Need
1.The AutoMate BPA Server installation MSI file (which can be found as a separate download link on the Account Maintenance Page),
2.AutoMate Serial Code.
3.AutoMate 4, AutoMate 5, or AutoMate 6 Serial Code (if you are upgrading to AutoMate BPA Server).
 
Installing AutoMate  BPA Server
To install the product, see the following sample command-line:
msiexec.exe /i pathname of the AutoMate BPA Server MSI file /qn INSTALLLEVEL="Install Options in Number" AGENTNAME="AgentName" AGENTHOST="AgentHost" ADMINUSERNAME="Username" ADMINPASSWORD="Password" AGENTPORT="Port Number"
where the pathname to AutoMate MSI file is the full path to the AutoMate installation.
The installation would then proceed silently in the background.
The /i switch option specifies an install and /qn switch option indicates a silent install with no user dialogs. For example, if the MSI file was on the C:\ drive in folder AutoMateInstall, the command line would look like this:
msiexec.exe /i "C:\AutoMateInstall\AutoMate.msi" /qn
NOTE: The command line above installs all the components on the same machine.
The following options apply when installing:
·   Default InstallLevel is 100 that will install all Server, Agent and Development tools.
·   Only Server InstallLevel = 20
·   Only Devlopment Tools InstallLevel = 10
·   Only Agent InstallLevel = 30
The installation would then proceed silently in the background.
 
Installation Logging
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 detailed log:
msiexec.exe /i "C:\AutoMateInstall\AutoMate.msi" /qn /L*v AMInstall.log
 
Entering a Serial Code
You are not required to enter the serial code during installation like you did in Automate 6. To enter a serial code, first open Server Management Console, connect to desired Server and then go to Options -> Licensing and manually enter the serial code.
 
Upgrading to BPA Server
While upgrading from Automate 4, 5 or 6, follow the same scenario as above. When you enter the serial code of Automate BPA Server 7, it will ask you for the upgrade code to enter in the second text box. When you enter the proper Upgrade code the registration will be updated accordingly.
 
Installing AutoMate BPA Agent
AutoMate Agent installations work the same way as AutoMate BPA Server installs except that you must supply the following properties:
 
·   AGENTNAME: Name of the Agent
·   AGENTHOST: Name of the Automate where the agent wants to connect
·   ADMINUSERNAME: AutoMate default administrator username  (Optional)
·   ADMINPASSWORD: Automate default administrator password  (Optional)
·   AGENTPORT: Agent Port. Default is "7100" (Optional)
 
For example:
msiexec.exe /i <path to AutoMate BPA Agent MSI file> /qn AGENTNAME="AgentName" AGENTHOST="AgentHost" ADMINUSERNAME="Username" ADMINPASSWORD="Password" AGENTPORT="Port Number"
where <path to AutoMate Agent MSI file> is the full path to the AutoMate Agent installation. The /i switch option specifies an install and /qn switch option indicates a silent install with no user dialogs. For example, if the MSI file was on the C:\ drive in folder AutoMateInstall. the command line would look like this:
msiexec.exe /i "C:\AutoMateInstall\AutoMate Agent.msi" /qn AGENTNAME="DevTest" AGENTHOST="ServTest" ADMINUSERNAME="administrator" ADMINPASSWORD="password" AGENTPORT="7101"

Installation Properties

The following properties can be used during a command-line installation of AutoMate BPA Server 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
AGENTNAME
Name of the agent to be used during the initial agent registration process. The installed agent will be referred to by the server using this name.
AGENTNAME=”DevTest”
AGENTHOST
The hostname of the AutoMate BPA Server that the agent is to contact on startup.
AGENTHOST=”ServTest”
AGENTPORT
Optional. The port of the AutoMate Server that the agent is to contact on startup.  Default value is 7100.
AGENTPORT=”7101”
ADMINUSERNAME
Optional. An administrator username on the server with the credentials to add this agent.  Default value is ”administrator”.
ADMINUSERNAME=”administrator”
ADMINPASSWORD
Optional. Password for the user account specified by ADMINUSERNAME. This will be used to authenticate the user during the agent registration process.
ADMINPASSWORD=”password”
INSTALLLEVEL
Optional. AutoMate Server Install only.  Determines what features are to be installed. Use value 20 to install only the AutoMate Server.  
INSTALLLEVEL=”20”