Using HxGN NetWorks Comms Setup in Batch Mode - HxGN NetWorks - 11.01.2501 - Installation & Upgrade - Hexagon

HxGN NetWorks Comms Installation

ft:locale
en-US
Product
HxGN NetWorks
Subproduct
Comms
Search by Category
Installation & Upgrade

Comms setup supports batch or silent mode to install or remove the application and to configure the client applications.

You can use the Hexagon Setup Manager (Setup.exe) in a batch or silent mode from a command line. If needed, map a drive to the deployment media.

Use these options as different command line parameters:

/n[i|r|s|x]

/c[s]

/u[s]

Replace references to the software Name parameter in your installation syntax. Open the ProductInfo.xml file located on the installation media in the \\Repository\<SoftwareDeploymentFolderName> folder. The ProductInfo element, Name attribute value is your software Name. In the ConfigurableApps section, each ConfigurableApp element’s Name attribute value specifies the name of a Configuration (see configurable application below).

Example:

The Name attribute value for the Comms Viewer Client is ViewerClient. The DisplayName is Client.

Name="ViewerClient" DisplayName="Client"

The following table describes available parameters:

Option

Parameters

Description

/s

<Name>

Silent mode.

/n

[i|r|s|x]

OR

[i] PROPERTY=VALUE

Installs/repairs and uninstalls or returns installation status of a software application. The /n option requires the /s <Name> option above.

i—Used to install new software. It is a default parameter. Windows Installer public property values can be appended at the end of this parameter. Spaces are not allowed between property name, =, and property value.

When a property value contains spaces, you must enclose that property value with a triple backslash and double quotation mark (\\\").

Example

INSTALLDIR=\\\"c:\Test Installations\\\"

r—Optional. Repairs existing software installation in silent mode.

x—Optional. Uninstalls software in silent mode.

s—Optional. Returns installation status.

The following are <SoftwareName> public properties:

INSTALLDIR—Destination folder for the installation.

ACCEPT_EULA—End user license agreement flag.

  • 0—The EULA is not accepted. This is the default value.

  • 1—The user has read and accepted the EULA. The software does not install until the value is 1.

The following are some commonly used standard Windows Installer public properties:

ADDLOCAL—Installs a list of available applications delimited by commas. Application names are case sensitive.

REMOVEUninstalls a list of installed applications delimited by commas. Application names are case sensitive.

The following are the valid exit code values:

  • 0—Not installed

  • 1—Installed version is up to date.

  • 2—Installed version is lower.

  • 3—Installed version is higher.

  • -1—Unable to find installation status

/c

[s]

ConfigurableApplicationName

OR

ConfigurableApplicationName

[<ParameterList>]

Launches an installed configurable application’s configuration program or returns configuration status. Requires the /s <SoftwareName> option above.

A configuration program can support configuration, repair, and removal including silent/batch mode support based on its requirements.

Each configuration program defines its own parameter list. A configuration program can take parameters using command line arguments or a file (for example, an .xml, .config or any other file type). The file name and location can be an input command line argument.

When a property value contains spaces, you must enclose that property value with a triple backslash and double quotation mark (\\\").

Example

INSTALLDIR=\\\"c:\Test Installations\\\"

s—Returns configuration status. The following are the valid exit code values:

  • 0—Not configured

  • 1—Configured

  • -1—Unable to find configuration status

/u

[s]

OR

[<ParameterList>]

Launches authored complementary software setup within the script \Installs\<SoftwareDeploymentFolderName>\ ComplementarySoftwareSetup.wsf or returns the complementary setup install status. Requires the /s option.

A complementary software setup program can support installation, repair, and removal including silent/batch mode support based on its requirements. A complementary software setup program defines its own parameter list. A complementary software setup program can take parameters using command line arguments or a file (for example, .xml, .config or any other file type). The file name and location can be an input command line argument.

When a property value contains spaces, you must enclose that property value with a triple backslash and double quotation mark (\\\").

Example

INSTALLDIR=\\\"c:\Test Installations\\\"

s—Returns complementary software setup status. The following are the valid exit code values:

  • 0—Not configured

  • 1—Configured

  • -1—Unable to find complementary software install status

ENABLESELFREPAIR is an optional property that enables the NetWorks Comms self-repair facility. Occasionally, the self-repair facility has degraded performance. If you experience performance problems and have found no other explanation for these problems, it is recommended to set ENABLESELFREPAIR to 0 or disabled. The default is 1 or enabled.