Commands for installing Folder Size Explorer 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 Bazwise.FolderSizeExplorer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Bazwise.FolderSizeExplorer -e --silentwinget uninstall --id Bazwise.FolderSizeExplorer -e --silentBy installer
32-bit · ZIP
Silent install
msiexec /i FolderSizeExplorer-04-MAR-2018-V200.zip /qn /norestartUninstall
msiexec /x {CD453A88-D560-47A2-9D4D-414134F5A73D} /qn /norestart- MSI product code
- {CD453A88-D560-47A2-9D4D-414134F5A73D}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{CD453A88-D560-47A2-9D4D-414134F5A73D}
- UpgradeCode
- {0008BE5A-AE86-4FCF-A954-EC45EED8D484}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-folder-size-explorer.ps1
$url = 'https://storage.googleapis.com/downloads.bazwise.com/FolderSizeExplorer-04-MAR-2018-V200.zip'
$sha256 = '6230B27830396E93AC074E4DB73A0A91335341A68A528614016C9CC3A864F5DF'
$file = Join-Path $env:TEMP 'FolderSizeExplorer-04-MAR-2018-V200.zip'
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