Kommandon för att installera Glint utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id shadijhade.Glint -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id shadijhade.Glint -e --silentwinget uninstall --id shadijhade.Glint -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
Glint_0.12.0_x64-setup.exe /SEgen mapp
Glint_0.12.0_x64-setup.exe /S /D=C:\Apps\glint- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Glint
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-glint.ps1
$url = 'https://github.com/shadijhade/glint/releases/download/v0.12.0/Glint_0.12.0_x64-setup.exe'
$sha256 = '0127FE4495ECF0C41C35051F8FD48CB7C4E20ACB68F12F6596ACF3822437F8CB'
$file = Join-Path $env:TEMP 'Glint_0.12.0_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