Příkazy pro instalaci programu 字由 bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id Hellofont.Hellofont -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Hellofont.Hellofont -e --silentwinget uninstall --id Hellofont.Hellofont -e --silentPodle instalátoru
64bit · EXE (NSIS) · Aktuální uživatel
Tichá instalace
"字由 Setup 5.0.5.exe" /SVlastní složka
"字由 Setup 5.0.5.exe" /S /D=C:\Apps\hellofont-hellofont- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8f053ba5-859b-5478-9c49-deb6f1af94af
64bit · EXE (NSIS) · Všichni uživatelé
Tichá instalace
"字由 Setup 5.0.5.exe" /SVlastní složka
"字由 Setup 5.0.5.exe" /S /D=C:\Apps\hellofont-hellofont- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8f053ba5-859b-5478-9c49-deb6f1af94af
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-hellofont-hellofont.ps1
$url = 'https://download.hellofont.cn/Client/Release/channels/official/1-windows/字由%20Setup%205.0.5.exe'
$sha256 = '300FDF0E13E7EAC74DFABD9C72924F9B0A6402C5551F4C95074F4CCF594CE4C2'
$file = Join-Path $env:TEMP '字由 Setup 5.0.5.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-hellofont-hellofont.ps1
$url = 'https://download.hellofont.cn/Client/Release/channels/official/1-windows/字由%20Setup%205.0.5.exe'
$sha256 = '300FDF0E13E7EAC74DFABD9C72924F9B0A6402C5551F4C95074F4CCF594CE4C2'
$file = Join-Path $env:TEMP '字由 Setup 5.0.5.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