To install Batch Services from the command line, run Setup.exe in the BatchServices folder. Setup.exe automatically runs the Windows Installer setup, Intergraph Batch Services.msi.
The following command-line arguments are available:
Required Arguments
SLAACCEPT=yes - Accepts the Software License Agreement.
/v"<arguments>" - Passes options to the Windows Installer setup, Intergraph Batch Services.msi. There are no spaces after the v.
Optional Arguments
/s - Runs Setup.exe in silent mode.
/qn - Runs the Windows Installer setup, Intergraph Batch Services.msi, in silent mode.
INSTALLDIR=<path> - By default, the product is installed to the<WindowsVolume>\Win32App\INGR\BATCH folder. To change the location, enter a different path. For example, enter INSTALLDIR=D:\Intergraph\BatchServices. If spaces exist in the path, you must add \" before and after the path. For example, enter INSTALLDIR=\"D:\Intergraph\Batch Services\".
INTERACTIVE_DESKTOP=0 - By default, on Windows XP, the Batch Server service is setup to interact with the desktop. To disable this behavior, include INTERACTIVE_DESKTOP=0. This setting is not valid with Vista, Windows 7, or later operating systems, and is ignored.
ACCTMAP_USERNAME=domain\username - To run all jobs as the same user, enter an existing domain\username.
ACCTMAP_PWD - Password for the username. Used in conjunction with ACCTMAP_USERNAME.
/Lv*x <path>\Logfilename - Creates a Windows Installer installation log file. If the path or file name contains spaces, you must put \" in front of the path and after the file name, for example: /Lv*x \"C:\Installer Log Files\InstallLog.log\". The path must already exist.
Example Command-lines
C:\>"…\BatchServices\Setup.exe" /s /v"SLAACCEPT=yes /qn"
Installs the setup to the default location without account mapping. By default, on Windows XP, the Batch Server service is set up to interact with the desktop.
C:\>"…\BatchServices\Setup.exe" /s /v"INSTALLDIR=\"C:\Batch Services\" SLAACCEPT=yes INTERACTIVE_DESKTOP=0 /qn"
Installs the setup to C:\Batch Services without account mapping. On Windows XP, the Batch Server service is not set up to interact with the desktop.
C:\>"…\BatchServices\Setup.exe" /s /v"INSTALLDIR=\"C:\Batch Services\" SLAACCEPT=yes INTERACTIVE_DESKTOP=0 ACCTMAP_USERNAME=domain\username ACCTMAP_PWD=password /qn"
Installs the setup to C:\Batch Services with account mapping. On Windows XP, the Batch Server service is not set up to interact with the desktop.
C:\>"…\BatchServices\Setup.exe" /s /v"SLAACCEPT=yes INTERACTIVE_DESKTOP=0 ACCTMAP_USERNAME=domain\username ACCTMAP_PWD=password /Lv*x \"C:\Install Log Files\install.log\" /qn"
Installs the setup to the default location with account mapping, and creates a Windows Installer installation log file. On Windows XP, the Batch Server service is not set up to interact with the desktop.
C:\>"…\BatchServices\Setup.exe" /s /x /v"/qn"
Uninstalls Batch Services in silent mode.