Commands for installing pp直连 without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id bshuzhang.PPLink -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id bshuzhang.PPLink -e --silentwinget uninstall --id bshuzhang.PPLink -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
"PP直连 Setup 16.0.2.exe" /SCustom folder
"PP直连 Setup 16.0.2.exe" /S /D=C:\Apps\pp- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8e2155f3-31f8-5d38-8715-cf2abd9a60e9
64-bit · EXE (NSIS) · All users
Silent install
"PP直连 Setup 16.0.2.exe" /SCustom folder
"PP直连 Setup 16.0.2.exe" /S /D=C:\Apps\pp- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8e2155f3-31f8-5d38-8715-cf2abd9a60e9
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-pp.ps1
$url = 'https://www.ppzhilian.com/download/win/PP直连%20Setup%2016.0.2.exe'
$sha256 = 'AAF751CE1BF60F1F50C7AE918FB2842EFFC4F74F2B800667B0E958722D81D048'
$file = Join-Path $env:TEMP 'PP直连 Setup 16.0.2.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 '/S' -Wait install-pp.ps1
$url = 'https://www.ppzhilian.com/download/win/PP直连%20Setup%2016.0.2.exe'
$sha256 = 'AAF751CE1BF60F1F50C7AE918FB2842EFFC4F74F2B800667B0E958722D81D048'
$file = Join-Path $env:TEMP 'PP直连 Setup 16.0.2.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 '/S' -Wait