ナレッジベース
インストールされたモジュールにカスタマイズを適用する方法
最終変更: 2024/03/08
すでにインストールされているモジュールに、スクリプトでカスタマイズを適用する方法について説明します。
この記事は 、Corporate およびTensor のライセンス所有者で、TeamViewer (13.2 以降) をWindows のデバイスに展開したい場合に適用さ れます。
インストールされたモジュールにカスタマイズを適用する方法
インターネットに接続している場合
インターネットに接続された状態で、インストールされたモジュールにカスタマイズを適用するには、以下の手順で行ってください。
- コマンドプロンプト(CMD)を開きます。
- TeamViewerのインストールフォルダーに移動します。
- (デフォルトでは、%Program Files(x86)%TeamViewerまたは%Program Files%TeamViewer )。
- コマンドラインに以下のコマンドを入力します。
- TeamViewer.exe customize --id paste_your_customization_id_here
- Enterで確認します。
インターネットに接続されていない場合
インターネットに接続されていない状態で、インストールしたモジュールにカスタマイズを適用する場合は、次の手順に従ってください。
- 次の URL からカスタム構成の .zip ファイルをダウンロードします。
- https://configdl.teamviewer.com/configs/<customconfig id>.zip
- <customconfig id> をステップ 2 で取得した CUSTOMCONFIG に置き換えてください。
- コマンドプロンプト(CMD)を開きます。
- TeamViewer インストールフォルダーに移動します。
- (デフォルトでは、%Program Files(x86)%TeamViewerまたは%Program Files%TeamViewer )。
- コマンドラインに以下のコマンドを入力します。
- TeamViewer.exe customize --path path_to_customization_ZIP
- Enterで確認します。
どちらの方法でも、カスタマイズはモジュールに適用されます。
視覚的な変更(ロゴ、色、テキストの変更、免責事項、利用規約)は、再起動後に表示されます。オプションのパラメータ--restart-guiを使用した場合、TeamViewer クライアントは自動的に再起動されます。
主なパラメータ
▹ --id <customization_id>.
Management Console から取得したそれぞれの ID を介してカスタマイズを指定します。
🚨-pathとの組み合わせはできません。
▹--path <path_to_zip>
--id を使用する代わりに、カスタマイズ zip ファイルを指定できます。 UNC パスも受け入れられます。 コマンドを実行するユーザーには、そのパスへのアクセス権が必要です。
🚨--idと組み合わせることはできません。
▹--restart-gui
このパラメータは、TeamViewerクライアントを再起動します。再起動すると、指定したカスタマイズの視覚的な変更(ロゴ、色、テキストの変更、免責事項、利用規約)が適用されます。
▹ --remove
このオプションは、すでに適用されているカスタマイズがある場合、それを削除します。このオプションがない場合、2つ目のカスタマイズは失敗します。
--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. |