PTC Creo向けCoDesignerのコマンドラインインストール

コマンドラインでのインストール手順

バージョン3.16以降、PTC Creo用のAltium MCAD CoDesignerインストーラーは、次の機能をサポートしています。

  • CoDesignerのサイレントインストール/単一コマンドによるインストール。

  • UIを操作せずにCreoのバージョンとカスタムインストールパスを指定。

概要

Altium.Designer.PtcCreo.InstallUI.exe次の3種類のコマンドライン操作をサポートしています。

  • 従来の強制インストール

  • 従来の強制アンインストール

  • クワイエットモードでの手動ターゲット登録

このドキュメントでは、各モードの引数、想定される入力、および実際の使用方法を説明します。

実行ファイルの場所

Typical installed location:

C:\Program Files (x86)\Altium CoDesigner PTC Creo Plugin\register\Altium.Designer.PtcCreo.InstallUI.exe

Depending on environment and deployment history, the product may also exist under:

C:\Program Files\Altium CoDesigner PTC Creo Plugin\register\Altium.Designer.PtcCreo.InstallUI.exe

コマンドモード

従来の強制インストール

Long form:

Altium.Designer.PtcCreo.InstallUI.exe -i "<plugin-install-root>"

Purpose:

  • 内部処理/パッケージ化されたインストーラーのブートストラップ処理

  • 指定されたCoDesignerインストールルートにプラグインファイルをコピーします

Example:

& "C:\Program Files (x86)\Altium CoDesigner PTC Creo Plugin\register\Altium.Designer.PtcCreo.InstallUI.exe" `
 -i "C:\Program Files (x86)\Altium CoDesigner PTC Creo Plugin"

Notes:

  • これは従来の強制処理です

  • -creo-versionは受け付けません。また、-creo-path

  • クワイエットモードの引数と併用しないでください

従来の強制アンインストール

Short form:

Altium.Designer.PtcCreo.InstallUI.exe -u

Alternative uninstall switch used in some places:

Altium.Designer.PtcCreo.InstallUI.exe -uninstall

Purpose:

  • 内部処理/パッケージ化されたアンインストール処理

  • 現在のアンインストールロジックに従って、プラグインの登録とインストール内容を削除します

Example:

& "C:\Program Files (x86)\Altium CoDesigner PTC Creo Plugin\register\Altium.Designer.PtcCreo.InstallUI.exe"`
 -u

Notes:

  • これは従来の強制処理です

  • クワイエットモードの引数と併用しないでください

クワイエットモードでの手動ターゲット登録

Long form:

Altium.Designer.PtcCreo.InstallUI.exe -quiet -creo-version <version> -creo-path "<path>"

Short form:

Altium.Designer.PtcCreo.InstallUI.exe -q -cv <version> -cp "<path>"

Purpose:

  • インストーラーUIの「追加」操作を置き換えるヘッドレス処理

  • 明示的に指定されたCreoターゲットパスを1つ追加し、UIを開かずに通常のインストール/更新ロジックを実行します

Examples:

& "C:\Program Files (x86)\Altium CoDesigner PTC Creo Plugin\register\Altium.Designer.PtcCreo.InstallUI.exe" `
 -quiet `
 -creo-version "11.0" `
 -creo-path "C:\PTC\Creo 11.0.1.0\Common Files\text"
& "C:\Program Files (x86)\Altium CoDesigner PTC Creo Plugin\register\Altium.Designer.PtcCreo.InstallUI.exe" `
 -q `
 -cv "11.0" `
 -cp "C:\PTC\Creo 11.0.1.0\Common Files\text"
"C:\Program Files (x86)\Altium CoDesigner PTC Creo Plugin\register\Altium.Designer. PtcCreo.InstallUI.exe" -quiet -creo-version "11.0" -creo-path "C:\PTC\Creo 11.0.1.0\ Common Files\text" echo %ERRORLEVEL%

引数リファレンス

-i
  • 従来の強制インストールスイッチ

  • 値が1つ必要:CoDesignerプラグインのインストールルート

-u
  • 従来の強制アンインストールスイッチ

  • 値は不要

-uninstall​​
  • 代替のアンインストールスイッチ

  • 値は不要

-quiet
  • クワイエット/手動ターゲットモードを明示的に選択

  • クワイエットモードで必須

-q
  • -quietの短縮エイリアス

-creo-version
  • クワイエットモードで必須

  • 次のような通常のバージョン表記を入力:

    • 7.0

    • 8.0

    • 9.0

    • 10.0

    • 11.0

    • 12.4

-cv
  • -creo-versionの短縮エイリアス

-creo-path
  • クワイエットモードで必須

  • config.proが含まれるCreoのtextフォルダーへのパス

-cp
  • -creo-pathの短縮エイリアス

パスに関する重要な要件

クワイエットモードでは、-creo-path / -cpは、config.proが含まれるCreoのtextディレクトリを指す必要があります。

Correct style:

C:\PTC\Creo 11.0.1.0\Common Files\text

Not the higher-level install root:

C:\PTC\Creo 11.0.1.0

現在のバックエンドでは、config.proを直接含むフォルダーを指定する必要があります。

クワイエットモードの動作

クワイエットモードは、UIで手動で行うAdd操作を置き換えることを目的としています。

Behavior:

  • UIは表示されません

  • 明示的に指定されたCreoターゲットを1つ、プログラムによって追加します

  • UIから実行する場合と同じインストール/更新ロジックを実行します

  • その実行では、指定されたCreoターゲットのみが選択されます

Quiet mode should not be combined with:

  • -i

  • -u

  • -uninstall

終了コード

Current quiet-mode exit code contract:

0 = success
1 = invalid arguments
2 = invalid Creo target input
3 = registration failure
4 = unexpected internal error

無効な使用例

Missing quiet switch:

Altium.Designer.PtcCreo.InstallUI.exe -creo-version "11.0" -creo-path "C:\PTC\Creo 11.0.1.0\Common Files\text"

Missing version:

Altium.Designer.PtcCreo.InstallUI.exe -quiet -creo-path "C:\PTC\Creo 11.0.1.0\CommonFiles\text"

Missing path:

Altium.Designer.PtcCreo.InstallUI.exe -quiet -creo-version "11.0"

Conflicting modes:

Altium.Designer.PtcCreo.InstallUI.exe -i "C:\Program Files (x86)\Altium CoDesigner PTC Creo Plugin" -quiet -creo-version "11.0" -creo-path "C:\PTC\Creo 11.0.1.0\Common Files\ text"

Wrong path level:

Altium.Designer.PtcCreo.InstallUI.exe -quiet -creo-version "11.0" -creo-path "C:\PTC\Creo 11.0.1.0"

使用上の注意

  • クワイエットモードでは、コマンドごとにCreoターゲットを1つ明示的に指定します。

  • textのパスが異なれば、同じバージョンのCreoターゲットを複数登録できます。

  • 手動/クワイエットモードのターゲットは、アクティブなCoDesignerインストールルート配下のinstallations.datに永続的に保存されます。

  • 従来の強制モードと通常のUI/クワイエットモードの処理には、レジストリルートに関して従来からの互換性維持のための動作があるため、トラブルシューティング時には、実際の実行ファイルのパスとアクティブなインストールルートを慎重に確認してください。

AI-LocalizedAI で翻訳
問題が見つかった場合、文字/画像を選択し、Ctrl + Enter キーを押してフィードバックをお送りください。
Contents
機能の提供状況

ご利用可能な機能は、お使いのAltiumソリューション(Altium Develop、Altium Agile Teams、Altium Agile Enterprise、または有効な契約期間中のAltium Designer)によって異なります。

実際にお使いのソフトウェアに文書化されている機能が表示されない場合は、詳細についてAltium Sales までお問い合わせください。

Contents