Script error and incorrect WDIR after installing a new release or switching releases with the Configurator

Document created by andrew_audova on Feb 28, 2012Last modified by andrew_audova on Feb 28, 2012
Version 2Show Document
  • View in full screen mode

IF you are running different Configurator programs to switch versions, as a result of:

 

  • Multiple EE/XE/PADS/IND Flow releases installed to different target locations                                             
    • A different Configurator.exe in each <target>\win32 folder location.
  • One or more EE/XE/PADS/IND Flow releases, AND, SystemVision standalone installed to the same target location.                                             
    • A <target>\win32\sv_configurator.exe to configure for SystemVision standalone
    • A <target>\win32\configurator.exe to configure for EE/XE/PADS/IND Flow releases.

 

THEN, you will need to run an additional step during the switching process, which is the Configurator in "-uninstall" or "-clean" mode, before running the Configurator to switch over to the desired version.

 

To resolve the problem (incorrect WDIR):

  • For the current version that you are using, run the following command (fill in the <target> field):

 

For EE/XE/PADS/IND Flows:

  <target>\win32\configurator.exe -uninstall

For SystemVision standalone:

  <target>\win32\sv_configurator.exe -uninstall

  • Remove the WDIR environment variable if it still exists
  • Check for the PATH environment variable (as either a user-defined or system-defined variable). If any paths exist which reference the %SDD_HOME% or %MGC_HOME%, remove them. Make sure you keep a semi-colon character and no space, between each path entry.
  • Run the configurator.exe again, this time without the "-uninstall"

 

For EE/XE/PADS/IND Flows:

  <target>\win32\configurator.exe

For SystemVision standalone:

  <target>\win32\sv_configurator.exe

Recommended version switching procedure (to avoid this problem):

  • For the version you are currently configured to, run:

 

For EE/XE/PADS/IND Flows:

  <target>\win32\configurator.exe -uninstall

For SystemVision standalone:

  <target>\win32\sv_configurator.exe -uninstall
  • For the version you want to configure over to, run:

 

For EE/XE/PADS/IND Flows:

  <target>\win32\configurator.exe

For SystemVision standalone:

  <target>\win32\sv_configurator.exe

 

Examples:


#1:

EE 7.9.2 and EE 7.9.3 are installed to different target locations, C:\MentorGraphics7.9.2 and C:\MentorGraphics7.9.3, respectively.

NOTE: This is not the recommended configuration. For EE/XE/PADS/IND Flows it is best to install all releases into the same target (by default: C:\MentorGraphics) that way you run the same Configurator program every time (therefore no need to run the additional "-uninstall" or "-clean" step).

 

To switch from EE 7.9.2 to EE 7.9.3 the two commands would be:

  C:\MentorGraphics7.9.2\win32\configurator.exe -uninstall
  C:\MentorGraphics7.9.3\win32\configurator.exe

 

To switch from EE 7.9.3 to EE 7.9.2 the two commands would be:

  C:\MentorGraphics7.9.3\win32\configurator.exe -uninstall
  C:\MentorGraphics7.9.2\win32\configurator.exe

#2:

EE 7.9.3 and SystemVision 5.8 standalone are installed to the same target location, C:\MentorGraphics. Since both releases use different Configurator programs (configurator.exe and sv_configurator.exe, respectively), you need to run the Configurator in "-uninstall" or "-clean" mode as part of the switching process.

 

To switch from EE 7.9.3 to SystemVision 5.8 standalone the two commands would be:

  C:\MentorGraphics\win32\configurator.exe -uninstall
  C:\MentorGraphics\win32\sv_configurator.exe

 

To switch from SystemVision 5.8 standalone to EE 7.9.3 the two commands would be:

  C:\MentorGraphics\win32\sv_configurator.exe -uninstall
  C:\MentorGraphics\win32\configurator.exe

Note: These commands can be added to a .bat script to automate the process

For more details refer to the "What Happens When Switching Between Releases or Flows” section in the Configurator documentation (configurator.pdf for EE/XE/PADS/IND Flow or sysvis_cfgr_ug.pdf for SystemVision).

Also in this document is information on "Running Configurator from Command Line" which can be helpful for automating the setting of the WDIR and the licensing.

Attachments

    Outcomes