A script executes a command or a set of commands. Scripts are similar to batch files but are more flexible. Installation scripts are most useful for stand-alone installation of programs on computers that are connected to a network. Scripts are also useful for installing service packs, extensions, and object enablers on a network.
You create a script by using a text editor such as Notepad and then saving it in ASCII format in a file with the file extension .vbs. The script consists of one or more commands, as well as command switches that specify options, and flags that modify the options. An installation script also contains path names.
An installation script points to the location of the product's setup.exe file. You must point to the setup.exe file on your product disc. For example:
Autodesk product CDROM1\setup.exe
In order for AutoCAD to run properly, the following software and prerequisites must be installed and met on the computer where the program is being installed:
The sample scripts in this section are based on Microsoft Scripting Engine 5.6, which works with both VBScripts and JavaScript. If you don't have the scripting engine installed, you can download it for free from the Microsoft website at www.msdn.microsoft.com/scripting. Sample scripts and Help files are also available there for download.