wireshark/packaging/wix
João Valverde 97cb389a35 Revert "CMake: Don't install HTML manuals twice"
This reverts commit f1285fcf06.

NSIS package is broken with this commit.

Change-Id: Ief22a308edad188fa2d5fab79355f19493359fa6
Reviewed-on: https://code.wireshark.org/review/34758
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
2019-10-10 15:58:41 +00:00
..
CMakeLists.txt CMake: Include glib dlls in Windows installer 2019-10-04 18:16:35 +00:00
COPYING.rtf
ComponentGroups.wxi Revert "CMake: Don't install HTML manuals twice" 2019-10-10 15:58:41 +00:00
DirectoryStructure.wxi WiX: Remove remaining GTK+ content. 2018-05-11 15:19:40 +00:00
Features.wxi wix: fix packaging of various plugins 2019-06-11 22:23:59 +00:00
InputPaths.wxi WiX: Build packages verbosely. 2018-12-19 22:58:43 +00:00
Plugins.wxi wix: fix packaging of various plugins 2019-06-11 22:23:59 +00:00
Prerequisites.wxi
README Windows: upgrade Npcap to 0.99-r9 2019-01-23 14:46:38 +00:00
StringOverrides.wxl
UserInterface.wxi
Wireshark.wxs epan,packaging: convert http URLs to https 2019-07-20 20:50:59 +00:00
WiresharkOptionsDlg.wxs HTTPS In Still More Places, update more URLs. 2019-07-27 22:56:35 +00:00
WiresharkWixUI.wxs WiX: Options dialog updates. 2018-05-03 04:08:40 +00:00
banner.bmp
banner.svg
dialog.bmp
dialog.svg
windeployqt-to-wix.ps1 Remove some references to Qt4. 2018-04-06 03:11:52 +00:00

README

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 Npcap 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 and VS 2015 / CRT140 are 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.