Kommandon för att installera SecureSafe utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id DSwiss.SecureSafe -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DSwiss.SecureSafe -e --silentwinget uninstall --id DSwiss.SecureSafe -e --silentPer installationsfil
64-bitars · EXE (WiX Burn) · Alla användare
Tyst installation
securesafe-2.25.0.exe /quiet /norestartAvinstallation
msiexec /x {124B9F7A-A14D-4D74-9C38-B561A9AFCA82} /qn /norestart- MSI-produktkod
- {124b9f7a-a14d-4d74-9c38-b561a9afca82}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{124b9f7a-a14d-4d74-9c38-b561a9afca82}
- UpgradeCode
- {F8960FBA-683E-40E5-9B27-39F28F5AC760}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-securesafe.ps1
$url = 'https://app.securesafe.com/app/download/securesafe-2.25.0.exe'
$sha256 = 'B3831F52F1A8A291877205A97CC8104D19A847C48D4C16C6BF054C4B671C7576'
$file = Join-Path $env:TEMP 'securesafe-2.25.0.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 '/quiet /norestart' -Wait