Kommandoer til at installere BestNotes 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 BestNotes.BestNotes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BestNotes.BestNotes -e --silentwinget uninstall --id BestNotes.BestNotes -e --silentPr. installationsfil
64-bit · EXE (NSIS)
Lydløs installation
BestNotes-3.6.0-Installer.exe /SEgen mappe
BestNotes-3.6.0-Installer.exe /S /D=C:\Apps\bestnotes- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\087a0f55-7340-5500-87e1-3b46c43cc73d
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-bestnotes.ps1
$url = 'https://updates.bestnotes.com/3.6.0/BestNotes-3.6.0-Installer.exe'
$sha256 = '85376D10C16E8B6F0387D0C12E49A3F51C75190F61BDE819ACC93AD94A9BBCB6'
$file = Join-Path $env:TEMP 'BestNotes-3.6.0-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 '/S' -Wait