Ethereal-dev: Re: [Ethereal-dev] Win32: Whole redesign of the NSIS installer, please review an

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

From: Loris Degioanni <loris.degioanni@xxxxxxxxx>
Date: Sun, 24 Jul 2005 23:23:35 -0700
I'd really like to see WinPcap 3.1 instead WinPcap 3.0 inside the Ethereal installer. It has many fixes, improvements and additional features. We plan to release 3.1 in a short time, but I'm not sure we'll be able to do it before Ethereal 0.10.12 (which if I understand well will happen tuesday?).

Loris


Ulf Lamping wrote:
Hi List!

I've just checked in an almost complete redesign of the Win32 NSIS installer.

Things changed (hopefully didn't forgot anything):

Installer:
- Installer now includes and installs WinPcap 3.0 (with detection, see below)
- Install Sections are grouped now
- New Separate page to select additional tasks like: icons, file extensions ...
- New Separate page for WinPcap detection/installation
- Start WinPcap "NPF" service doesn't require a reboot

Uninstaller:
- New Uninstall sections page (uninstall, settings, plugins, WinPcap)
- If uninstallation selected, plugins will now be completely uninstalled (all versions, not only the current one)
- If selected, uninstallation of WinPcap


WinPcap installer:
I found it strange for quite a while that Ethereal didn't include the WinPcap installer. I've added the currently released 3.0 installer, which will be copied into the Program Files dir and called from there if the "WinPcap installation" check box is selected.

The installer tries to detect if and which WinPcap version is currently installed. It uses the uninstall registry key to do this, which might fail for prehistoric versions prior to 2.3.

The installer screen will select installation by default if a 2.x version was detected or WinPcap wasn't detected at all. If anything other than a 2.x version was detected (e.g. 3.x), installation will not be selected.

In either case, the user can overwrite this default value at will, e.g. keeping an old 2.x version or overwriting a newer 3.x one.

If installation was selected (by user or by default) a previously existing WinPcap version will be uninstalled first by calling the uninstall program.


Conclusion:
I've done extensive testing and things should be bullet proof, however there are too many possibilities in the world...

I've tried to provide usable defaults for all the settings in the installer/uninstaller. As a general guide it should install usable defaults and don't uninstall precious user data/settings.

Regards, ULFL

P.S: Before playing with the installer, make copies of at least your settings ;-)

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev