คำสั่งสำหรับติดตั้ง pCloud Drive โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id pCloudAG.pCloudDrive -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id pCloudAG.pCloudDrive -e --silentwinget uninstall --id pCloudAG.pCloudDrive -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (WiX Burn)
ติดตั้งแบบเงียบ
win64 /quiet /norestart32 บิต · EXE (WiX Burn)
ติดตั้งแบบเงียบ
win /quiet /norestartPowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-pcloud-drive.ps1
$url = 'https://partner.pcloud.com/dl/win64'
$sha256 = '787A8B9B0926108B1365D60C58D09D626CBC1C573305637E1EC47F86181F57FF'
$file = Join-Path $env:TEMP 'win64'
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-pcloud-drive.ps1
$url = 'https://partner.pcloud.com/dl/win'
$sha256 = '73D3977432A771C9B60EFED6E8E972BAB2A2898DD9ADEF970B24CDA341A1C0BD'
$file = Join-Path $env:TEMP 'win'
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