WSH 1 first shipped with the Windows NT 4 Option Pack. WSH 1 is also part of Windows 98, but if it isn't active, you must install it as an additional Windows component. WSH 2 is an integral part of Windows 2000, so if you have Windows 2000, you don't have to take any further action to install WSH 2.
To check whether WSH is installed on your system, you can simply browse a folder that contains a .js file, a .vbs file, and a .wsf file (for example, using Windows Explorer). If the icons shown for the files match those in Figure 1-1, WSH 2 is installed. If the icon for unknown document type is used for the .wsf file, WSH 1 is installed. If all files are shown with the icon for unregistered file types, WSH isn't installed.
Figure 1-1 Icons and filename extensions for script files
To update Windows 95, Windows 98, or Windows NT 4 to WSH 2, you must install WSH manually. The companion CD includes a version of WSH 2 for each of these operating systems. You can also download the most recent WSH files (free of charge) from http://msdn.microsoft.com/scripting.
For Windows NT 4, you must also install Service Pack 3. To use WSH in Windows 95 or Windows NT 4, you should have Internet Explorer version 4 or later installed. To run WSH 2 with Internet Explorer 3 in Windows 95, you must install DCOM. See Microsoft's Web site http://msdn.microsoft.com/scripting for further details.