Commands for installing 字由 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 Hellofont.Hellofont -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Hellofont.Hellofont -e --silentwinget uninstall --id Hellofont.Hellofont -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
"字由 Setup 5.0.5.exe" /SCustom folder
"字由 Setup 5.0.5.exe" /S /D=C:\Apps\hellofont-hellofont- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8f053ba5-859b-5478-9c49-deb6f1af94af
64-bit · EXE (NSIS) · All users
Silent install
"字由 Setup 5.0.5.exe" /SCustom folder
"字由 Setup 5.0.5.exe" /S /D=C:\Apps\hellofont-hellofont- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8f053ba5-859b-5478-9c49-deb6f1af94af
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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