Commands for installing OLED Sleeper without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Quorthon13.OLEDSleeper -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Quorthon13.OLEDSleeper -e --silentwinget uninstall --id Quorthon13.OLEDSleeper -e --silentBy installer
32-bit · EXE (Inno Setup) · All users · en-US
Silent install
OLED-Sleeper-2.2.0-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
OLED-Sleeper-2.2.0-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\oled-sleeper"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{782DD1AF-DB60-48D7-8787-0838B581E16F}}_is1
- Install folder
- %ProgramFiles%\OLED Sleeper
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-oled-sleeper.ps1
$url = 'https://github.com/Quorthon13/OLED-Sleeper/releases/download/v2.2.0/OLED-Sleeper-2.2.0-Setup.exe'
$sha256 = 'BCA309821C8A14905EB77802F785C9E0336BA8728A1746EC66019B78C76ECF07'
$file = Join-Path $env:TEMP 'OLED-Sleeper-2.2.0-Setup.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