Kommandon för att installera Teach2000 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 basement-nl.Teach2000 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id basement-nl.Teach2000 -e --silentwinget uninstall --id basement-nl.Teach2000 -e --silentPer installationsfil
32-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
teach853.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
teach853.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\teach2000"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Teach2000.7 XP - The Troolean Edition_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-teach2000.ps1
$url = 'https://teach2000.scholierennet.be/teach853.exe'
$sha256 = 'E2451D0D0AA172AFA7035FDA1073E38B22C4FAF601B1870B4CCDACFA393D650F'
$file = Join-Path $env:TEMP 'teach853.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait