ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] NSIS packaging not working

From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Fri, 27 Nov 2015 09:30:01 +0100


2015-11-27 8:11 GMT+01:00 POZUELO Gloria (BCS/PSD) <gloria.pozuelo@xxxxxxxx>:

Hello everyone,

I'd like to ask you about wireshark packaging. I'm trying to build a x64 version and when I execute these commands:

> msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
> msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj
I don't see any errors on it, but when I test my executable it shows me errors like Qt5PrintSupport.dll
not found and some other Qt libraries. I attach you nsis_package log, just in case you could see
something that I didn't notice.
Hi Gloria,

the list of Qt DLLs that need to be embedded in the installer is automatically generated when executing the nsis_package_prep project.
In your build folder, you should have a file named packaging\nsis\qt-dll-manifest.nsh that is the result of the packaging\nsis\windeployqt-to-nsis.ps1 script found in your source folder.
My qt-dll-manifest.nsh file contains:
#
# Automatically generated by windeployqt-to-nsis.ps1
#
# Qt version 5.5.0
#
File "D:\dev\wireshark\x64\run\RelWithDebInfo\Qt5Core.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\Qt5Gui.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\Qt5Multimedia.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\Qt5Network.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\Qt5PrintSupport.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\Qt5Svg.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\Qt5Widgets.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\Qt5WinExtras.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\libGLESV2.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\libEGL.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\d3dcompiler_47.dll"
File "D:\dev\wireshark\x64\run\RelWithDebInfo\opengl32sw.dll"
File /r "D:\dev\wireshark\x64\run\RelWithDebInfo\audio"
File /r "D:\dev\wireshark\x64\run\RelWithDebInfo\bearer"
File /r "D:\dev\wireshark\x64\run\RelWithDebInfo\iconengines"
File /r "D:\dev\wireshark\x64\run\RelWithDebInfo\imageformats"
File /r "D:\dev\wireshark\x64\run\RelWithDebInfo\mediaservice"
File /r "D:\dev\wireshark\x64\run\RelWithDebInfo\platforms"
File /r "D:\dev\wireshark\x64\run\RelWithDebInfo\playlistformats"
File /r "D:\dev\wireshark\x64\run\RelWithDebInfo\printsupport"

What's in yours? Could you check if you have any error when executing the  nsis_package_prep project?

Best regards,
Pascal.