r19528 - gnucash/trunk/packaging/win32 - Bug #588414 - Got "Entry Point Not Found" errors starting GnuCash, but ran OK

Geert Janssens gjanssens at code.gnucash.org
Wed Sep 1 09:09:58 EDT 2010


Author: gjanssens
Date: 2010-09-01 09:09:57 -0400 (Wed, 01 Sep 2010)
New Revision: 19528
Trac: http://svn.gnucash.org/trac/changeset/19528

Modified:
   gnucash/trunk/packaging/win32/gnucash.iss.in
Log:
Bug #588414 - Got "Entry Point Not Found" errors starting GnuCash, but ran OK
The problem is caused by leftover files from a previous install.
The solution is to uninstall GnuCash before installing a new version in such cases.
This commit adds a compatibility test and uninstall step to the windows installer
that will automatically uninstall the previous gnucash release if it is considered
'incompatible' with the one to be installed. The user will be warned of this, so
he can decide to cancel the installation if he doesn't like the idea of uninstalling
his working GnuCash installation.
Currently, versions are considered 'incompatible' if their major or minor version
components are different, so 2.3.x is incompatible with 2.2.x and will trigger
an uninstall. Likewise, a 2.4.x install is incompatible with a 2.3.x and will
trigger an uninstall. This is a nice way to remove all testing 'cruft' from the 
system once the new release comes out.
Note that in the future installing 2.3.16+ over 2.4.x will also trigger the uninstall, which is
a good thing IMO. An older release can't know about changes made in a newer one,
so it's safer to first uninstall the newer one to avoid leftover files.



More information about the gnucash-patches mailing list