Error 1722 when installing an update for Uniwell Lynx Enterprise

Issue

Error 1722 when installing an update for Uniwell Lynx Enterprise [There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.]

Cause

A previously installed version of PostgreSQL has not been uninstalled BEFORE installing an update for Uniwell Lynx Enterprise

Solution

Uninstall PostgreSQL then install the update for Uniwell Lynx Enterprise