Specifications
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 installation media. For example:
Autodesk product CDROM1\setup.exe
In order for your Autodesk product to run properly, you must have
Administrator permissions on the computer where the program is being
installed, and the following software must be installed:
■ Microsoft Internet Explorer version 6.0 Service Pack 1 or later
You can download Microsoft Internet Explorer from the Microsoft website
by visiting www.microsoft.com.
■
■ Microsoft Scripting Engine
The sample scripts in this section are based on Microsoft Scripting Engine
5.6, which works with both VBScripts and JavaScript. You can download
the free scripting engine from the MSDN website. Go to
www.msdn.microsoft.com and search for Scripting. Sample scripts and Help
files are also available there.
A Sample Installation Script
The sample script in this section installs the program in a typical configuration.
To make it easy to copy this sample script and substitute your own information,
the same names are used throughout for variable items. The log file name is
based on the product being installed. You can either use the log file name in
the script or change it to something else.
Serial number prefix: 123
Serial number: 12345678
A sample script for a silent installation of this program uses the syntax shown
in this section.
Scripted AutoCAD installation
' Scripted installation for AutoCAD 2012 - English
Option explicit
' Create variables
dim shell
12 | Chapter 2 Alternative Distribution Methods