.
Version 1.0. Beginner. Advanced Experts. Removing Unigraphics™ interface ...
Removing Unigraphics™ interface Beginner
Advanced
[email protected] © 1996–2008 M-Quest Software AG, Switzerland
Experts
Version 1.0
Prerequisites for this workshop • • • •
You are familiar with the operating system You have administrator rights The M-Quest suite is installed The interface M-Quest / Unigraphics is established
Continue to read what this workshop can do for you …
Remark: Please takes note, that the name Unigraphics™ is a registered trade mark. We will use the name Unigraphics in this workshop without the trade mark symbol.
Removing Unigraphics™ interface © 1996–2008 M-Quest Software AG, Switzerland
2
In this workshop you learn • How you remove with M-Admin the interface M-Quest / Unigraphics with few clicks • How you can manually remove the interface from Unigraphics • How you can remove the Unigraphics program module from the M-Quest Environment
Let us start now …
Removing Unigraphics™ interface © 1996–2008 M-Quest Software AG, Switzerland
3
Removing the M-Quest interface from Unigraphics … 1. Start M-Admin from the icon on the workspace, over the Windows start menu or directly from the M-Quest start directory 2. Select the radio button “Cleanup this workstation” 3. Push the button [Next]
1
2
3 Removing Unigraphics™ interface © 1996–2008 M-Quest Software AG, Switzerland
4
Removing the M-Quest interface from Unigraphics 1. Choose next the Unigraphics version(s) which you do not want to use with M-Quest anymore 2. Push the button [Uninstall] x. Follow the instructions of the assistant
Information: The assistant brings all files specified by MQuest into the original state. The files are then that way again like before the installation of the M-Quest interface! 2 1 3
4
Removing Unigraphics™ interface © 1996–2008 M-Quest Software AG, Switzerland
Important: M-Quest uses special comments to indicate the sectors in other files. If these are changed or even removed by you, M-Quest cannot restore the file any more! # -----------------------------[MQUEST_START]--------------DO-NOT-REMOVE# This are the declaration of M-Quest to initialize the interface # inside … # … # ------------------------------[MQUEST_END]---------------DO-NOT-REMOVE-
5
Removing M-Quest interface from Unigraphics manually M-Admin modifies only two files in Unigraphics. The call is made via a specifically command script which is linked to the Desktop.
… UGII_CAE_AFUAPP=${UGII_BASE_DIR}\ugstructures\ftk\afuapp.jar # -------------------------[MQUEST_START]--------------DO-NOT-REMOVEMQ_UG_VER = nx5 MQ_BASE_DIR = C:\Shared\mquest2005 MQ_ROOT_DIR = C:\Shared\mquest2005\binary\i686_windows # MQ_UG_PRINT_FILE = ${MQ_ROOT_DIR}\mplot.ugraf.${MQ_UG_VER}.dll MQ_UG_SETUP_FILE = ${MQ_ROOT_DIR}\mplot_setup.ugraf.${MQ_UG_VER}.dll MQ_UG_SHOT_FILE = ${MQ_ROOT_DIR}\mshot.ugraf.${MQ_UG_VER}.dll # UGII_CGM_DEFAULTS = ${MQ_BASE_DIR}\fonts\ugraf_cgm.map # --------------------------[MQUEST_END]---------------DO-NOT-REMOVE…
1. Open the Unigraphics environment file %UGII_ENV_FILE% 2. Remove all lines between the comments [MQUEST_START] and [MQUEST_END] 3. Edit the Unigraphics customer menu file %UGII_CUSTOM_DIRECTORY_FILE% 4. Remove all lines between the comments [MQUEST_START] and [MQUEST_END] 5. Remove the shortcut in the start directory %MQ_BASE_DIR%\run_win\Unigraphics NX5 6. Remove the command script %MQ_UGRAF_MODULE_DIR%\ugraf_nx5.cmd 7. That’s all!
Detail view of the file %UGII_ENV_FILE%
… # # Customer modifications can follow on here # # ------------------------[MQUEST_START]--------------DO-NOT-REMOVE# # UNIGRAPHICS \ M-QUEST - INTERFACE # # At this place, all icons and menus for Unigraphics are defined. # We decide not to copy all this files in the native Unigraphics # installation. This makes the installation much safer. # ${MQ_BASE_DIR}\interface\ugraf\toolbar_nx3 # -------------------------[MQUEST_END]---------------DO-NOT-REMOVE…
Detail view of the file %UGII_CUSTOM_DIRECTORY_FILE%
Removing Unigraphics™ interface © 1996–2008 M-Quest Software AG, Switzerland
6
Removing of Unigraphics program module from the M-Quest Suite ... MQ_MLOCK_LOG_DIR = %MQ_MLOCK_DIR%\log MQ_MLOCK_LOG_FILE = mld_%COMPUTERNAME%.log # ------------------------------------------------------------# This variables declares the available interfaces. When one # of this application is started and the environment variable # "MQ_XXXXX_MODULE" is set M-Quest will check this directory # for settings and tools. # MQ_IDEAS_MODULE_DIR = %MQ_BASE_DIR%\interface\ideas #MQ_UGRAF_MODULE_DIR = %MQ_BASE_DIR%\interface\ugraf # ------------------------------------------------------------...
Detail view of the file „mquest_win.env“
M-Admin does not offer any assistant for sale to deinstall a product. This step must be executed manually. 1. Remove first all Unigraphics interfaces with the help of M-Admin 2. Edit the M-Quest environment file “mquest_win.env” and mark the corresponding variable as a comment 3. Remove the complete folder %MQ_BASE_DIR%\interface\ugraf 4. That’s all!
Information: M-Quest Suite does not create any Windows™ Registry entries. The definition is set in the M-Quest environment file. Variables which point directly to a product must therefore be indicated as a comment (do not delete them!).
Removing Unigraphics™ interface © 1996–2008 M-Quest Software AG, Switzerland
7
Summary 1. If an Unigraphics installation is connected with M-Admin, this information stored in the Registry file “%MQ_HOST_REG_DIR%\\madmin.mqr” 2. If you liked to remove a M-Quest interface from Unigraphics , start M-Admin and mark the desired version 3. If the Unigraphics version is deactivated, then no interface is established or the interface was executed by another computer (see position 1) 4. With M-Admin only the files specified by M-Quest are modified and the Unigraphics installation is not removed at any time 5. With M-Admin you can remove several Unigraphics versions at the same time
Removing Unigraphics™ interface © 1996–2008 M-Quest Software AG, Switzerland
8