aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/nsis/wireshark.nsi
AgeCommit message (Collapse)AuthorFilesLines
2024-02-02diameter: add Travelping vendor dictionaryAndreas Schultz1-0/+1
2024-01-05Windows: Update our minimum versionGerald Combs1-34/+33
Update our minimum Windows version in various places, including the NSIS and WiX installers. Fixes #19569
2024-01-03NSIS+WiX: Install sharkdGerald Combs1-0/+4
Install sharkd. As noted in #19562, we don't yet have a man page. Fixes #19556
2023-12-20NSIS: Remove some references to WinPcapGerald Combs1-1/+1
We really shouldn't be linking to it at this point. Fixes #16151
2023-12-14Remove version component from plugin pathJoão Valverde1-27/+27
Remove the major.minor version from the plugin path, i.e: lib/plugins/X.Y/{epan,wiretap,codecs} and use an unversioned path: lib/plugins/{epan,wiretap,codecs} Introduce a new naming policy for plugins that requires name.so.ABI_VERSION. This is a simplified filesystem layoutfor plugins some important benefits such as: * improves compatibility between Wireshark versions, because a plugin that wasn't recompiled will be automatically picked up, but only if it has a compatible ABI version in the file name. * does not clash with Apple guidelines * simpler for users to understand and apply * just overall simpler and easier to maintain, removes a lot of complexity from CMake code It does impose more requirements on the plugin naming scheme but this should be handled completely transparently by the build system. It would also be possible to add support for unversioned *.so file extensions at the same time, although in ths case it is not possible to support multiple Wireshark ABI versions with only *.so, of course. This wasn't done here but it may or may not be a useful enhancement in the future. Follow-up to 90b16b40921b737aadf9186685d866fd80e37ee6.
2023-11-10Remove README.windows.Gerald Combs1-1/+0
It was a placeholder that pointed people at the download page and the documentation page. There are plenty of references to those elsewhere.
2023-10-31NSIS: Make a bunch of sections hidden / mandatoryGerald Combs1-96/+7
Hide many of our installation sections from the components page, which installs them unconditionally. This brings the NSIS installer behavior in line with the Debian and RPM installers and simplifies the installer UI. Leave the extcaps individualy selectable for now.
2023-10-30NSIS: Save our installation directory in the registryGerald Combs1-1/+4
We've been setting the InstallDirRegKey attribute since the NSIS package was added in 2001, but we never set its corresponding registry key. Fixes #15069.
2023-10-21Docs: Move the FAQ to the doc directoryGerald Combs1-2/+4
2023-10-02GUI: Add release notes to Help menuJoão Valverde1-0/+2
2023-09-08Revert "Packaging: Increase our NSIS compressor dictionary size"Gerald Combs1-2/+6
This made the Arm64 builder fail with Internal compiler error #12345: deflateInit() failed(initialization failed [-2]). This reverts commit 3a6848c901f8a300884b9accb7b38541923882b5. [skip ci]
2023-09-08Packaging: Increase our NSIS compressor dictionary sizeGerald Combs1-6/+2
NSIS 3.08 supports 128MB here, so use that.
2023-08-27NSIS: Update the donation pageGerald Combs1-1/+1
2023-08-25Fix Debian packaging and remove stale references to "init.lua"João Valverde1-3/+0
2023-08-23NSIS: Uninstall no-longer-used Lua filesJoão Valverde1-0/+4
2023-07-25Replace "manuf" files with static arraysJoão Valverde1-1/+0
To reduce startup external file parsing replce the manuf file with static arrays compiled into the binary. Add 3 tables for MA-L, MA-M and MA-S. Add a fourth table to direct a 24-bit MAC prefix (OUI) to one of these tables. Adapt the make-manuf.py script to generate the static C data instead of the text file. The arrays are sorted and a binary search is performed to map an OUI (24bit/28bit/36bit) to a short and long name.
2023-07-08Replace services file with static arrayJoão Valverde1-1/+0
To speed up start-up we no longer read the services file from an external resource. Instead it is compiled statically into the binary in a sorted array. The personal services file is still parsed and loaded at startup, if it exists, to allow users to add custom entries and override global entries. For historical reasons the port list is mostly composed of the same entry for TCP and UDP. To avoid a lot of duplication we add an extra TCP+UDP table and do two lookups for TCP or UDP, one in the TCP+UDP table and the other in the TCP/UDP table. Because the services name space is pretty sparse, with lots of holes, we also use a binary search instead of a linear array with aprox. 49000 entries, where most would be empty.
2023-07-06Remove no longer used enterprises.tsv fileJoão Valverde1-3/+0
Follow-up to 44258d5bed9bd7d31ac7b9b1459fc1ed5adea1d6.
2023-06-10CMake+Windows: Use "x64" instead of "win64"Gerald Combs1-3/+3
Use "x64" to refer to "Windows running on 64-bit Intel processors". Get rid of WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE in favor of WIRESHARK_TARGET_PLATFORM because the latter is shorter.
2023-06-06CMake: Update some optionsJoão Valverde1-0/+3
Try to autodetect ENABLE_SIGNED_NSIS and enable it if sign-wireshark.bat is detected on the path. Instead of skipping the whole Qt deployment, including things like translations, just skip the DLLs in the manifest. This is useful if the target machine has Qt installed and the static DLL list for cross-compiling is not adequate.
2023-06-05CMake+NSIS: Allow building an unsigned installerJoão Valverde1-0/+2
2023-06-05NSIS+MinGW: Add uninstallerJoão Valverde1-1/+312
We remove the workaround for signing an installer that requires creating an installer that just exists to write an uninstaller and use WriteUninstaller instead to generate the installer. This is done at install time. This method allows the uninstaller to be created portably, namely using Linux. To add back the signing aspect, including for Windows, we need to use !uninstfinalize. This changes the compiler to generate the installer at compile time and is also a portable method of signing code. The code signing script will have to be platform specific. This is called by the NSIS compiler using system() and must be a batch file on Windows. The code assumes a script named 'sign-wireshark.bat' exists on the path to sign the executables. An example of a sign.bat script would be: signtool sign /f c:\path\to\MySPC.pfx /t http://[insert timestamp URL] /fd sha256 %1 This is also a nice simplification of the build procedure for NSIS. The !uninstfinalize stanza requires NSIS 3.08.
2023-05-31NSIS: Add support for Arm64Gerald Combs1-3/+14
Warn the user, but don't exit if we're running the x64 installer on an Arm64 system. Warn the user and do exit if we're running the Arm64 installer on an x64 system. Fixup the 32 bit check. Ping #18123
2023-05-29NSIS: Make some components optionalJoão Valverde1-2/+18
Make components that depend on optional external dependencies optional to build NSIS. Ping #19108
2023-05-29NSIS: Skip Qt deployment and uninstaller when cross-compilingJoão Valverde1-0/+2
Qt deployment does not work because windeployqt cannot be run when cross compiling (unless Wine is used). Skip this step until other solutions are investigated and this is fixed. This means that the target system must have the Qt Windows SDK installed with MinGW binaries. Also skip crreating an installer. Has somewhat complicated requirements for signing that currently don't work when cross-compiling. This allows building a usable NSIS Windows installer from Fedora, with the limitations mentioned above. Ping #19108
2023-05-29CMake: Remove SKIP_QT_TRANSLATIONSJoão Valverde1-9/+7
Now that 6.5.1 is released, remove the work-around but keep the warning.
2023-05-23Packaging: Change our Windows installer filename formatGerald Combs1-2/+2
Switch to Wireshark-<version>-{x64,arm64}.{exe,msi}.
2023-05-22MSYS2: Add support for building a stand-alone NSIS installerJoão Valverde1-7/+15
This changes the existing code for the MSVC installer as little as possible to allow building the Wireshark .exe Windows installer using the MinGW-w64 toolchain. Currently the DLL dependency list is static, this may change in the future. Ideally we would use CPack and install() logic to copy the DLLs. The msys2checkdeps.py script is copied from the Inkscape project[1]. It doesn't have a specific license identifier. The Inkscape project is licensed under the GPL version 2 or later. TODO: Download Npcap and USBPcap using CMake instead of requiring manual action. [1]https://gitlab.com/inkscape/inkscape Ping #17771.
2023-01-20GUI: Ship authors as a Qt resource fileJoão Valverde1-1/+0
2023-01-19GUI: Ship license + acknowledgements as Qt resourceJoão Valverde1-2/+0
2023-01-19Windows: Do not ship dftest in installersJoão Valverde1-8/+0
DFTest is a developer-oriented utility and none of the other platforms ship it to end-users. Remove it from the windows installers.
2022-12-15NSIS: Add an initial donation page.Gerald Combs1-0/+9
Add a donation page to the Wireshark installer.
2022-11-04Windows: install etwdump extcap utility by defaultPascal Quantin1-1/+1
Now that Microsoft own documentation references this utility, it probably makes sense to activate it by default
2022-10-31NSIS: add Extcap group; tidy up other groups and WSUGChuck Craft1-102/+110
Partial fix for https://ask.wireshark.org/question/29063/ Event Tracing for Windows ETW file reader Future work: add user friendly Extcap examples to WSUG and wiki
2022-10-10Update nsi files with 5x9 Radius dictionaryBranimir Rajtar1-0/+1
2022-08-02Convert Acknowledgements to markdown and update GUIJoão Valverde1-0/+1
Move Acknowledgements to a separate file to enable some code simplification and improve maintenance and discoverability for acknowlegements. Convert the Acknowledgements file to Github flavored markdown and display it in rich text using QTextBrowser. Add Acknowledgements.md to NSIS installer
2022-07-27Windows: Add missing license file to installerJoão Valverde1-0/+1
2022-07-17NSIS(wireshark): Remove QUICK LAUNCHAlexis La Goutte1-22/+2
It is not longer (really) supported with Windows 10, now it is pinned Taskbar
2022-06-07CMake+NSIS: More variable cleanup.Gerald Combs1-29/+29
2022-06-03Packaging: Add a Logwolf NSIS config.Gerald Combs1-1/+1
Create Logwolf-specific copies of the various Wireshark NSIS config files and modify them to install and uninstall Logwolf. There are still a bunch of rough edges, but the installer works for a test capture I have here.
2022-06-03NSIS: Deprecate 32-bit installs.Gerald Combs1-10/+2
Recommend 3.6 or earlier for 32-bit users.
2022-06-03NSIS: Fix our indentation.Gerald Combs1-131/+118
The NSIS project uses 2-space indentation. Make sure we conform to that.
2022-06-02NSIS: Update some target and filenames.Gerald Combs1-3/+3
Rename the following build targets, similar to the recent macOS target name changes: nsis_package_prep to wireshark_nsis_prep nsis_package to wireshark_nsis Rename some NSIS files to reflect that they're specific to Wireshark. Update the documentation and CI configurations.
2022-04-07NSIS/Wix: missing preferences file for Bluetooth profileChuck Craft1-0/+1
2022-03-09extcap: new interface, wifidump, to capture Wi-Fi frames using a remote SSH hostAdrian Granados1-1/+3
2022-03-08Packaging: Fix some paths.Gerald Combs1-2/+2
2022-03-09Rename the "image" directory to "resources".Gerald Combs1-2/+2
The "image" directory contains resource compiler assets and other application resources, so name it "resources."
2022-01-18NSIS: Use the correct Visual C++ Redistributable file name.Gerald Combs1-5/+5
Make sure the file we attempt to execute is the one we include with our installer. Fixes #17893.
2022-01-06Update our Npcap URLs.Gerald Combs1-1/+1
The official Npcap web site is now https://npcap.com/. Update our URLs to match. Fixes #17838.
2021-12-29NSIS: Complain about installing a 32-bit Wireshark on 64-bit Windows.Gerald Combs1-0/+4
Show a warning messagebox if we're installing a 32-bit executable on 64-bit Windows.