Befehle, um AstroGrep ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id AstroComma.AstroGrep -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AstroComma.AstroGrep -e --silentwinget uninstall --id AstroComma.AstroGrep -e --silentNach Installer
64-Bit · EXE (NSIS) · Alle Benutzer
Stille Installation
download /SEigener Ordner
download /S /D=C:\Apps\astrogrep- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AstroGrep
32-Bit · EXE (NSIS) · Alle Benutzer
Stille Installation
download /SEigener Ordner
download /S /D=C:\Apps\astrogrep- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\AstroGrep
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-astrogrep.ps1
$url = 'https://sourceforge.net/projects/astrogrep/files/AstroGrep%20(Win32)/AstroGrep%20v4.4.9/AstroGrep_Setup_v4.4.9.exe/download'
$sha256 = '16DCD6660BAF2EADFD50394F9492E71E9EE68F90153208C2B4FA09F51EEFD009'
$file = Join-Path $env:TEMP 'download'
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-astrogrep.ps1
$url = 'https://sourceforge.net/projects/astrogrep/files/AstroGrep%20(Win32)/AstroGrep%20v4.4.9/AstroGrep_Setup_v4.4.9.exe/download'
$sha256 = '16DCD6660BAF2EADFD50394F9492E71E9EE68F90153208C2B4FA09F51EEFD009'
$file = Join-Path $env:TEMP 'download'
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