wireshark/packaging/portableapps
Gerald Combs d1cacbb146 PortableApps: Allow multiple instances.
The documentation for the [Launch]SingleAppInstance key doesn't seem
to match its behavior in that its default value (true) keeps multiple
portable instances from running, at least for us. Set it to false since
we're happy with users running as many concurrent instances as they can
stand. Set the related SinglePortableAppInstance key to false while
we're here in case its default value ever changes.

Change-Id: Iea1a6a80d5b204814b7569776734e0b0e254d657
Reviewed-on: https://code.wireshark.org/review/17616
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-09-09 22:55:12 +00:00
..
CMakeLists.txt CMake+PortableApps: Include the VC runtime (second try). 2015-12-04 22:32:32 +00:00
WiresharkPortable.ini PortableApps: Allow multiple instances. 2016-09-09 22:55:12 +00:00
appinfo.tmpl CMake: Initial PortableApps targets. 2015-04-14 19:11:50 +00:00
help.html Move the PortabaleApps packaging up one level. 2015-04-10 17:16:21 +00:00
readme.txt Remove the last remnants of U3 support. 2016-03-11 19:55:57 +00:00
xcopy-deploy-exclude.txt CMake: Initial PortableApps targets. 2015-04-14 19:11:50 +00:00

readme.txt

Portable Wireshark
==================

This directory contains experimental packaging for running Wireshark under the Portable Apps 
(http://www.portableapps.com/). 

Currently only an additional menu item for Wireshark is added - the other tools could be added to Portable Apps menu if required.

WinPcap
=======

If you want to capture packets, then WinPcap needs to be installed. Wireshark Portable will try and install WinPcap if it doesn't find it installed on the local machine. If it does install it, it will uninstall it when Wireshark Portable quits.
A quieter install/de-install for WinPcap would help matters - but ultimately a minimal installation mechanism needs to be identified for WinPcap. But that is not for the Wireshark forum.

NSIS
====

The Portable Apps packaging uses the NullSoft Scriptable Installer System (NSIS) to create a installation package to install onto the USB drive, and a launcher to launch Wireshark from the USB drive.

NSIS is used by the standard Win32 installation mechansim (packaging/nsis) but an additional plug-in is required for the Wireshark Portable launcher. This is now automatically downloaded and installed from the wireshark-win32-libs repository.

INI Settings
============
The Wireshark Portable Launcher will look for an ini file called WiresharkPortable.ini within its directory.  It is only necessary to have a ini file if you wish to change the default configuration. 
There is an example INI included with this package to get you started.  The INI file is formatted as follows:

[WiresharkPortable]
WiresharkDirectory
WiresharkExecutable
AdditionalParameters
DisableWinPcapInstall
WinPcapInstaller
MSVCRedist

The WiresharkDirectory entry should be set to the *relative* path to the directory containing the Wireshark Portable Launcher (WiresharkPortable.exe). This entry must be present. 

The WiresharkExecutable entry allows you to set the Wireshark Portable Launcher to use an alternate EXE call to launch Wireshark. 

The AdditionalParameters entry allows you to pass additional commandline parameter entries to wireshark.exe. 

The DisableWinPcapInstall allows you to disable the installation of WinPcap, even if it it not present on the host system.

The WinPcapInstaller allows you to specify a different WinPcap installer than the default one included in the distribution. For example, if you download a later version.

The MSVCRedist allows you to specify a different redistributable package to be used than the default one included in the distribution.