P4 Apps을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
winget 사용
PowerShell
winget install --id Perforce.P4V -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Perforce.P4V -e --silentwinget uninstall --id Perforce.P4V -e --silent설치 파일별
64비트 · EXE (WiX Burn) · 모든 사용자
무인 설치
p4vinst64.exe /quiet /norestart제거
msiexec /x {E4720099-B569-44B5-8BD6-BD6F4D66033E} /qn /norestart- MSI 제품 코드
- {e4720099-b569-44b5-8bd6-bd6f4d66033e}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e4720099-b569-44b5-8bd6-bd6f4d66033e}
- UpgradeCode
- {AE554B2A-CA7C-4DA4-8A4E-BC6085DFACE4}
64비트 · MSI · 모든 사용자
무인 설치
msiexec /i p4vinst64.msi /qn /norestart로그 파일 저장
msiexec /i p4vinst64.msi /qn /norestart /l*v "%TEMP%\p4-apps-install.log"제거
msiexec /x {BC895527-2686-4A83-B372-BBBB2B41C85E} /qn /norestart- MSI 제품 코드
- {BC895527-2686-4A83-B372-BBBB2B41C85E}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BC895527-2686-4A83-B372-BBBB2B41C85E}
- UpgradeCode
- {70A9FDC7-885B-4D6D-BAFD-CB2D27AB2963}
PowerShell: 다운로드, 검증, 설치
공식 파일을 다운로드하고 SHA256을 확인한 뒤 무인 설치합니다.
install-p4-apps.ps1
$url = 'https://filehost.perforce.com/perforce/r26.3/bin.ntx64/p4vinst64.exe'
$sha256 = '29F413112E41A34DDD375D10576CF177A62380664032250FFB96D2B1FD59281A'
$file = Join-Path $env:TEMP 'p4vinst64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-p4-apps.ps1
$url = 'https://filehost.perforce.com/perforce/r26.3/bin.ntx64/p4vinst64.msi'
$sha256 = '9569C926588B954F07D51D1A18BA9502D23DA31EDCA2C2C4AD16B970E2DABD92'
$file = Join-Path $env:TEMP 'p4vinst64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait