在这篇文章中,我们将如何通过脚本将你的定制应用到已经安装的模块上。

本文适用于 Corporate Tensor 许可证持有人,他们希望在他们的TeamViewer (13.2或更新版本)设备上部署Windows 。

将你的定制应用于已安装的模块

在连接到互联网的同时

要在连接到互联网的情况下将你的定制应用到已安装的模块上,请遵循以下说明。

1) 打开命令提示符(CMD)

2) 导航到TeamViewer 安装文件夹

  • (根据默认,它应该是:%Program Files(x86)%\TeamViewer %Program Files%\TeamViewer )

3) 在命令行中输入以下命令。

  • TeamViewer.exe customize --id paste_your_customization_id_here

4) 用回车键确认

在没有连接到互联网的情况下

要在不连接互联网的情况下将你的定制应用到已安装的模块上,请遵循以下说明。

1) 从以下网址下载自定义配置的.zip文件。

https://configdl.teamviewer.com/configs/<customconfig id>.zip

📌注意:请用你在步骤2中获得的CUSTOMCONFIG替换<customconfig id>。

2) 打开命令提示符(CMD)。

3) 导航到TeamViewer 安装文件夹

(根据默认,它应该是:%Program Files(x86)%\TeamViewer %Program Files%\TeamViewer )

4) 在命令行中输入以下命令。

TeamViewer.exe customize --path path_to_customization_ZIP

5) 用回车键确认

在这两种方法中,定制将被应用于你的模块。

视觉上的变化(标志、颜色、文字变化、免责声明以及条款和条件)将在重启后可见。如果你使用了可选参数--restart-gui,TeamViewer客户端将自动重新启动。

主要参数

▹ --id <customization_id>

通过从Management Console 检索到的各自的ID来指定定制的内容。

🚨不能与--path 结合使用。

▹--路径<path_to_zip>。

你可以不使用--id,而是指定定制的压缩文件。UNC路径也可以接受。执行命令的用户需要有该路径的访问权。

🚨不能与--id结合使用

▹--restart-gui

该参数重新启动TeamViewer 客户端。重新启动适用于给定的定制的视觉变化(标志、颜色、文本变化、免责声明、条款和条件)。

▹ --remove

如果有的话,这个选项会删除已经应用的定制。如果没有这个选项,第二次定制就会失败。

你已经可以通过--id--path指定以下定制,在删除完成后应用。

错误代码

Error codes Description Problem/Solution

1

Invalid command line arguments

There is an issue with the command line arguments. Check the used options to see if they can be combined or if there is a typing error. The TeamViewer log file may contain more information about this issue.

500

An internal error occurred

The processing of the custom configuration failed with an unspecific error. See the TeamViewer log files for more details.

501

The current user was denied access

You need to have administrative rights to execute the Customization. Retry with a user who has administrative rights.

502

The download of the custom configuration timed out

Check the Firewall if it is blocking access to TeamViewer servers.

503

Invalid module

The given file was made for a different type of TeamViewer client. For example, you can only use Host custom configuration files for TeamViewer Host

504

Restart of the GUI failed

The GUI did not start as requested by the "--restart-gui" option. Try to restart the GUI manually.

505

Custom configuration failed

While applying the custom configuration, an error occurred. See the TeamViewer log files for more details and check if the custom configuration is still valid.

506

Removal of custom configuration failed

While trying to remove the custom configuration, an error occurred. See the TeamViewer log files for more details.