1. build a clear wireshark on windows firstly. It is possible that code in repository has broken the build.
2. change files
3. if you have wrote your own plugin and used variable from epan/dissectos/xxx.h, you might get error message. e.g.
error LNK2019: unresolved external symbol _mtp3_standard
Sample Solution: add mtp3_standard into epan/libwireshark.defs and change "extern gint mtp3_standard;" to "WS_VAR_IMPORT gint mtp3_standard;"
4. the final build command is "nmake -f packaging" and the installer is generated at C:/wireshark/packaging/nsis/
p.s. commands used for making installer
"C:/Program Files/Microsoft Platform SDK for Windows Server 2003 R2/SetEnv.Cmd"
"C:/Program Files/Microsoft Visual Studio 8/VC/bin/vcvars32.bat"
cd c:/wireshark
nmake -f Makefile.nmake verify_tools
nmake -f Makefile.nmake setup
nmake -f Makefile.nmake distclean
nmake -f Makefile.nmake all
nmake -f Makefile.nmake packaging