Befehle, um WebFortran Command Line Interface 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 Approximatrix.WebFortran -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Approximatrix.WebFortran -e --silentwinget uninstall --id Approximatrix.WebFortran -e --silentNach Installer
32-Bit · MSIX
Stille Installation
Add-AppxPackage -Path WebFortran-CLI-Windows-x86-0.8.58-20240909.msixDeinstallation
Get-AppxPackage -Name ApproximatrixLLC.WebFortranCLI | Remove-AppxPackage- Installationsordner
- %ProgramFiles%\WindowsApps\ApproximatrixLLC.WebFortranCLI_0.8.58.0_x86__0jx8e5hdpzy06
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-webfortran-command-line-interface.ps1
$url = 'https://download.simplyfortran.com/webfortran/WebFortran-CLI-Windows-x86-0.8.58-20240909.msix'
$sha256 = 'F1121B51BB10C9EA17DB341C811330228349A7CF9566FA96794BC59B8E1CD1F7'
$file = Join-Path $env:TEMP 'WebFortran-CLI-Windows-x86-0.8.58-20240909.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file