Příkazy pro instalaci programu Folder Password Protector bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id SoftOrbits.FolderPasswordProtector -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SoftOrbits.FolderPasswordProtector -e --silentwinget uninstall --id SoftOrbits.FolderPasswordProtector -e --silentPodle instalátoru
32bit · EXE (Inno Setup) · Aktuální uživatel · en-US
Tichá instalace
FolderPasswordProtectorSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
FolderPasswordProtectorSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\folder-password-protector"- Klíč odinstalace v registru
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Folder Password Protector_is1
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-folder-password-protector.ps1
$url = 'https://download.softorbits.com/filesNew/v/3.2/FolderPasswordProtectorSetup.exe'
$sha256 = '6AF6039C9AFF0AFD6F7460FB08CBD3BC95E71C952449DA5B2E4F5FB522946DFA'
$file = Join-Path $env:TEMP 'FolderPasswordProtectorSetup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait