How to check which Commerce Server 2002 edition is installed (884122)



The information in this article applies to:

  • Microsoft Commerce Server 2002
  • Microsoft Commerce Server 2002 Feature Pack 1
  • Microsoft Commerce Server 2002 SP1
  • Microsoft Commerce Server 2002 SP2
  • Microsoft Commerce Server 2002, Service Pack 3 (SP3)

INTRODUCTION

Microsoft Commerce Server 2002 is available in the following four editions:
  • Enterprise Edition
  • Standard Edition
  • Developer Edition
  • Evaluation Edition
The Commerce Server Manager does not display the installed edition of Commerce Server 2002. This article describes how to determine which edition is installed.

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

MORE INFORMATION

To determine which edition of Commerce Server 2002 is installed, use one of the following methods:

View the Custom Header Value for the application

  1. Click Start, point to Programs, point to Microsoft Commerce Server 2002, and then click Commerce Server Manager.
  2. Expand Internet Information Services, expand the server name, and then expand the Web site that is hosting the Commerce Server application.
  3. Right-click the Commerce Server application, and then click Properties.
  4. On the HTTP Headers tab, under Custom HTTP headers, choose the custom header for Commerce Server, "COMMERCE-SERVER-SOFTWARE", and then click Edit.

    The Commerce Server edition will be displayed in the Add/Edit Custom HTTP Header window under Custom Header Value.

View the Commerce Server key in the registry

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
  1. Click Start , click Run, type regedit, and then click OK.
  2. In Registry Editor, locate the following key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\E54AD93E6E9BD214EBEDFE7DCBD1C A6A

    The Product name key will display the Commerce Server edition.

Use a Visual Basic Script to display the Commerce Server edition

  1. Start Notepad.
  2. Paste the following code into Notepad:
    SKU_STANDARD             = &h7C576D69 
    SKU_ENTERPRISE           = &h373BF9D9 
    SKU_EVAL                 = &h30956DC6 
    SKU_DEVELOPER            = &h34DE96A1   
    VALUE_VALIDATE           = &hDA973ABC  
    VALUE_SKU                = &h8237A0DF
    VALUE_SKU_UPGRADE        = &h936C4D7A   
    VALUE_DAYS_LEFT          = &hA1D58F2B   
    
    Set o = CreateObject("Commerce.sku")
    sku = o.queryvalue(VALUE_SKU)
    skuName = "Unknown"
    if sku = SKU_DEVELOPER then skuName = "Developer"
    if sku = SKU_EVAL then skuName = "Evaluation"
    if sku = SKU_ENTERPRISE then skuName = "Enterprise"
    if sku = SKU_STANDARD then skuName = "Standard"
    wscript.echo "The currently installed Commerce Server edition is: " & skuName
    
  3. On the File menu, click Save.
  4. In the Save window, click All Files in the Save as type list, and then save the file with a .vbs (Visual Basic Script) file name extension.
  5. Click Start, click Run, type cmd, and then click OK.
  6. At the command prompt, change to the folder where the .vbs file was saved in step 4.
  7. Type the name of the .vbs file, and then press ENTER. The Commerce Server edition that is installed on the server appears.

Modification Type:MajorLast Reviewed:9/7/2004
Keywords:kbhowto KB884122 kbAudDeveloper kbAudITPRO