Kommandoer til at installere HostTalk 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 tromoSM.HostTalk -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id tromoSM.HostTalk -e --silentwinget uninstall --id tromoSM.HostTalk -e --silentPr. installationsfil
64-bit · EXE (Inno Setup)
Lydløs installation
Hosttalk-windows-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
Hosttalk-windows-installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\hosttalk"PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-hosttalk.ps1
$url = 'https://github.com/tromoSM/HostTalk/releases/download/v0.9/Hosttalk-windows-installer.exe'
$sha256 = '58E0E10F119BB6481711BF2B6DE03956702E45DB7D7BBE21135F7376300D25BF'
$file = Join-Path $env:TEMP 'Hosttalk-windows-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait