Commands for installing WorkBuddy 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 Tencent.WorkBuddy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Tencent.WorkBuddy -e --silentwinget uninstall --id Tencent.WorkBuddy -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe /SCustom folder
WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe /S /D=C:\Apps\workbuddy- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BFD312E9-1019-4F57-9F44-F86246833B50
64-bit · EXE (NSIS) · All users
Silent install
WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe /SCustom folder
WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe /S /D=C:\Apps\workbuddy- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BFD312E9-1019-4F57-9F44-F86246833B50
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-workbuddy.ps1
$url = 'https://download.codebuddy.cn/workbuddy/saas/win32-x64-user/WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe'
$sha256 = '824DE10F3196C501004F540EB84EE881292FEF2F5DF9FB3FC48AF9EA5366C03C'
$file = Join-Path $env:TEMP 'WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.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-workbuddy.ps1
$url = 'https://download.codebuddy.cn/workbuddy/saas/win32-x64-user/WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe'
$sha256 = '824DE10F3196C501004F540EB84EE881292FEF2F5DF9FB3FC48AF9EA5366C03C'
$file = Join-Path $env:TEMP 'WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.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