Scripts for Custom Installations
 
 
 

To create a script for a custom installation, use the syntax ADDLOCAL=".....".

The following example shows how component flags are used in the DefaultCommand section of a script.

Function DefaultCommand 
dim retString 
' /q for silent install ' /c [key] override parameters for the key 
retString = strSourcePath & "\setup.exe /t /q /c " & productType & ": " 
retString = retString & "INSTALLDIR=" & """" & strADSKPath & """" & " " 
retString = retString & "ACADSERIALPREFIX=" & strADSKSNPrefix & " " 
retString = retString & "ACADSERIALNUMBER=" & strADSKSNNumber & " " 
retString = retString & "ACADFIRSTNAME=" & """" & strADSKFirstName & """" & " " 
retString = retString & "ACADLASTNAME=" & """" & strADSKLastName & """" & " " 
retString = retString & "ACADORGANIZATION=" & """" & strADSKOrganization & """" & " " 
retString = retString & "InstallLevel=" & strInstallLevel & " " 
' retString = retString & "ADSK_LAUNCH_MODE=Standalone"  & " " 
if strInstallLevel = 3 then 
retString = retString & "ADDLOCAL=" & """" & "System_Files,ACS,Impression,NFW" & featuresToInstall & """" & " " 
end if 
retString = retString & strAdditionalStuff ' Specifically for Impression Toolbar 
DefaultCommand = retString & " " 

The table below lists all the component flags you can use.

Component Flags

Flag

Component

ACS

AutoCAD Samples

CADStandards

CAD Standards

Database

Database (DBCONNECT)

DCS

DesignCenter Samples

DigSig

Digital Signatures

Dictionaries

Dictionaries

DrawingEncryption

Drawing Encryption

Express_Tools

Express Tools

Fonts

Fonts

Materials

Materials Library

Migrate

Migrate Custom Settings

NFW

New Features Workshop

PLM

Portable License Utility

RefMan

Reference Manager

Samples

Sample files

System_Files

Required system files

TM

Texture Maps

Tutorials

Tutorials

VBA

Visual Basic

VLS

Visual LISP Samples

VLT

Visual LISP Tutorials