Commands for installing FolderSync 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 TacitDynamics.FolderSync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TacitDynamics.FolderSync -e --silentwinget uninstall --id TacitDynamics.FolderSync -e --silentBy installer
64-bit · MSIX
Silent install
Add-AppxPackage -Path foldersync-desktop-2.15.0.x64.msixUninstall
Get-AppxPackage -Name FoldersyncDesktop | Remove-AppxPackage- Install folder
- %ProgramFiles%\WindowsApps\FoldersyncDesktop_2.8.3.0_x64__6t9j0n6a0fbtj
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-foldersync.ps1
$url = 'https://github.com/tacitdynamics/foldersync-desktop-production/releases/download/2.15.0/foldersync-desktop-2.15.0.x64.msix'
$sha256 = '11ED70DB843F6FFC1C59F835448404A4DB38053943FE6496F71EF1D29CE3F51C'
$file = Join-Path $env:TEMP 'foldersync-desktop-2.15.0.x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file