Reference examples of installation batch files.
The sample batch files in this topic can be used as templates for installing Autodesk products in typical configurations for stand-alone or network licensed versions. Just copy the sample batch file and replace variables with the data values for the product being installed.
Notes
Batch files are shown in multiple lines for easier reading, but in practice, each file should be written as a single line of instructions.
<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.
<Product ID> is the abbreviated name of the product being installed, such as ACM_MAIN for AutoCAD Mechanical, MAX for 3ds Max, or INVENTOR. This name can be found inside square brackets in the Product section of the Setup.ini file. Example: [ACAD_MAIN] PRODUCT_NAME=Autodesk® AutoCAD® 2016
INSTALLDIR="%programFiles%\Autodesk\<Product Name>" is an optional parameter, and its use is not recommended; it specifies a different installation directory from the default location, and this can cause problems for product operations.
<Product Name> is the name of the product installation directory, such as Inventor 2016.
<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
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.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: INSTALLDIR="%programFiles%\Autodesk\<Product Name>" ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="1"
Example for a single product: C:\setup.exe /t /qb /language en-us /c ACAD: INSTALLDIR="%programFiles%\Autodesk\AutoCAD 2016" ACADSERIALPREFIX=123 ACADSERIALNUMBER=12345678 ADLM_PRODKEY=001E1 ADLM_EULA_COUNTRY=US InstallLevel=5 ACADSTANDALONENETWORKTYPE="1"
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: 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
<FlexLicenseServer> is the network license server.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: 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.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: 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.
A separate code block is required in the batch file for each product being installed. Each block includes the Product ID for one of the products being installed, but the same suite serial number and product key are used for all products. The following sample represents the batch file for stand-alone installation of three products.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c <Product ID>: ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="1" /c <Product ID>: ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="1" /c <Product ID>: ACADSERIALPREFIX=<SerialPrefix> ACADSERIALNUMBER=<SerialPostfix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 ACADSTANDALONENETWORKTYPE="1"