Re: [GNC] Uninstalling previous versions

2018-07-04 Thread DaveC49
Stan,

The previous discussion on uninstalling related to Linux (the Ubuntu
distribution in particular) where users have built GnuCash from the source
code.

On Linux, if you use the particular Linux distribution's (Ubuntu, Debian,
Redhat, Centos etc.) supported version of Gnucash, it normally has an
uninstall for the previous version available to the user. Unlike Windows
though, it is not necessarily built into the installer for the succeeding
versions to automatically uninstall any previous versions, which would be
nice. Some distribution package managers may or should do that.

Unfortunately the Linux distribution GnuCash versions are often considerably
behind the GnuCash stable releases, so more Linux users tend to build from
source than would on either Windows or MACs. Linux is complicated by there
being many variants of it and these all tend to handle package management in
their own way, which is why packaging for a particular distribution is in
the hands of the people who manage the distribution rather than the GnuCash
developers. 

David Cousens



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Uninstalling previous versions

2018-07-03 Thread Geert Janssens
Op dinsdag 3 juli 2018 04:48:21 CEST schreef Thomas Forrester:

> > > Totally agree.  Windows in not entirely free of messy installers, far
> > > from it, but the vast majority of installers take care of the
> > > prerequisites, including suspending the installation waiting for the
> > > user to close a program that's trying to upgrade itself.  At a minimum
> > > any installer worth its salt should be able to check existing files
> > > against a manifest of valid files for the currently installing version,
> > > and delete anything conflicting.
> > > 
I'm not that well versed with Windows installers but I don't think what you 
describe is how they actually work. As far as I understand an installer will 
indeed create some kind of install manifest. This manifest will be used to 
remove these files again before installing the new ones. But the new installer 
itself does not come with a list of files from older versions that at some 
point have become obsolete. It also is not aware of optional files as far as I 
know.
Our installer has been configured for quite a while already to first delete an 
existing gnucash installation before installing the new one. I have no idea 
why this sometimes still leaves old files lingering. Perhaps the installer 
internally uses some heuristics to only delete files it believes have really 
changed or are gone. And perhaps this fails because we completely changed 
build systems on Windows which confuses these heuristics.

If you see ways to improve our installer you are encouraged to send in a patch 
or PR... It would certainly be appreciated.

Regards,

Geert


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Thomas Forrester
Hmm.  In the past it seemed that was happening just by replying, but I see
it did not in this case.  Replying to you AND the list this time, because I
agree that the devs need feedback on issues like this.  Thanks for pointing
out the missed address.


On Sun, Jul 1, 2018 at 12:25 PM Stan Brown 
wrote:

> Thanks for your agreement, but t looks like you replied to me and not to
> the list. I think the devs need to see comments on this point -- the
> more they see, the more likely they'll actually fix it.
>
> --
> Regards,
> Stan Brown
> Tompkins County, New York, USA
> http://BrownMath.com
> http://OakRoadSystems.com
>
>
> On 2018-07-01 11:58, Thomas Forrester wrote:
> > Totally agree.  Windows in not entirely free of messy installers, far
> > from it, but the vast majority of installers take care of the
> > prerequisites, including suspending the installation waiting for the
> > user to close a program that's trying to upgrade itself.  At a minimum
> > any installer worth its salt should be able to check existing files
> > against a manifest of valid files for the currently installing version,
> > and delete anything conflicting.
> >
> >
> > On Sun, Jul 1, 2018 at 7:04 AM Stan Brown  > > wrote:
> >
> > Here's my take, for what it's worth. At least in the Windows world,
> the
> > assumption is that when you install a new version it either removes
> the
> > old version entirely, or leaves the old version functional but
> installs
> > the new version in parallel. (The latter is less common, but some
> > programs do it when the new version is a major change.) Leaving a few
> > old files behind as orphans is usually regarded as an error of the
> new
> > installer.
> >
> > I don't have a problem with the requirement to uninstall the old
> > version, but it was news to me, and I think would surprise many
> Windows
> > users. Surely the installer of the new version can uninstall the old
> > version itself -- and in my opinion, it should.
> >
> > --
> > Regards,
> > Stan Brown
> > Tompkins County, New York, USA
> > http://BrownMath.com
> > http://OakRoadSystems.com
> >
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org 
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > If you are using Nabble or Gmane, please see
> > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> > -
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
> >
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Bruce Lang

Oops -should've checked bugs first.

Thanks,

*Bruce*



On 2/07/2018 10:10 PM, Christopher Lam wrote:

https://bugs.gnucash.org/show_bug.cgi?id=796697
Instructions to fix html-utilities.scm within

On Mon, 2 Jul 2018, 20:11 Bruce Lang > wrote:


Hi,

I installed 3.2 but I experienced problems with displaying the
reports.

Trial Balance and Equity Statement produced an "Error in producing
report" message. I can view the various Options for the reports
and all
settings were as previously configured (under the former version).

Other reports, such as P&L, Budget Report, Cash Flow, etc all
displayed
correctly.

I installed 3.2 using the automatic installer and all seemed OK
and no
problems encountered with the install.

However, I have now reverted to 3.1 and those reports now display as
they are meant to.

(OS is Win10)

Thanks,

*Bruce*



On 2/07/2018 7:42 PM, Stan Brown wrote:
> Thanks for clarifying, Geert. From the earlier discussion I had the
> impression that we were supposed to do a manual uninstall every time
> before installing a new version, so I'm glad to learn that's not
true.
>




___
gnucash-user mailing list
gnucash-user@gnucash.org 
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.






___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Christopher Lam
https://bugs.gnucash.org/show_bug.cgi?id=796697
Instructions to fix html-utilities.scm within

On Mon, 2 Jul 2018, 20:11 Bruce Lang  wrote:

> Hi,
>
> I installed 3.2 but I experienced problems with displaying the reports.
>
> Trial Balance and Equity Statement produced an "Error in producing
> report" message. I can view the various Options for the reports and all
> settings were as previously configured (under the former version).
>
> Other reports, such as P&L, Budget Report, Cash Flow, etc all displayed
> correctly.
>
> I installed 3.2 using the automatic installer and all seemed OK and no
> problems encountered with the install.
>
> However, I have now reverted to 3.1 and those reports now display as
> they are meant to.
>
> (OS is Win10)
>
> Thanks,
>
> *Bruce*
>
>
>
> On 2/07/2018 7:42 PM, Stan Brown wrote:
> > Thanks for clarifying, Geert. From the earlier discussion I had the
> > impression that we were supposed to do a manual uninstall every time
> > before installing a new version, so I'm glad to learn that's not true.
> >
>
>
>
>
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Bruce Lang

Hi,

I installed 3.2 but I experienced problems with displaying the reports.

Trial Balance and Equity Statement produced an "Error in producing 
report" message. I can view the various Options for the reports and all 
settings were as previously configured (under the former version).


Other reports, such as P&L, Budget Report, Cash Flow, etc all displayed 
correctly.


I installed 3.2 using the automatic installer and all seemed OK and no 
problems encountered with the install.


However, I have now reverted to 3.1 and those reports now display as 
they are meant to.


(OS is Win10)

Thanks,

*Bruce*



On 2/07/2018 7:42 PM, Stan Brown wrote:

Thanks for clarifying, Geert. From the earlier discussion I had the
impression that we were supposed to do a manual uninstall every time
before installing a new version, so I'm glad to learn that's not true.






___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Stan Brown


Thanks for clarifying, Geert. From the earlier discussion I had the
impression that we were supposed to do a manual uninstall every time
before installing a new version, so I'm glad to learn that's not true.

-- 
Regards,
Stan Brown
Tompkins County, New York, USA
http://BrownMath.com
http://OakRoadSystems.com


On 2018-07-02 05:29, Geert Janssens wrote:
> Op zondag 1 juli 2018 14:02:06 CEST schreef Stan Brown:
>> Surely the installer of the new version can uninstall the old
>> version itself -- and in my opinion, it should.
> 
> That's the general principle and that's also what the gnucash installer will 
> do.
> 
> There are a few caveats though:[snip]
> 
> An update usually works though. If not an explicit uninstall followed by a 
> manual removal of left over files helps to eliminate this class of errors.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Uninstalling previous versions

2018-07-02 Thread Geert Janssens
Op zondag 1 juli 2018 14:02:06 CEST schreef Stan Brown:
> Here's my take, for what it's worth. At least in the Windows world, the
> assumption is that when you install a new version it either removes the
> old version entirely, or leaves the old version functional but installs
> the new version in parallel. (The latter is less common, but some
> programs do it when the new version is a major change.) Leaving a few
> old files behind as orphans is usually regarded as an error of the new
> installer.
> 
> I don't have a problem with the requirement to uninstall the old
> version, but it was news to me, and I think would surprise many Windows
> users. Surely the installer of the new version can uninstall the old
> version itself -- and in my opinion, it should.

That's the general principle and that's also what the gnucash installer will 
do.

There are a few caveats though:
1. the automated uninstall will fail if gnucash is still running.
2. If you have changed files in the gnucash installation, these changed files 
will not be removed. This happens sometimes as users make changes to reports 
or the environment configuration files

There may be other reasons why stray files of the old installation are left 
behind that I'm not aware of.

An update usually works though. If not an explicit uninstall followed by a 
manual removal of left over files helps to eliminate this class of errors.

Regards,

Geert


___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Uninstalling previous versions

2018-07-01 Thread Stan Brown
Here's my take, for what it's worth. At least in the Windows world, the
assumption is that when you install a new version it either removes the
old version entirely, or leaves the old version functional but installs
the new version in parallel. (The latter is less common, but some
programs do it when the new version is a major change.) Leaving a few
old files behind as orphans is usually regarded as an error of the new
installer.

I don't have a problem with the requirement to uninstall the old
version, but it was news to me, and I think would surprise many Windows
users. Surely the installer of the new version can uninstall the old
version itself -- and in my opinion, it should.

-- 
Regards,
Stan Brown
Tompkins County, New York, USA
http://BrownMath.com
http://OakRoadSystems.com

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.