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에서 Add를 사용하는 방식을 대체하는 헤드리스 방식
-
하나의 명시적 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 대상을 위한 것입니다.
-
서로 다른
text경로를 사용하는 경우 동일한 버전의 여러 Creo 대상도 유효합니다. -
수동/조용한 대상은 활성 CoDesigner 설치 루트 아래의
installations.dat에 영구적으로 유지됩니다. -
레거시 강제 모드와 일반 UI/조용한 흐름은 레지스트리 루트를 둘러싼 과거 호환성 동작이 있으므로, 문제 해결 시 실제 실행 파일 경로와 활성 설치 루트를 주의 깊게 확인해야 합니다.