Autodesk 17003-018128-9701 Administration Guide - Page 18

A Sample Installation Script, Alternative Distribution Methods

Page 18 highlights

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 scripting engine for free from the Microsoft website at www.msdn.microsoft.com/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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40

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 scripting engine for free from the Microsoft website at
www.msdn.microsoft.com/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