The sample batch files in this section install Autodesk AutoCAD Civil 3D 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.
For more information about batch files, see Batch Files for Deployments.
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
CP_SELECTED lists the content packs that are to be installed
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c C3D: INSTALLDIR="%programFiles%\Autodesk\Autodesk AutoCAD Civil 3D 2014" ACADSERIALPREFIX=<SerialPrefix>ACADSERIALNUMBER=<SerialPostFix> ADLM_PRODKEY=<ProdKey> ADLM_EULA_COUNTRY=<eula_lang> InstallLevel=5 CP_SELECTED=C3D_Imperial_Base;C3D_Metric_Base;C3D_Profiles;C3D_ImageAssets;C3D_RoadCatalogs;C3D_VizCatalogs;C3D_PPipesCat;
Example: C:\setup.exe /t /qb /language en-us /c C3D: INSTALLDIR="%programFiles%\Autodesk\Autodesk AutoCAD Civil 3D 2014" ACADSERIALPREFIX=123 ACADSERIALNUMBER=12345678 ADLM_PRODKEY=12345 ADLM_EULA_COUNTRY=US InstallLevel=5 CP_SELECTED=C3D_Imperial_Base;C3D_Metric_Base;C3D_Profiles;C3D_ImageAssets;C3D_RoadCatalogs;C3D_VizCatalogs;C3D_PPipesCat;
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c C3D: INSTALLDIR="%programFiles%\Autodesk\Autodesk AutoCAD Civil 3D 2014" 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" CP_SELECTED=C3D_Imperial_Base;C3D_Metric_Base;C3D_Profiles;C3D_ImageAssets;C3D_RoadCatalogs;C3D_VizCatalogs;C3D_PPipesCat;
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.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c C3D: INSTALLDIR="%programFiles%\Autodesk\Autodesk AutoCAD Civil 3D 2014" 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>;" CP_SELECTED=C3D_Imperial_Base;C3D_Metric_Base;C3D_Profiles;C3D_ImageAssets;C3D_RoadCatalogs;C3D_VizCatalogs;C3D_PPipesCat;
Notes
<server1> thru <serverN> are valid network license servers.
<mediaDriveLetter>\setup.exe /t /qb /language <lang> /c C3D: INSTALLDIR="%programFiles%\Autodesk\Autodesk AutoCAD Civil 3D 2014" 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;" CP_SELECTED=C3D_Imperial_Base;C3D_Metric_Base;C3D_Profiles;C3D_ImageAssets;C3D_RoadCatalogs;C3D_VizCatalogs;C3D_PPipesCat;
Notes
<server1> thru <server3> are valid network license servers with redundant licenses.