Microsoft KB Archive/884122

= How to check which Commerce Server 2002 edition is installed =

Article ID: 884122

Article Last Modified on 9/7/2004

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition
 * Microsoft Commerce Server 2002 Service Pack 1
 * Microsoft Commerce Server 2002 Service Pack 1
 * Microsoft Commerce Server 2002 Service Pack 2
 * 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, &quot;COMMERCE-SERVER-SOFTWARE&quot;, 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.  Click Start, click Run, type regedit , and then click OK. In Registry Editor, locate the following key:

The  key will display the Commerce Server edition.

Use a Visual Basic Script to display the Commerce Server edition
 Start Notepad.  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(&quot;Commerce.sku&quot;) sku = o.queryvalue(VALUE_SKU) skuName = &quot;Unknown&quot; if sku = SKU_DEVELOPER then skuName = &quot;Developer&quot; if sku = SKU_EVAL then skuName = &quot;Evaluation&quot; if sku = SKU_ENTERPRISE then skuName = &quot;Enterprise&quot; if sku = SKU_STANDARD then skuName = &quot;Standard&quot; wscript.echo &quot;The currently installed Commerce Server edition is: &quot; & skuName  On the File menu, click Save. 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.</li> Click Start, click Run, type cmd, and then click OK.</li> At the command prompt, change to the folder where the .vbs file was saved in step 4.</li> Type the name of the .vbs file, and then press ENTER. The Commerce Server edition that is installed on the server appears.</li></ol>

Keywords: kbhowto KB884122

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.