Ordres per instal·lar WorkBuddy sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe /SUna altra carpeta
WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe /S /D=C:\Apps\workbuddy- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BFD312E9-1019-4F57-9F44-F86246833B50
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe /SUna altra carpeta
WorkBuddy-win32-x64-user-5.8.3.41334564-db0e9b51.exe /S /D=C:\Apps\workbuddy- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\BFD312E9-1019-4F57-9F44-F86246833B50
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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