This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Error when creating .exe with NSIS

0

I am trying to create a windows installer which includes some custom plugins. I can build without error, but when I try to create an nsis .exe using the line "nmake -f makefile.nmake packaging" I encounter the following error:

File: "C:\Wireshark-win64-libs-1.10\vcredist_x64.exe" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] | /oname=outfile one_file_only)
Error in script "wireshark.nsi" on line 369 -- aborting creation process
NMAKE : fatal error U1077: '"C:\Program Files (x86)\NSIS\makensis.exe"' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\amd64\nmake.exe"' : return code '0x2'
Stop.

I am building from the Wireshark-1.10.7.tar.bz2 from the wireshark website and am using Windows 7 x64. What can I do about this error?

asked 04 Jun '14, 07:18

Thomas%20G's gravatar image

Thomas G
26459
accept rate: 100%

edited 04 Jun '14, 07:21


One Answer:

2

I think you have to download the aproprate

File: "C:\Wireshark-win64-libs-1.10\vcredist_x64.exe

for your visual studio version and put it in the above directory. I think this is mentioned in the guide.

answered 04 Jun '14, 07:43

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

Thank you, that was the problem.

(04 Jun '14, 07:56) Thomas G