wireshark/packaging/u3/win32
Chris Maynard ce088c334d makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes.
svn path=/trunk/; revision=50140
2013-06-25 15:32:49 +00:00
..
Makefile.nmake makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes. 2013-06-25 15:32:49 +00:00
README.txt State that we don't support U3 any more. 2013-04-29 23:08:31 +00:00
makenmake.pl The U3 and PortableApps packaging processes depend on simple 2012-10-19 17:47:34 +00:00
manifest.tmpl Changes to use a generic manifest to determine package contents, and also U3 self-certification fixes e.g. 2008-01-04 14:10:57 +00:00
u3util.c Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00
u3util.exe.manifest Update to install latest WinPcap and silently install/uninstall the Visual C++ 2008 Redistributable. 2009-06-02 11:56:28 +00:00
wireshark.bat Update Free Software Foundation address. 2012-06-28 22:56:06 +00:00

README.txt

$Id$

U3
==

U3 was a portable (installer-less) application technology developed by
SanDisk and M-Systems. According to

http://kb.sandisk.com/app/answers/detail/a_id/5358/kw/u3

U3 technology reached end of life in 2009. The developer information
which was hosted at www.u3.com is no longer available. Starting with
Wireshark 1.11 U3 packages are no longer officially supported and this
directory will eventually be removed.

See also:
http://en.wikipedia.org/wiki/U3 and http://www.u3.com

U3 Packaging
============

This directory contains the scripts to build a U3 Package (wireshark.u3p) that can be loaded onto a U3 device. This will allow Wireshark to be run from any Windows machine the U3 device is plugged into, without having to install Wireshark directly. For more details about U3 devices, see http://www.u3.com/.

The U3 package is basically a zip file with a manifest file (wireshark.u3i), a small utility to manage the shutdown of Wireshark when the device is removed, and the Wireshark application files. The package contains all the standard Wireshark components (e.g. tshark.exe), even though they cannot be directly accessed. However, with a suitable additional script (setting the U3 environment variables), the would meet the "wireshark-as-a-zip" wish.

You will need the cygwin zip archive package to build the package itself. Once you have the package you can load the package using "Add Programs"/"Install from My Computer" from the U3 LaunchPad.

A few minor changes have been made to Wireshark itself:
1) Wireshark will write a <pid>.pid file while running. This allows the utility to close down Wireshark when the device is removed.
2) filesystem.c has been changed to take advantage of the U3 "datafile_dir" and "persconffile_dir". Personal settings are then stored on the device.
3) The files in the 'recent' file are written in a form that allows the U3 device path to change.

There is a [self-]certification process for U3 packages which could be undertaken if there is sufficient interest for this package format. Wireshark could then be placed on Software Central - http://software.u3.com/SoftwareCentral.aspx?skip=1.

UPX
===

If the Ultimate Packer for eXecutables (UPX) (http://upx.sourceforge.net) is downloaded and configured in config.nmake, the packaging process will pack all of the dll and exes before putting them into the U3 pacakage. This can significantly reduce the size of the U3 package - by about 40%.

Known Issues:
=============

1) The U3 package tries to install WinPcap if it is not already installed when it is first run. It will be automatically removed when the device is removed. But this is not the best approach.
2) The distribution of the files across the U3 host and U3 device needs to be verified for all protocols.
3) The list of files should be derived from a common source (e.g. nsis/wireshark.nsi)
4) Wireshark does not close down cleanly when a dialog is up.
5) If Wireshark is uninstalled from the U3 stick, all personal settings are gone. This is unlike the "normal" WS package, but seems to be common for U3 programs.