The content of this document may be incorrect or outdated.
HOW TO: Install/Upgrade Windows Script Host
Checking Your WSH Version
Many of the deployment and management tools that have been written to work with Windows Script Host require a minimum specific version. To check what version your machine is running, do the following:
- Go to a command prompt by clicking Start and choosing Run. In the Open field type cmd.exe.
At the command prompt type cscript.exe. You should see an output that start simliar to the following text:
Microsoft (R) Windows Script Host Version X.Y Copyright (C) Microsoft Corporation 1996-2001...The version of WSH is indicated by X.Y above.
Upgrading to a New Version
You may or may not need to update WSH depending on the specific script or tool you are using. Version requirements for WSH are given at the beginning of the documentation for each utility.
To upgrade the version of Windows Script Host:
- If you have not done so already, map S: to \\ohare.ecn.purdue.edu\public.
- Look in the folder S:\tools\pub\software\WSH for the executable named wsh-X.Y where X.Y is the latest version. Double-click the file.
- Click Yes to confirm that you wish to install Windows Script.
- Click Yes to agree to the license agreement after reading it.
- The installer will copy files to the local disk and notify you when the copying is complete. Click OK to dismiss the message.
- If you are asked to reboot the system, click No.
- Start a command prompt by clicking Start and choosing Run. In the Open field type cmd.exe.
- At the command prompt type cscript.exe //h:cscript. You will be notified that the default scripting host has been changed to cscript.exe, the command-line script interpreter.
- Reboot your system.
Last modified: 2007/01/18 15:43:50.487000 US/Eastern by
Created: 2007/01/18 15:43:50.487000 US/Eastern by brian.r.brinegar.1.
Type in a few keywords describing what information you are looking for in the text box below.