2019年5月8日 星期三

Install Revit from the Command Line


Products and versions covered 
By: 
Help



Instead of using the Autodesk installer, you can install the software from the command line.
To prepare for the installation
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.

沒有留言:

張貼留言