Skip to content

One click plugin update

Rookiestyle edited this page Dec 2, 2021 · 4 revisions

One-click plugin updates is a feature of EarlyUpdateCheck that simplifies updating my plugins.

Usage instructions
Windows UAC / User Account Control
Updating dll plugin files

Usage instructions

If this feature is active and updates for any of my plugins are available, the Update check form will let you update to a newer version of any of my plugins. This is not fully automated, you can still decide whether you want to update or not.

All plugins with pending updates are preselected by default.
Possible values in the Update column:

  • Green icon = A newer version of this plugin is available, clicking Start update will update the plugin
  • Gray icon = A newer version of this plugin is available, clicking Start update will not update the plugin
  • No icon = No newer version of this plugin is available or it's none of my plugins

Select all plugins you wish to update and click Start Update.
Once the plugins have been updated, you need to restart KeePass.
Update

Windows UAC / User Account Control

EarlyUpdateCheck needs to have write access to the KeePass plugin folder, otherwise the updated plugins cannot be saved.
Most of the times, this happens if KeePass is installed in the Programs folder as this is a protected folder by default and requires elevated access rights.

If no write access is given, EarlyUpdateCheck can try an alternative approach which utilizes UAC.
A message is shown during the update process to inform you about this. If you confirm, the standard windows consent or credential prompt (cf. UAC link) can be shown.

UAC info!

Updating dll plugin files

If a plugin is shipped as plgx, KeePass internally compiles this files into a dll file and uses this compiled file instead of the initial plgx file.

If a plugin is shipped as dll, KeePass loads this very file into memory. As the dll file itself is in active usage while KeePass runs and it cannot be replaced easily.
If EarlyUpdateCheck does not succeed in replacing the old dll file, it will offer to open the temporary folder containing the new Version. You have to move the downloaded files to the target location manually after KeePass is closed.