diff --git a/src/installer.wxs b/src/installer.wxs new file mode 100644 index 0000000..35f70fc --- /dev/null +++ b/src/installer.wxs @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/make_release.cmd b/src/make_release.cmd index b1096f8..457f057 100644 --- a/src/make_release.cmd +++ b/src/make_release.cmd @@ -10,6 +10,8 @@ mkdir build_release\x86 cd build_release\x64 cmake -A x64 ../.. cmake --build . --config Release +"C:/Program Files (x86)/WiX Toolset v3.11/bin/candle.exe" ..\..\installer.wxs -o Release\etl2pcapng.wixobj +"C:/Program Files (x86)/WiX Toolset v3.11/bin/light.exe" -b Release -o Release\etl2pcapng.msi Release\etl2pcapng.wixobj cd ..\x86 cmake -A Win32 ../.. cmake --build . --config Release @@ -21,6 +23,7 @@ mkdir etl2pcapng\x64 mkdir etl2pcapng\x86 copy build_release\x64\Release\etl2pcapng.exe etl2pcapng\x64 copy build_release\x64\Release\etl2pcapng.pdb etl2pcapng\x64 +copy build_release\x64\Release\etl2pcapng.msi etl2pcapng\x64 copy build_release\x86\Release\etl2pcapng.exe etl2pcapng\x86 copy build_release\x86\Release\etl2pcapng.pdb etl2pcapng\x86