Sample Installation Batch Files

 
 
 

The sample batch files in this section install AutoCAD in typical configurations for stand-alone or network licensed versions. To make it easy to copy this sample batch file and substitute your own information, the same names are used throughout for variables.

Notes

<mediaDriveLetter> is the drive letter where the media is mounted or the setup.exe file is stored

Install options used here include /t (setup is executed by script) and /qb (display a basic user interface). Others such as /w (log nonfatal warnings) are defined for Microsoft Msiexec command line, and documented on the MS TechNet website.

<SerialPrefix> is the first 3 digits of the serial number

<SerialPostFix> is the last 8 digits of the serial number

<ProdKey> is the Product Key

<lang> is the IETF language tag, for example en-US for English-United States

<eula_lang> is the ISO 3166-1 alpha-2 standard for the country for example US = United States

Stand-Alone License

<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c 
ACAD: INSTALLDIR="%programFiles%\Autodesk\AutoCAD 2013"
ACADSERIALPREFIX=<SerialPrefix>ACADSERIALNUMBER=<SerialPostFix>  
ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang>  InstallLevel=5
Example:
C:\setup.exe /t /qb /language en-us /c 
ACAD: INSTALLDIR="%programFiles%\Autodesk\AutoCAD 2013" 
ACADSERIALPREFIX=123 ACADSERIALNUMBER=12345678  
ADLM_PRODKEY=001E1 ADLM_EULA_COUNTRY=US  InstallLevel=5

Single Network License

<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c 
ACAD: INSTALLDIR="%programFiles%\Autodesk\AutoCAD 2013" 
ACADSERIALPREFIX=<SerialPrefix>ACADSERIALNUMBER=<SerialPostFix> 
ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 
ACADSTANDALONENETWORKTYPE="3" ACADLICENSESERVERTYPE="Single Server License" 
ACADLICENSETYPE="Network License" ACADSERVERPATH="<FlexLicenseServer> 000000000000"

Notes

For network licenses, ACADSTANDALONENETWORKTYPE identifies the type of license being installed. It has three possible values: 0 for both network and stand-alone, 1 for stand-alone, and 3 for network.

<FlexLicenseServer> is the network license server.

Distributed Network License

<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c 
ACAD: INSTALLDIR="%programFiles%\Autodesk\AutoCAD 2013" 
ACADSERIALPREFIX=<SerialPrefix>ACADSERIALNUMBER=<SerialPostFix> 
ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 
ACADSTANDALONENETWORKTYPE="3" ACAD_LICENSESERVER_DISTRIBUTED="1" 
ACADLICENSESERVERTYPE="Distributed Server License" ACADLICENSETYPE="Network License" 
ACADSERVERPATH="@<server1>;@<server2>;@<server3>;"

Notes

<server1> thru <serverN> are valid network license servers.

Redundant Network License

<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c 
ACAD: INSTALLDIR="%programFiles%\Autodesk\AutoCAD 2013" 
ACADSERIALPREFIX=<SerialPrefix>ACADSERIALNUMBER=<SerialPostFix> 
ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 
ACADSTANDALONENETWORKTYPE="3" ACADLICENSESERVERTYPE="Redundant Server License" ACADLICENSETYPE="Network License" 
ACADSERVERPATH="<server1> 000000000000 27005;<server2> 000000000000 27005;<server3> 000000000000 27005;"

Notes

<server1> thru <server3> are valid network license servers with redundant licenses.