Cinema 4D Commandline Installation
Cinema 4D 命令线安装
引言
There are two ways to install Cinema 4D:
安装 Cinema 4D 有两种方法:
There is an additional method for running the full installer: You can use the operating system’s command line to execute the installer application. By doing so you can also add optional parameters, if desired.
还有一个运行完整安装程序的额外方法: 您可以使用操作系统的命令行来执行安装程序应用程序。通过这样做,您还可以添加可选参数,如果需要的话。
For example, a command line installation (CLI) can be used to install Cinema 4D simultaneously on multiple computers using remote applications. This is done most easily when all computers have the same user and the same password, and the application is installed to the same location on every machine.
例如,可以使用命令行安装(CLI)在使用远程应用程序的多台计算机上同时安装 Cinema 4D。当所有计算机具有相同的用户和相同的密码,并且应用程序被安装到每台计算机的相同位置时,这样做最容易。
Tip: 提示:The CLI could also be used to install the Team Render Client on ‘headless’ computers. The installation process is almost completely automated and requires no additional interactivity. A user interface on the remote computer is not absolutely necessary.
CLI 还可用于在“无头”计算机上安装 teamrender 客户端。安装过程几乎完全自动化,不需要额外的交互性。远程计算机上的用户界面并非绝对必要。
This document describes how to call the CLI as well as all the various parameters that are possible by doing so.
本文档描述了如何调用 CLI 以及通过这样做可以调用的所有参数。
Important note: 重要提示:使用 CLI
Differences between macOS and Windows
macOS 和 Windows 的区别
File paths are system-specific. In the following you will find two examples that are applied to the subsequent explanations.
文件路径是特定于系统的。
macOS file path:
文件路径:
/Users/<Username>/Desktop/Cinema 4D Full Installer
/Users/< username >/Desktop/Cinema 4D Full Installer
Windows file path:
文件路径:
远程应用程序
For macOS:
对于 macOS:
For Windows:
对于 Windows:
运行 CLI
In the Finder (macOS) or Explorer (Windows), open the directory where the installer application is located.
在 Finder (macOS)或 Explorer (Windows)中,打开安装程序所在的目录。
在 macOS 之下
First - and this is important! - open the downloaded DMG and copy the .app into a directory you can access in a Terminal (e.g., the user’s desktop).
首先,这一点很重要!- 打开下载的 DMG 并复制。应用程序进入一个目录,你可以访问终端(例如,用户的桌面)。
Right-click on the Cinema 4D Full Installer file and select Show Package Content from the context menu. Move to the Contents > macOS directory. Its content will look as follows:
右键单击 Cinema 4D Full Installer 文件,并从上下文菜单中选择 Show Package Content。移动到目录 > macOS 目录。其内容如下:
Open the Terminal by either entering ‘terminal’ in the search function or by opening the application under Applications > Utilities > Terminal.
通过在搜索功能中输入‘ Terminal’或在应用程序 > 实用程序 > Terminal 下打开应用程序来打开终端。
To enter CLI parameters, drag the installbuilder.sh file into the console window (alternatively you can enter the file’s path manually). A space character should follow the path to separate the path from the parameters.
要输入 CLI 参数,可以将 installbuilder.sh 文件拖到控制台窗口中(或者你也可以手动输入文件的路径)。空格字符应该遵循路径以将路径与参数分离。
在 Windows 下
Open the console by right-clicking the Windows Start button and selecting Run from the context menu. In the dialog, enter ‘cmd’ and press Enter (alternatively you can use the Windows search function. Enter ‘cmd’ to have Windows find the console application for you).
通过右键单击 Windows Start 按钮并从上下文菜单中选择 Run 打开控制台。在对话框中,输入“ cmd” ,然后按下回车键(或者你可以使用 Windows 搜索功能)。输入‘ cmd’让 Windows 为你找到控制台应用。
To enter CLI parameters, drag the executable Cinema 4D Full Installer.exe file into the console window (alternatively you can enter the file’s path manually). A space character should always follow to separate the path from the parameters.
要输入 CLI 参数,请将可执行的 Cinema 4D Full Installer.exe 文件拖到控制台窗口(或者您可以手动输入该文件的路径)。为了将路径与参数分开,应该始终使用空格字符。
参数
Tip: 提示:-- 救命
This parameter shows a list of all available commands.
此参数显示所有可用命令的列表。
-- 版本
This parameter shows some product version information. This might be helpful in case you need to contact Maxon support.
此参数显示了一些产品版本信息。如果您需要联系 Maxon 支持,这可能会有帮助。
-- 前缀 < path >
This parameter is used to set a different installation location from the default path.
此参数用于设置与默认路径不同的安装位置。
Tip: 提示:Default on macOS:
默认的 macOS:
/Applications/Maxon Cinema 4D <Rel.-Number>
/申请书/域迅Cinema 4D < 档案ー编号 >
Default on Windows:
Windows 的默认设置:
C:\Applications\Maxon Cinema 4D <Rel.-Number>
C: 应用程序 Maxon Cinema 4D < rel- number >
-- unattendedmodeui < ui-mode >
This parameter sets the state of the installer’s user interface if the mode (see below) has been set to ‘unattended’.
如果模式(见下文)被设置为“无人参与” ,此参数将设置安装程序的用户界面状态。
Options:
选择:
Default:
违约:
minimalWithDialogs
4. minimalWithDialogs
-- mode < mode >
This parameter sets the installation mode.
此参数设置安装模式。
Options on macOS:
macOS 的选项:
osx
This option shows the user interface (dialogs, etc.).
此选项显示用户界面(对话框等)。
unattended
无人照管的
Here, no user interface will appear. Use this for silent installations.
在这里,不会出现用户界面。使用此选项进行静默安装。
Options on Windows:
Windows 上的选项:
win32
胜32
This option shows the user interface (dialogs, etc.).
此选项显示用户界面(对话框等)。
unattended
无人照管的
Here, no user interface will appear. Use this for silent installations.
在这里,不会出现用户界面。使用此选项进行静默安装。
Default on macOS:
默认的 macOS:
osx
Default on Windows:
Windows 的默认设置:
win32
胜32
--installer-language <Language shortcut>
-- 安装程式语言 < 语言捷径 >
This parameter sets the language of the installer’s user interface.
此参数设置安装程序用户界面的语言。
Options
选择
ar, es_AR, az, pt_BR, bg, ca, zh_CN, cs, cy, da, de, el, en, es, et, eu, fa, fi, fr, he, hr, hu, id, it, ja, kk, ko, lt, lv, nl, no, pl, pt, ro, ru, sk, sl, sr, sq, sv, th, tk, tr, zh_TW, va, vi
Ar,az,pt,br,bg,ca,zh,cn,cs,cy,da,de,el,en,es,et,eu,fa,fi,fr,he,hr,hu,id,it,ja,kk,ko,lt,lv,nl,no,pl,pt,ro,ru,sk,sl,sr,sv,th,tk,tr,zh,tw,va,vi
Default: Language of your operating system if available, ‘en’ otherwise.
默认值: 如果操作系统语言可用,则为“ en”。
例子
Completely invisible/silent installation (macOS):
完全隐形/静音安装(macOS) :
Cinema 4D Full Installer.app/Contents/macOS/installbuilder.sh --mode unattended --unattendedmodeui none
Cinema 4D Full Installer.app/Contents/macOS/installbuilder.sh -- mode unattended modeui none
Installation to a different folder and have the installer language set to Simplified Chinese (Windows):
安装到另一个文件夹,并将安装程序语言设置为简体中文文件夹(Windows) :
Cinema 4D Full Installer.exe --prefix "D:\Graphics\Maxon\My C4D Folder" --installer-language zh_CN
Cinema 4D Full Installer.exe ——前缀“ d: Graphics Maxon My C4D Folder”—— installer-language zh _ cn
De-Installation (Windows only)
取消安装(只适用于视窗)
The following parameters are available for the uninstall application that is located in the Cinema 4D installation folder. Please see above for a description.
下面的参数可用于位于 Cinema 4D 安装文件夹中的卸载应用程序。请看上面的描述。
--help
-- 救命
--version
-- 版本
--mode <Mode>
-- mode < mode >
--installer-language <Language shortcut>
-- 安装程式语言 < 语言捷径 >
日志文件
When the installer copies Cinema 4D onto your hard disk it writes one or more log files. Such a log file contains all occurences during an installation, e.g.. the creation of a new folder, copying files, and in case something could not be installed, error messages. In case something goes wrong during an installation it is a good idea to have a look at these files:
当安装程序将 Cinema 4D 复制到你的硬盘上时,它会写入一个或多个日志文件。这样的日志文件包含安装过程中发生的所有事件,例如。创建一个新的文件夹,复制文件,并在某些情况下无法安装,错误消息。如果在安装过程中出现问题,最好查看一下这些文件:
/tmp/bitrock_installer.log
/tmp/bitrock _ installer.log
/tmp/bitrock_installer_<Number>.log
/tmp/bitrock _ installer _ < number > . log
Under Windows you will find the log files here:
在 Windows 下,你可以在这里找到日志文件:
C:\Users\<Username>\AppData\Local\Temp\bitrock_installer.log
C: 用户名 < 用户名 > AppData Local Temp bitrock _ installer. log
C:\Users\<Username>\AppData\Local\Temp\bitrock_installer_<Number>.log
C: 用户名 < 用户名 > AppData Local Temp bitrock _ installer _ < number > . log