Packaging tips for KeePass version 2.x

As a packager you naturally want to make as many machine-based settings as possible for the KeePass application, so that the settings are set for all users. Not that users can update programs themselves, among other things.

Configuration file to deploy certain settings to all users.

INSTALLDIR = Directory where the program installation is located.

Settings can be changed in INSTALLDIR\KeePass.config.xml.

To change a default language setting, the language pack .lngx must be present in INSTALLDIR\Languages.

Can be downloaded via:

Language file name can be added/changed in the section below:

keepass options check for updates

If you want to disable checking for updates at startup, you need to add the lines below:

<Start> <CheckForUpdate>false</CheckForUpdate> <CheckForUpdateConfigured>true</CheckForUpdateConfigured> </Start>
keepass menu help check for updates

To remove certain UI elements, you can add UIFlags. Below is a selection of the different UIFlags:

[table id=4 /]

An example of a KeePass.config.xml file:

<?xml version="1.0" encoding="utf-8"?>
 <Configuration xmlns:xsi="" xmlns:xsd="">

More information for other configurations:

Leave a Reply

Your email address will not be published. Required fields are marked *