Identifying the COM Version Number of an Install

To use Mentor automation in a design environment where multiple software installs/releases exist on the same machine, you must know the COM version number for each of the installs.

You can also automate the process of identifying the COM Version number using methods in the ReleaseEnvServer Object.

Procedure

Use any of the following methods to determine the COM Version Number:

If you want to...

Do the following...

View the COMVersion.xml file

  1. In a text editor, open <install>/SDD_HOME/standard/COMVersion.xml

  2. Search for “PROG_ID_VER”

    The <data> element contains the COM version number.

    Example:

<var>  
	<name>PROG_ID_VER</name> 
	<data>3</data>  
	<append>replace</append>  
</var> 
  1. Repeat these steps for each install.

Run ReleaseReader command

  1. Do one of the following, based on your operating system.

    • Windows 7—Choose Start > release_name > Administrative Tools > MGC PCB Command Window VX1.

      Note: You can also type mgcmd in the Start menu’s search box.

    • Windows 8—In the Apps view, under release_name > Administrative Tools, click MGC PCB Command Window VX.1.

      Note: You can also type mgcmd in the Start screen to invoke the search app.

  2. In the command window, type ReleaseReader.

    The output lists each COM_VERSION variable on the machine.

    Example:

 
[HKLM32_MGC_4] 
  SDD_VERSION: PADSProVX.1 
	SDD_HOME: 
      C:\MentorGraphics\PADSProVX.1\SDD_HOME 
	SDD_PLATFORM: win32 
	COM_VERSION: 3 
 
[HKCU_MGC_2] 
	SDD_VERSION: EEVX.1 
	SDD_HOME: C:\MentorGraphics\EEVX.1\SDD_HOME 
	SDD_PLATFORM: win32 
	COM_VERSION: 9