I'm trying to build an installer for Windows using the Wireshark 2.0.0rc2 sources and cmake. I have built the main executable using "c:\Program Files (x86)\CMake\bin\cmake.exe" -DENABLE_CHM_GUIDES=on D:\wireshark-2.0.0rc2 msbuild /m /p:Configuration=RelWithDebInfo wireshark.sln This works and I get an executable that runs. I now want to build and installer package. So I tried the command msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj This stops with the error
And sure enough there is no uninstall.exe in the build directory. So which step am I missing to create one I tried commenting out the line 349 in wireshark.nsi to see if it worked and it then fails a bit further on with the error..
So is there a step I'm missing to get things ready to build the installer. Thanks for any help asked 05 Nov '15, 02:56 Andy Ling |
One Answer:
There is a missing step from README.cmake (but will be in the planned Dev Guide updates), to build an installer you must first build the uninstall package:
answered 05 Nov '15, 03:20 grahamb ♦ |
Thanks, that seems to have fixed it. I knew it would be something simple.
@Andy Ling
If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.