Ordres per instal·lar OpenHuman 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 TinyHumansAI.OpenHuman -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TinyHumansAI.OpenHuman -e --silentwinget uninstall --id TinyHumansAI.OpenHuman -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
OpenHuman_0.64.15_x64-setup.exe /SUna altra carpeta
OpenHuman_0.64.15_x64-setup.exe /S /D=C:\Apps\openhuman- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OpenHuman
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i OpenHuman_0.64.15_x64_en-US.msi /qn /norestartDesar un registre
msiexec /i OpenHuman_0.64.15_x64_en-US.msi /qn /norestart /l*v "%TEMP%\openhuman-install.log"Desinstal·lar
msiexec /x {3E7388F0-42A8-41C4-95C3-3323D24EF4D6} /qn /norestart- Codi de producte MSI
- {3E7388F0-42A8-41C4-95C3-3323D24EF4D6}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3E7388F0-42A8-41C4-95C3-3323D24EF4D6}
- UpgradeCode
- {54052255-0CFF-5EA8-82D1-C533E6DE0990}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-openhuman.ps1
$url = 'https://github.com/tinyhumansai/openhuman/releases/download/v0.64.15/OpenHuman_0.64.15_x64-setup.exe'
$sha256 = 'FFF6A9588C2F71334DF8EC1F395B3BFAE7395D77E84C97FEF50950DD6411A2D6'
$file = Join-Path $env:TEMP 'OpenHuman_0.64.15_x64-setup.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-openhuman.ps1
$url = 'https://github.com/tinyhumansai/openhuman/releases/download/v0.64.15/OpenHuman_0.64.15_x64_en-US.msi'
$sha256 = 'D3ADD5F3CA48B62B7CA93BB53B7990D35E3D40673E42C9A951915F459993FDD9'
$file = Join-Path $env:TEMP 'OpenHuman_0.64.15_x64_en-US.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait