Kommandoer til at installere Simple Sticky Notes 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 Simnet.SimpleStickyNotes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Simnet.SimpleStickyNotes -e --silentwinget uninstall --id Simnet.SimpleStickyNotes -e --silentPr. installationsfil
32-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
Setup_SimpleStickyNotes.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
Setup_SimpleStickyNotes.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\simple-sticky-notes"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Simple Sticky Notes_is1
- Installationsmappe
- %ProgramFiles%\Simnet\Simple Sticky Notes
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-simple-sticky-notes.ps1
$url = 'https://www.simplestickynotes.com/setup/Setup_SimpleStickyNotes.exe'
$sha256 = '5A5DCADEE27C31179E0A8D8B8B96D1BCEFC90D1FDCEDDCC0DA759A3B9A8850FC'
$file = Join-Path $env:TEMP 'Setup_SimpleStickyNotes.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