Kommandoer til at installere KeePass uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id DominikReichl.KeePass -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DominikReichl.KeePass -e --silentwinget uninstall --id DominikReichl.KeePass -e --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\keepass"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1
64-bit · MSI · Alle brugere
Lydløs installation
msiexec /i download /qn /norestartSkriv en log
msiexec /i download /qn /norestart /l*v "%TEMP%\keepass-install.log"Afinstallation
msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart- MSI-produktkode
- {33F0E718-1110-4F95-A59B-230A62C02DE5}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33F0E718-1110-4F95-A59B-230A62C02DE5}
- UpgradeCode
- {F2F19898-4F86-4940-9BFA-426574CE03E1}
ARM64 · EXE (Inno Setup) · Alle brugere
Lydløs installation
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\keepass"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1
ARM64 · MSI · Alle brugere
Lydløs installation
msiexec /i download /qn /norestartSkriv en log
msiexec /i download /qn /norestart /l*v "%TEMP%\keepass-install.log"Afinstallation
msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart- MSI-produktkode
- {33F0E718-1110-4F95-A59B-230A62C02DE5}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33F0E718-1110-4F95-A59B-230A62C02DE5}
- UpgradeCode
- {F2F19898-4F86-4940-9BFA-426574CE03E1}
32-bit · EXE (Inno Setup) · Alle brugere
Lydløs installation
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
download /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\keepass"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\KeePassPasswordSafe2_is1
32-bit · MSI · Alle brugere
Lydløs installation
msiexec /i download /qn /norestartSkriv en log
msiexec /i download /qn /norestart /l*v "%TEMP%\keepass-install.log"Afinstallation
msiexec /x {33F0E718-1110-4F95-A59B-230A62C02DE5} /qn /norestart- MSI-produktkode
- {33F0E718-1110-4F95-A59B-230A62C02DE5}
- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{33F0E718-1110-4F95-A59B-230A62C02DE5}
- UpgradeCode
- {F2F19898-4F86-4940-9BFA-426574CE03E1}
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1-Setup.exe/download'
$sha256 = '9923A8B228FE3D8FBE46979991F45D7E0D63F649766596DA191EB879B293D38D'
$file = Join-Path $env:TEMP 'download'
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 install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1.msi/download'
$sha256 = '5A1D0D573D2CB6278394F75FDBFF4D05DCE44EAC6F522C7B43F5E637F77B46C0'
$file = Join-Path $env:TEMP 'download'
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 install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1-Setup.exe/download'
$sha256 = '9923A8B228FE3D8FBE46979991F45D7E0D63F649766596DA191EB879B293D38D'
$file = Join-Path $env:TEMP 'download'
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 install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1.msi/download'
$sha256 = '5A1D0D573D2CB6278394F75FDBFF4D05DCE44EAC6F522C7B43F5E637F77B46C0'
$file = Join-Path $env:TEMP 'download'
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 install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1-Setup.exe/download'
$sha256 = '9923A8B228FE3D8FBE46979991F45D7E0D63F649766596DA191EB879B293D38D'
$file = Join-Path $env:TEMP 'download'
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 install-keepass.ps1
$url = 'https://sourceforge.net/projects/keepass/files/KeePass%202.x/2.61.1/KeePass-2.61.1.msi/download'
$sha256 = '5A1D0D573D2CB6278394F75FDBFF4D05DCE44EAC6F522C7B43F5E637F77B46C0'
$file = Join-Path $env:TEMP 'download'
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