Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to switch from TC8.3 with NX7.5 and TC9 with NX9 ?

Status
Not open for further replies.

PSI-CAD

Computer
Joined
Feb 13, 2009
Messages
997
Location
FR
Hi,

I use the following method to switch from TC8.3 with NX7.5 and TC9 with NX9.

- Launch Environment Manager as administrator

- Remove NX Manager for Rich Client

- Start again

- Add NX Manager for Rich Client

It works well but it's time consuming

I hope that another method exist with a batch command to launch the configuration.xml file (see attached my configuration file)

Thanks in advance

Regards

Didier


Regards
Didier Psaltopoulos
 
Didier,

Have you tried using the silent mode from the command line? (TEM -s config_file_name.xml)
(the config file can be generated but enabling the "Create Silent Distribution" checkbox in TEM on the third page (Feature Maintenance), specifying the xml file and performing the desired (dry run) steps)

Hope this helps,

Joe
 
Hi Joe,

I tried your suggestion and I have got the folowing message

Exception in thread "Thread-2" java.lang.NullPointerException
at com.teamcenter.install.tem.director.Director.run(Director.java:44)
at java.lang.Thread.run(Unknown Source)

TIA


Regards
Didier Psaltopoulos
 
Didier,

Was this while using the first (of two) "silent" xml "config" for the "uninstall"?

Are you using the same o.s. account (domain\user) to perform this maintenance as was used to perform the initial installation (as captured in the latest installation config file)?

Regards,

Joe
 
Hi Joe,

It works now

I succeed to create two silent installation for TC9 with NX9

One to remove NX Manager for Rich Client

Another one to Add NX Manager for Rich Client

Then I was able to launch:

tem -s uninstall_NXManager.xml
or
tem -s install_NXManager_for_NX9.xml

But I didn't succeed to do the same with TC8.3: The switch to create Silent Installation doesn't exist (have a look at the jpeg file)

TIA

Regards
Didier Psaltopoulos
 
I found another solution by editing the registry

To resume, find below the settings to have TC8.3 with NX7.5 and TC9.1 with NX7.5, NX8.5 or NX9

I have TC8.3 in c:\softs\TC8 and TC9.1 in c:\softs\TC9



Edit the registry
_________________________________________________________________________

HKCR\ugmportalfile\Shell\Open\command: %TPR%\start_nxmanager_NX7.5.bat
Export to c:\softs\TC9\portal\NX75.reg
and
Export to c:\softs\TC8\portal\NX75.reg

HKCR\ugmportalfile\Shell\Open\command: %TPR%\start_nxmanager_NX85.bat
Export to c:\softs\TC9\portal\NX85.reg



HKCR\ugmportalfile\Shell\Open\command: %TPR%\start_nxmanager_NX9.bat
Export to c:\softs\TC9\portal\NX9.reg

_________________________________________________________________________
For TC9
_________________________________________________________________________

Copy c:\softs\TC9\portal\portal.bat to portal_NX7.5.bat, portal_NX85.bat and portal_NX9.bat

Add the following line in c:\softs\TC9\portal\portal_NX75.bat
call regedit /s c:\softs\TC9\portal\NX75.reg

Edit the following lines in c:\softs\tc9\portal\start_nxmanager_NX7.5.bat
set UGII_BASE_DIR=C:\Softs\UGNX7.5
start /B %UGII_ROOT_DIR%\ugs_router -ugm -enable_cancel -version=V25.5 %*


Add the following line in c:\softs\TC9\portal\portal_NX8.5.bat
call regedit /s c:\softs\TC9\portal\NX85.reg

Edit the following lines in c:\softs\tc9\portal\start_nxmanager_NX8.5.bat
set UGII_BASE_DIR=C:\Softs\UGNX8.5
start /B %UGII_ROOT_DIR%\ugs_router -ugm -enable_cancel -version=V26.5 %*


Add the following line in c:\softs\TC9\portal\portal_NX9.bat
call regedit /s c:\softs\TC9\portal\NX9.reg

Edit the following lines in c:\softs\tc9\portal\start_nxmanager_NX9.bat
set UGII_BASE_DIR=C:\Softs\UGNX9
start /B %UGII_ROOT_DIR%\ugs_router -ugm -enable_cancel -version=V27.0 %*
_________________________________________________________________________

For TC8

_________________________________________________________________________

Copy c:\softs\TC8\portal\portal.bat to portal_NX7.5.bat

Add the following line in c:\softs\TC8\portal\portal_NX75.bat
call regedit /s c:\softs\TC8\portal\NX75.reg

Edit the following lines in c:\softs\tc9\portal\start_nxmanager_NX7.5.bat
set UGII_BASE_DIR=C:\Softs\UGNX7.5
start /B %UGII_ROOT_DIR%\ugs_router -ugm -enable_cancel -version=V25.5 %*

_________________________________________________________________________

Start secpol.msc

Ø User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode - Elevate without prompting.

Ø User Account Control: Detect application installations and prompt for elevation – Disabled.

Ø User Account Control: Only elevate UIAccess applications that are installed in secure locations – Disabled.

Ø User Account Control: Run all administrators in Admin Approval Mode – Disabled.

__________________________________________________________________________

I found that if I launch c:\softs\TC9\portal\portal_NX9.bat, I am able to change the NX version without exiting TC9 because It's possible to launch NX85.reg for example :)

I hope this help


Regards
Didier Psaltopoulos
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top