Commands for installing ProjectLibre 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 ProjectLibre.ProjectLibre -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ProjectLibre.ProjectLibre -e --silentwinget uninstall --id ProjectLibre.ProjectLibre -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i ProjectLibre-1.9.8.msi /qn /norestartWrite a log
msiexec /i ProjectLibre-1.9.8.msi /qn /norestart /l*v "%TEMP%\projectlibre-install.log"Uninstall
msiexec /x {11F1C951-F838-3516-971D-743051AC5510} /qn /norestart- MSI product code
- {11F1C951-F838-3516-971D-743051AC5510}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{11F1C951-F838-3516-971D-743051AC5510}
- UpgradeCode
- {A5FA486C-A7F4-360E-BF93-7F9A6D057FA4}
- Install folder
- %ProgramFiles%\ProjectLibre
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-projectlibre.ps1
$url = 'https://sourceforge.net/projects/projectlibre/files/ProjectLibre/1.9.8/ProjectLibre-1.9.8.msi'
$sha256 = '32E46BA3CE7B3A81DC8EC648F6BAF8F6F6056C8CF9203F75F8187E9E4637833F'
$file = Join-Path $env:TEMP 'ProjectLibre-1.9.8.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