Kommandon för att installera Pass Simple 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 Shemeshg.PassSimple -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Shemeshg.PassSimple -e --silentwinget uninstall --id Shemeshg.PassSimple -e --silentPer installationsfil
64-bitars · EXE (NSIS)
Tyst installation
pass-simple-1.4.0-win64.exe /SEgen mapp
pass-simple-1.4.0-win64.exe /S /D=C:\Apps\pass-simpleARM64 · EXE (NSIS)
Tyst installation
pass-simple-1.4.0-win64-ARM.exe /SEgen mapp
pass-simple-1.4.0-win64-ARM.exe /S /D=C:\Apps\pass-simplePowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-pass-simple.ps1
$url = 'https://downloads.sourceforge.net/pass-simple/pass-simple-1.4.0-win64.exe'
$sha256 = '67A3F76A06113AB0FCEF644B54F3CC89D250225DDC621ACA37F6E3C7854ADC6A'
$file = Join-Path $env:TEMP 'pass-simple-1.4.0-win64.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 '/S' -Wait install-pass-simple.ps1
$url = 'https://downloads.sourceforge.net/pass-simple/pass-simple-1.4.0-win64-ARM.exe'
$sha256 = '5E19B4ECBF52B2707E4F7DA1B73C034E857AAD84809BD42EB0649E03D8DC23A0'
$file = Join-Path $env:TEMP 'pass-simple-1.4.0-win64-ARM.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 '/S' -Wait