Suggested by Frank H. Ellenberger and edited by myself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19551 57a11ea4-9604-0410-9ed3-97b8803252fd
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.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19528 57a11ea4-9604-0410-9ed3-97b8803252fd
* reduce footprint by not packaging unused files
* move gnc-mod required files to bin
* remove libdir from the PATH
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19513 57a11ea4-9604-0410-9ed3-97b8803252fd
- Windows
* binary name becomes GnuCash.exe
* gnucash.cmd is renamed to gnucash-launcer.cmd (consistent with OS X). This file is only needed to run GnuCash straight from the source installation. It is not used (or distributed) with the Windows Installer version.
* gnucash-valgrind, gnucash-gdb and the override extra's have been removed as they are meant for a UNIX like environment
- Linux/others
* binary name becomes gnucash
* the gnucash launch script has been removed together with gnucash-gdb. They no longer add value on linux.
* gnucash-valgrind has been retained because it contains useful presets
- OS X (Quartz)
* binary name remains gnucash-bin for now (requires synchronous changes in the externally hosted OS X build system)
* gnucash launcher script has been renamed to gnucash-launcher. This file is only needed to run GnuCash straight from the source installation. It is not used (or distributed) in the OS X bundle version.
* gnucash-gdb and gnucash-valgrind remain and can be used for debugging the source installation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19263 57a11ea4-9604-0410-9ed3-97b8803252fd
The patch evaluates and configures the proper paths at build time, retrieving
the required info directly from the aqbanking source
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18488 57a11ea4-9604-0410-9ed3-97b8803252fd
In order to help keep the various places run-time environment is created in sync, add a
comment to each place suggesting that environment changes should be reflected in all 4
places.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18263 57a11ea4-9604-0410-9ed3-97b8803252fd
This avoids cluttering the environment of the caller.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16932 57a11ea4-9604-0410-9ed3-97b8803252fd
Instead of trying to retrieve the system code page, simply hard-code the
code pages for the configured languages. This is one more string for
each new translation of the custom messages. Suggestions for how to
parse the LangOptions/LanguageCodePage parameter in isl files are
welcome.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16351 57a11ea4-9604-0410-9ed3-97b8803252fd