Install Revit from the Command Line
Instead of using the Autodesk installer, you can install the software from the command line.
To prepare for the installation
- If you are using network licensing, ensure that license servers are set up and operating correctly. See Workflow: Planning, Installing, and Configuring Network Licenses.
- Prepare the target computer:
- Follow the guidelines in About Installation Prerequisites.
- Apply relevant service packs to the operating system.
- Disable anti-virus software.
Note: You do not need to download and install language packs for Revit. Instead, the software provides built-in support for all supported languages. After installation, you can start the software in another language by launching a desktop shortcut.
To prepare the installation commands
- Setup.ini contains 2 important sections:
- [RVT] describes the installation of the Revit software.
- [RCL] describes the installation of Revit content libraries.
When using setup.exe to install from the command line, use the /c option to call each of these sections individually so you can pass relevant parameters for each part of the installation. - First install the content libraries; then install the software.This order ensures that Revit.ini contains the correct paths to all content files, including templates. If you install the software before the content, when launching the software you will encounter an error about missing template files.
- When installing the content libraries, pass the CP_SELECTED parameter to specify the content packs to install, and the CP_PREFERENCE parameter to specify which content pack is the default. See Select Content for a Revit Installation.
- For a list of available content packs, go to <installer location>/Content/Revit/<language>, and locate the XML files that start with RVT (for Revit) or RLT (for Revit LT). When specifying the content packs to install (with the CP_SELECTED and CP_PREFERENCE parameters), use these XML file names without the XML file extension as parameter values.Note: To generate and save a list of these content pack XML files in your home folder, use the following command:
dir /b R??-??-??-?/xml > %userprofile%\filelist.txt
- The basic structure of the command-line options and parameters for a typical installation is as follows:
setup.exe <all other options> /c <ini section name>: <parameter> <parameter> <...>
See the examples.
沒有留言:
張貼留言