对于 Windows,从 Autodesk 帐户部署 Maya。
本文档中的说明适用于通过网络在 MacOS 和 Linux 上部署 Maya。
打开 basic_deployment_collection_template.xml 并修改以下部分:
<Eula>
<Status>Accept</Status>
</Eula>
<LoggingSettings>
<Logging>true</Logging>
<Path>/my_mnt_pnt/path_to_logs/deployment.log</Path>
</LoggingSettings>
<License>
<!-- <StandaloneLicense /> -->
<!-- <UserLicense /> -->
<NetworkLicense>
<!-- <Single>
<Server>Server1</Server>
</Single> -->
<!-- <Redundant>
<Server name="Server1" order="1" />
<Server name="Server2" order="2" />
<Server name="Server3" order="3" />
</Redundant> -->
<Distributed>
<Server name="LicenseServer1" order="1" />
<Server name="LicenseServer2" order="2" />
</Distributed>
</NetworkLicense>
</License>
<License>
<StandaloneLicense />
<!-- <UserLicense /> -->
<!-- <NetworkLicense> -->
<!-- <Single>
<Server>Server1</Server>
</Single> -->
<!-- <Redundant>
<Server name="Server1" order="1" />
<Server name="Server2" order="2" />
<Server name="Server3" order="3" />
</Redundant> -->
<!-- <Distributed>
<Server name="Server1" order="1" />
<Server name="Server2" order="2" />
</Distributed> -->
<!-- </NetworkLicense> -->
</License>
[...]
<Bundles>
<Bundle SeqNo="1">
[...]
<SerialNumber>000-00000000</SerialNumber>
<CustomProperties> <Property name="SelProductKey" value="535O1" /> <Property name="EulaLocale" value="US" /> </CustomProperties>
例如,如果您不想安装 Bifrost,则需要注释掉 <!--BIFROST--> 下方的条目:
<Applications>
[...]
<!--BIFROST-->
<!-- <Application>
<UPI2>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}</UPI2>
</Application> -->
<!--MAYAUSD-->
<Application>
<UPI2>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</UPI2>
</Application>
<!--SUBSTANCE-->
<Application>
<UPI2>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</UPI2>
</Application>
[...]
</Applications>
为了避免在注释掉多个组件时创建嵌套注释,请逐一注释掉每个 <Application> 部分:
<Applications>
[...]
<!--BIFROST-->
<!-- <Application>
<UPI2>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</UPI2>
</Application> -->
<!--MAYAUSD-->
<!-- <Application>
<UPI2>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</UPI2>
</Application> -->
<!--SUBSTANCE-->
<Application>
<UPI2>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</UPI2>
</Application>
[...]
</Applications>
如果您需要安装先前注释掉的组件,则需要取消注释该组件的以下部分:
<Applications>
[...]
<!--BIFROST-->
<Application>
<UPI2>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</UPI2>
</Application>
<!--MAYAUSD-->
<Application>
<UPI2>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</UPI2>
</Application>
<!--SUBSTANCE-->
<Application>
<UPI2>{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</UPI2>
</Application>
[...]
</Applications>
修改 basic_deployment_collection_template.xml 文件后,使用静默安装选项安装 Maya。
sudo <network_share>/install/Setup -i deploy --noupdate --silent -o <network_share>/install/basic_deployment_collection_template.xml
sudo <network_share>/<deployment_documents>/Contents/Helper/Setup.app/Contents/MacOS/Setup -i deploy --silent -o <network_share>/<deployment_documents>/basic_deployment_collection_template.xml