Ordres per instal·lar OpenWork 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 DifferentAI.OpenWork -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DifferentAI.OpenWork -e --silentwinget uninstall --id DifferentAI.OpenWork -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
openwork-cloud-win-x64-0.18.63.exe /SUna altra carpeta
openwork-cloud-win-x64-0.18.63.exe /S /D=C:\Apps\openwork- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\29165f8a-586b-5470-a1cc-cfff30a85ed3
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-openwork.ps1
$url = 'https://github.com/different-ai/openwork/releases/download/v0.18.63/openwork-cloud-win-x64-0.18.63.exe'
$sha256 = '50E6FE18297BE3EB6855B84DC1AC7015901202D6BCA5C568173F1D6A7F47B0B7'
$file = Join-Path $env:TEMP 'openwork-cloud-win-x64-0.18.63.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