Commands for installing Folder Size 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 Brio.FolderSize -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Brio.FolderSize -e --silentwinget uninstall --id Brio.FolderSize -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i download /qn /norestartWrite a log
msiexec /i download /qn /norestart /l*v "%TEMP%\folder-size-install.log"Uninstall
msiexec /x {F24FF688-7138-4CCF-A83F-71E9FB01170E} /qn /norestart- MSI product code
- {F24FF688-7138-4CCF-A83F-71E9FB01170E}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F24FF688-7138-4CCF-A83F-71E9FB01170E}
32-bit · MSI · All users
Silent install
msiexec /i download /qn /norestartWrite a log
msiexec /i download /qn /norestart /l*v "%TEMP%\folder-size-install.log"Uninstall
msiexec /x {FC8D21C8-7B29-4104-ADB0-FEE9CA1C7922} /qn /norestart- MSI product code
- {FC8D21C8-7B29-4104-ADB0-FEE9CA1C7922}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FC8D21C8-7B29-4104-ADB0-FEE9CA1C7922}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-folder-size.ps1
$url = 'https://sourceforge.net/projects/foldersize/files/foldersize/2.6/FolderSize-2.6-x64.msi/download'
$sha256 = '76A5FE05214D9669E09B3DF6FDE80646700B27CB73B1D1FF23066660813A77EC'
$file = Join-Path $env:TEMP 'download'
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 install-folder-size.ps1
$url = 'https://sourceforge.net/projects/foldersize/files/foldersize/2.6/FolderSize-2.6-x86.msi/download'
$sha256 = '8D01E67B69FDE230DA3654B8755326A0E38001A1BF7CF98C89B1B2BA1F544F74'
$file = Join-Path $env:TEMP 'download'
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