Příkazy pro instalaci programu Tracker bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id OpenSourcePhysics.Tracker -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenSourcePhysics.Tracker -e --silentwinget uninstall --id OpenSourcePhysics.Tracker -e --silentPodle instalátoru
64bit · EXE · Všichni uživatelé
Tichá instalace
Tracker-6.3.4-windows-x64-installer.exe --mode unattended --unattendedmodeui none- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\OSP Tracker
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-tracker.ps1
$url = 'https://physlets.org/tracker/installers/Tracker-6.3.4-windows-x64-installer.exe'
$sha256 = '8CAE6297ECCFCE8B5A13A4648F17842F77A9FDA5982F76505C7D9786546C1F83'
$file = Join-Path $env:TEMP 'Tracker-6.3.4-windows-x64-installer.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 '--mode unattended --unattendedmodeui none' -Wait