Silent install of Node Manager to non-default drive incorrectly installs to default C: drive or launches installer due to invalid command syntax

Silent install of Node Manager to non-default drive incorrectly installs to default C: drive or launches installer due to invalid command syntax

book

Article ID: KB0079067

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

When installing the TIBCO Spotfire Node Manager silently (for example, see the  Installing a node manager silently (version 7.11) documentation reference) you can install to a non-default drive (other than the C: drive) by specifying the install directory in the parameters. In this situation you may notice either of the unexpected behaviors:
  • The node manager is incorrectly installed to the default drive, and not the non-default installation directory specified in the command executed
  • The execution of the silent installation command launches the Node Manager Installation in GUI instead

Issue/Introduction

This article describes various issues that may be seen during the silent installation of the Node Manager if the correct command syntax for the particular version is not used

Resolution

This issue will be caused if the incorrect command and parameter syntax is used. This can commonly occur if an older command syntax is used (like using the syntax for version 7.12 when trying to install 10.2) or if the command is not properly formatted.

For Spotfire versions 7.13 and higher, the command syntax is:
 nm-setup.exe INSTALLDIR="<node manager installation dir>" NODEMANAGER_REGISTRATION_PORT=83 NODEMANAGER_COMMUNICATION_PORT=84 SERVER_NAME=SpotfireServerName SERVER_BACKEND_REGISTRATION_PORT=81 SERVER_BACKEND_COMMUNICATION_PORT=82 NODEMANAGER_HOST_NAMES=NodeManagerHostNames NODEMANAGER_HOST=NodeManagerHost -silent -log "C:\Users\user\Log file.log"
Example:
 INSTALLDIR="C:\tibco\tsnm" NODEMANAGER_REGISTRATION_PORT=83 NODEMANAGER_COMMUNICATION_PORT=84 SERVER_NAME=SpotfireServerName SERVER_BACKEND_REGISTRATION_PORT=81 SERVER_BACKEND_COMMUNICATION_PORT=82 NODEMANAGER_HOST_NAMES=NodeManagerHostNames NODEMANAGER_HOST=NodeManagerHost -silent -log "C:\Users\user\Log file.log"

While prior to version 7.13, the command syntax was:
 nm-setup.exe /s /v"/qn /l*vx TSS_NM_install.log INSTALLDIR=\"C:\tibco\tsnm\" NODEMANAGER_REGISTRATION_PORT=83 NODEMANAGER_COMMUNICATION_PORT=84 SERVER_NAME=<SpotfireServerName> SERVER_BACKEND_REGISTRATION_PORT=81 SERVER_BACKEND_COMMUNICATION_PORT=82 NODEMANAGER_HOST_NAMES=<NodeManagerHostNames>"

For example, in the below command syntax, the extra \ character at the end of path mentioned for INSTALLDIR (i.e. INSTALLDIR="C:\tibco\tsnm\) would cause the Node Manager installation to start in GUI mode:
User-added image

Deleting the extra \ character at the end per the documented syntax (i.e. INSTALLDIR="C:\tibco\tsnm) and running the command will allow the command to run successfully.
User-added image


 

Additional Information

Doc: Installing a node manager silently (version 7.11) Doc: Installing a node manager silently (version 7.13) Doc: Installing a node manager silently (version 10.1)