Kommandoer til at installere 字由 uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE (NSIS) · Aktuel bruger
Lydløs installation
"字由 Setup 5.0.5.exe" /SEgen mappe
"字由 Setup 5.0.5.exe" /S /D=C:\Apps\hellofont-hellofont- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8f053ba5-859b-5478-9c49-deb6f1af94af
64-bit · EXE (NSIS) · Alle brugere
Lydløs installation
"字由 Setup 5.0.5.exe" /SEgen mappe
"字由 Setup 5.0.5.exe" /S /D=C:\Apps\hellofont-hellofont- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8f053ba5-859b-5478-9c49-deb6f1af94af
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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