Kommandoer til at installere WikiSearch uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id tecwindow.WikiSearch -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id tecwindow.WikiSearch -e --silentwinget uninstall --id tecwindow.WikiSearch -e --silentPr. installationsfil
32-bit · EXE (Inno Setup)
Lydløs installation
WikiSearchV1.4.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
WikiSearchV1.4.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\wikisearch"PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-wikisearch.ps1
$url = 'https://github.com/tecwindow/WikiSearch/releases/download/V1.4.0/WikiSearchV1.4.0.exe'
$sha256 = '527CBAC1F51AC252E2EC102606F105B18A1B56D6D8087CCD8FAB62FC259B872D'
$file = Join-Path $env:TEMP 'WikiSearchV1.4.0.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