Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 884122 - Last Review: September 7, 2004 - Revision: 1.2
How to check which Commerce Server 2002 edition is installed
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Â
(http://kbalertz.com/Feedback.aspx?kbNumber=256986/
)
Description of the Microsoft Windows Registry
To determine which edition of Commerce Server 2002 is installed, use one of the following methods:
View the Custom Header Value for the application
- Click Start, point to Programs, point to Microsoft Commerce Server 2002, and then click Commerce Server Manager.
-
Expand Internet Information Services, expand the server name, and then expand the Web site that is hosting the Commerce Server application.
- Right-click the Commerce Server application, and then click Properties.
- 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.
- Click Start , click Run, type regedit, and then click OK.
- 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
- 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("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
- 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.
- Click Start, click Run, type cmd, and then click OK.
- At the command prompt, change to the folder where the .vbs file was saved in step 4.
- Type the name of the .vbs file, and then press ENTER. The Commerce Server edition that is installed on the server appears.
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
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate