Commands for installing Oleafly 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 Oleafly.Oleafly -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Oleafly.Oleafly -e --silentwinget uninstall --id Oleafly.Oleafly -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Oleafly_0.4.13_x64-setup.exe /SCustom folder
Oleafly_0.4.13_x64-setup.exe /S /D=C:\Apps\oleafly- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Oleafly
- Install folder
- %LocalAppData%\Oleafly
64-bit · MSI · All users
Silent install
msiexec /i Oleafly_0.4.13_x64_en-US.msi /qn /norestartWrite a log
msiexec /i Oleafly_0.4.13_x64_en-US.msi /qn /norestart /l*v "%TEMP%\oleafly-install.log"Uninstall
msiexec /x {24C2D57E-C407-457B-AA8C-E3C4FBD08C56} /qn /norestart- MSI product code
- {24C2D57E-C407-457B-AA8C-E3C4FBD08C56}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{24C2D57E-C407-457B-AA8C-E3C4FBD08C56}
- UpgradeCode
- {C5769C98-6171-585C-ADE9-C5BD6719EED7}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-oleafly.ps1
$url = 'https://github.com/Oleafly/Oleafly/releases/download/v0.4.13/Oleafly_0.4.13_x64-setup.exe'
$sha256 = '3F46943048B1F216D16ACD8BF111CEE25A08D48781AB2F4B37AC860DE52AF040'
$file = Join-Path $env:TEMP 'Oleafly_0.4.13_x64-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 '/S' -Wait install-oleafly.ps1
$url = 'https://github.com/Oleafly/Oleafly/releases/download/v0.4.13/Oleafly_0.4.13_x64_en-US.msi'
$sha256 = '0148ADF3784D393FF34F3BC0971DEC0A12C9DAA944E4AEA76B5502D0FBFF5EAA'
$file = Join-Path $env:TEMP 'Oleafly_0.4.13_x64_en-US.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait