wireshark/packaging/wix
Pascal Quantin 693dcd276e Build TRANSUM plugin
Add plugin to autofoo and CMake build systems and fix errors found
Add plugin to Windows installer (optional component activated by default)

Change-Id: Id1b777bdee04e53076b3291f6fb68d5abad6985d
Reviewed-on: https://code.wireshark.org/review/19228
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-12-13 08:50:27 +00:00
..
banner.bmp
banner.svg
CMakeLists.txt codecs: Add support for G.722 and G.726 2016-12-06 17:51:47 +00:00
ComponentGroups.wxi WiX: add SSHdump, Ciscodump and UDPdump to installer 2016-09-19 03:19:38 +00:00
COPYING.rtf
dialog.bmp
dialog.svg
DirectoryStructure.wxi
Features.wxi WiX: Disable desktop icon and shortcut checkboxes. 2016-09-24 02:10:00 +00:00
InputPaths.wxi
Makefile.am WiX: Add a warning and increase compression. 2016-09-11 04:35:20 +00:00
Plugins.wxi Build TRANSUM plugin 2016-12-13 08:50:27 +00:00
Prerequisites.wxi WiX: Fix condition logic. 2016-09-22 00:50:16 +00:00
README
StringOverrides.wxl WiX: Add a warning and increase compression. 2016-09-11 04:35:20 +00:00
UserInterface.wxi
windeployqt-to-wix.ps1
Wireshark.wxs WiX: Try to fix development upgrades. 2016-09-26 23:22:49 +00:00
WiresharkOptionsDlg.wxs WiX: Disable desktop icon and shortcut checkboxes. 2016-09-24 02:10:00 +00:00
WiresharkWixUI.wxs

WiX installer for Wireshark

This is currently an experimental feature to provide Wireshark with an .msi installer.
It is intended to replace the NSIS installer, but needs to be a little more complete
before doing so.

(Developer) Differences/notes compared to NSIS installer:
1. You need the WiX toolset to build the installer.  See http://wixtoolset.org/releases/
(v3.10 is recommended)
2. SNMP, Radius, Diameter, and Qt translations files are harvested to be included in
the installer.  Any custom/additional files just need to be written to the appropriate
build output directory and the installer will pick them up.  NSIS required modifying
a file (custom_mibs.txt, etc) for inclusion
3. Plugin DLLs are not automatically harvested.  To include your DLL, modify Plugins.wxi
4. To build the WiX installer run:
> msbuild /m /p:Configuration=RelWithDebInfo wix_package_prep.vcxproj
> msbuild /m /p:Configuration=RelWithDebInfo wix_package.vcxproj


Known issues:
1. It does not include installing WinPcap or USBPcap (the NSIS installer does).  These
currently come as NSIS installers and it seems it would make more sense to "bundle" them
with WiX rather than include them as part of the Wireshark.msi.
2. Needs more flexible handling of VC CRT Merge module (need build script to provide
appropriate macros).  Something like (or modifying existing) FindMSVC_REDIST.cmake.
Currently only VS2013 CRT120 is supported.
3. Uninstalling previous versions.  NSIS installer did things more "manually" than Wix does
by default.  Need to merge as best as possible to handle backwards compatibility. The .msi
architecture uses an "UpgradeCode" help facilitate install/uninstall/upgrade and NSIS
installer doesn't have that.  The NSIS installer also removed whole directories instead of
just removing what it installed (still not sure if this is better or worse)


Patches welcome to address any of the issues above or improvements you think can be
made.