Wireshark Update

On Windows, there's commonly no thing like a package manager as on (most?) linux systems. There's the WSUS service, which is unfortunately only for microsoft products and not available for other projects.

Some open source projects (e.g. Firefox) have build their own version check / update mechanisms. Under "Help/Check for Updates..." the user can trigger a version check (it's also done in a frequent way automatically). If there's a new version available, it displays a dialog asking if the user wants to install that update.

As this seems to be a problem on Microsoft Windows systems only, the following will focus on MS Windows. The basic mechanisms could be applied to other platforms as well, if there's demand for it.

So the update mechanism should do the following:

The URL of the update file should contain version and platform information, some examples could look like:

However, details of the URL still has to be specified.

An example update file could look like:

# this file's URL (to be able to move the location later)
update.display: The Wireshark update file base location
update.info: http://www.wireshark.org/update
update.version: 0.0.1
update.update.url: http://www.wireshark.org/update
# the wireshark setup
wireshark.setup.display: The Wireshark Windows installer
wireshark.setup.info: http://www.wireshark.org/download.html
wireshark.setup.version: 0.99.4
wireshark.setup.update.url: http://switch.dl.sourceforge.net/sourceforge/wireshark/wireshark-setup-0.99.4.exe
wireshark.setup.update.url2: http://heanet.dl.sourceforge.net/sourceforge/wireshark/wireshark-setup-0.99.4.exe
# add more sf.net mirrors here ...
# an alternative would be to use the round-robin scheduler of sourceforge
# wireshark.setup.update.url: ftp://dl.sourceforge.net/pub/sourceforge/w/wi/wireshark/wireshark-setup-0.99.4.exe
wireshark.setup.update.md5: 2556a31d0d770dd1990bd67b98bd2f9b
# the WinPcap setup
winpcap.display: The WinPcap version recommended for Windows XP
winpcap.info: http://www.winpcap.org/
winpcap.version: 3.1
winpcap.update.url: http://www.winpcap.org/install/bin/WinPcap_3_1.exe
winpcap.update.md5: 2556a31d0d770dd1990bd67b98bd2f9b

Questions

Development/Update (last edited 2008-09-02 09:25:45 by JaapKeuter)