×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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
http://www.psi-cad.com

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

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

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

(OP)
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
http://www.psi-cad.com

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

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

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

(OP)
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
http://www.psi-cad.com

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

(OP)
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
http://www.psi-cad.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources