PTC Creo용 CoDesigner 명령줄 설치
명령줄 설치 지침
버전 3.16 이상부터 PTC Creo용 Altium MCAD CoDesigner 설치 프로그램은 다음을 지원합니다.
-
CoDesigner의 무인 / 한 줄 명령 설치 방식.
-
UI 조작 없이 Creo 버전 및 사용자 지정 Creo 설치 경로 지정.
개요
Altium.Designer.PtcCreo.InstallUI.exe다음 세 가지 명령줄 사용 방식을 지원합니다.
-
레거시 강제 설치
-
레거시 강제 제거
-
자동 모드 수동 타겟 등록
이 문서에서는 각 모드의 인수, 필요한 입력값 및 실제 사용 방법을 설명합니다.
실행 파일 위치
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 타겟 경로 하나를 추가하고 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%
인수 참조
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
중요 경로 지정 요건
자동 모드에서 -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 타겟 하나가 프로그래밍 방식으로 추가됩니다.
-
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 타겟 하나를 명시적으로 지정합니다.
-
동일한 버전의 Creo 타겟이 여러 개 있어도 서로 다른
text경로를 사용하면 유효합니다. -
수동/자동 모드 타겟은 활성 CoDesigner 설치 루트 아래의
installations.dat에 영구적으로 저장됩니다. -
레거시 강제 모드와 일반 UI/자동 모드 흐름에는 레지스트리 루트와 관련된 기존 호환성 동작이 있으므로, 문제 해결 시 실제 실행 파일 경로와 활성 설치 루트를 주의 깊게 확인해야 합니다.