Ethereal-dev: Re: [Ethereal-dev] Win32 NSIS: calling old Ethereal uninstaller (if existing) be

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Peter Johansson <Peter.Johansson@xxxxxxxxxxxx>
Date: Sun, 24 Jul 2005 23:18:40 +0200
Ulf Lamping wrote:

Peter Johansson wrote:


It is always nice when an installation program cleans up any old *mess* before installing a new version. I would vote for this if it at the same time would be possible to have altered user preferences and colorisation rules survive to the new installation. I guess this means updating the installer to record the user configured information before uninstalling the previous version to be applied once the new version has been installed.


That's what I thought too.

Although I see some difficulties with this. Should the installer be aware of version specific information? What I mean is that if the 0.10.x installation contains a file that should be transferred when installing 0.11.x but not transferred when installing 0.12.x then specific information on how to handle different version transitions is required in the installation package.

Don't understand this, and probably we don't have such a case (yet). Could you give an example?

Let's say a future release X contains a new file "parameterfile". "parameterfile" contains default parameters for some new feature. The user has the ability to change the values of these default parameters and can also add new information to the file (like the colorisation rules). When release Y comes along, the content of "parameterfile" must be preserved as these features exist in Y too. However the "parameterfile" for rev Y contains both additional information to that of "parameterfile" in rev X as well as completely new information from rev Y that should be added to the preserved "parameterfile".
Can this be handled automagically?

Hope this helps! I am on vacation for the moment and it seems that I have successfully switched into non-working mode, this makes my responsiveness a bit slow.

/ Regards, Peter