Silent installation of TIBCO Spotfire Node Manager ignores given ports and server name attributes and uses default values

Silent installation of TIBCO Spotfire Node Manager ignores given ports and server name attributes and uses default values

book

Article ID: KB0079099

calendar_today

Updated On:

Products Versions
Spotfire Web Player 10.0 and higher

Description

When using the correct command syntax mentioned in the documentation, the silent installation may ignore most of the parameters like port and server name and instead uses default values. Default command:
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:
nm-setup.exe INSTALLDIR="C:\tibco\tsnm\" NODEMANAGER_REGISTRATION_PORT=9090 NODEMANAGER_COMMUNICATION_PORT=9493 SERVER_NAME=tss.nc.com SERVER_BACKEND_REGISTRATION_PORT=9080 SERVER_BACKEND_COMMUNICATION_PORT=9443 NODEMANAGER_HOST_NAMES=nm78.nc.com,nm78,10.xx.xx.xx NODEMANAGER_HOST=NodeManagerHost -silent -log "C:\Users\user\Log file.log"

The installation parameters in the registry at \HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TIBCO\TIBCO Spotfire Nodemanager 10.0 also has default values set.

Issue/Introduction

This article explains why the Node Manager silent installation ignores given ports and server name and instead uses default values and how to resolve it

Resolution

This will happen if the user running the script has insufficient privileges. You can see an access error "Error 1606. Could not access network location "C:\tibco\tsnm"." from the log file generated at C:\Users\user\Log file.log:
MSI (s) (80:40) [15:19:39:419]: Windows Installer installed the product. Product Name: TIBCO Spotfire Node Manager 10.0. Product Version: 10.0.0. Product Language: 1033. Manufacturer: TIBCO Software Inc. Installation success or error status: 1603.

MSI (s) (80:40) [15:19:39:403]: PROPERTY CHANGE: Adding TSNODEMANAGERDIR property. Its value is 'C:\tibco\tsnm\10.0.0\'.
MSI (s) (80:40) [15:19:39:403]: Note: 1: 1314 2: "C:\tibco\tsnm" 
MSI (s) (80:40) [15:19:39:403]: Note: 1: 1606 2: "C:\tibco\tsnm" 
MSI (s) (80:40) [15:19:39:403]: Note: 1: 2205 2:  3: Error 
MSI (s) (80:40) [15:19:39:403]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1606 
MSI (s) (80:40) [15:19:39:403]: Note: 1: 2205 2:  3: Error 
MSI (s) (80:40) [15:19:39:403]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (80:40) [15:19:39:403]: Product: TIBCO Spotfire Node Manager 10.0 -- Error 1606. Could not access network location "C:\tibco\tsnm".

MSI (s) (80:40) [15:19:39:403]: Note: 1: 1606 2: "C:\tibco\tsnm" 
MSI (s) (80:40) [15:19:39:403]: Note: 1: 2205 2:  3: Error 
MSI (s) (80:40) [15:19:39:403]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1606 
Error 1606. Could not access network location "C:\tibco\tsnm".
MSI (s) (80:40) [15:19:39:403]: Note: 1: 2205 2:  3: Error 
MSI (s) (80:40) [15:19:39:403]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (80:40) [15:19:39:403]: Product: TIBCO Spotfire Node Manager 10.0 -- Error 1606. Could not access network location "C:\tibco\tsnm".

Error 1606. Could not access network location "C:\tibco\tsnm".

To resolve, grant "Full control" to the installation directory ("C:\tibco\" in the example above) for the user running the script or to the "Everyone" group, and then rerun the command.

Additional Information

Doc: Installing a node manager (silently on windows)