NX How to install a UGS Maintenance Release without prompts

2021-10-06T23:26:12Z
NX System Administration

Summary


Details

How to install an NX Maintenance Release without prompts on the Windows operating system.



Solution

 Open a Windows Command Prompt and change directory to the 'ugs_updateXXXX' folder, where the installation script is located. For example, 'ugs_update1202'. In the same command prompt window, verify that UGII_BASE_DIR is set to the correct installed NX folder, for example, 

UGII_BASE_DIR=c:\PRogram Files\Siemens\NX 12.0

then execute the 'ugs_update.bat' script, including the "/v" switch, if you want to turn on verbose mode; e.g. 

cd ugs_updateXXXX 
ugs_update.bat /v

The use of UNC pathnames (e.g. \\server\path) is supported by both ugs_update.bat and run_ugsupdate.exe.

The script supports a "/v" switch to turn on verbose messages while doing the file updates. The default operation of the script is non-verbose.


The script supports a "/d" switch. This will turn off the script confirmation prompts. Useful for running the update in a batch job. 
 
The script also supports a "/p" switch. This will turn off the initial confirmation prompt but it will display the final 'done' prompt. This is useful for running the update in a batch job where a final prompt is desired. 


NOTE: Before running the ugs_update script, please make sure that the environment variable 
%UGII_BASE_DIR% is set to the correct base directory where NX is installed. 


 e.g: set UGII_BASE_DIR="C:\Program Files\Siemens\NX 12.0"


 Or set the variable to the appropriate installed folder on your system.


 SILENT UPDATES: Advanced users may use standard DOS output redirection to install the update silently with no screen displays, except on errors.


 For example, to turn off all output, enter the command:


ugs_update /d >NUL 2>&1 
 
- or - 

 run_ugsupdate.exe >NUL 2>&1



Notes and References


Hardware/Software Configuration

Platform: INTEL
OS: window
OS Version: 764
Product: NX
Application: SYSTEM
Version: V12.0
Function: WNT_OS_ISSUES

Ref: 001-9035993

KB Article ID# PL8003196

Contents

SummaryDetails

Associated Components

Installation