85b8fd974b
* Update release data Signed-off-by: Dave Thaler <dthaler@microsoft.com> * Add NSIS support to generate a setup exe Signed-off-by: Dave Thaler <dthaler@microsoft.com> * More of the implementation Signed-off-by: Dave Thaler <dthaler@microsoft.com> * Add net start/stop actions to the msi Signed-off-by: Dave Thaler <dthaler@microsoft.com> * Cleanup Signed-off-by: Dave Thaler <dthaler@microsoft.com> * First step in conversion to common install script Signed-off-by: Dave Thaler <dthaler@microsoft.com> * Convert to common setup script Signed-off-by: Dave Thaler <dthaler@microsoft.com> * Snapshot before cleanup this version does install the netsh helper it does not delete the files from system32 on uninstall Signed-off-by: Dave Thaler <dthaler@microsoft.com> * Cleanup Signed-off-by: Dave Thaler <dthaler@microsoft.com> * More cleanup Signed-off-by: Dave Thaler <dthaler@microsoft.com> * Fix build Signed-off-by: Dave Thaler <dthaler@microsoft.com> * Fix driver test Signed-off-by: Dave Thaler <dthaler@microsoft.com> * Drop verifier fuzzer test to 15 mins Same as the bpf2c fuzzer. This removes 15 mins from the long pole for CI/CD. Signed-off-by: Dave Thaler <dthaler@microsoft.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
drivers.xml |
README.md
Packaging instructions
Prerequisites
The WiX toolset should be installed and reachable via PATH.
Configure the main project with -DEBPFFORWINDOWS_ENABLE_INSTALL=true
cmake -S . -B build -DEBPFFORWINDOWS_ENABLE_INSTALL=true
Build and install the project
Note that this will install ebpf-for-windows to the /Program Files/ebpf-for-windows
directory. You can use the DESTDIR
environment variable to override this.
cmake --build . --config Debug --target install
Configure the packaging project
The generator can either be:
- WIX
- NuGet
scripts\create_package_data.bat x64\Release
cmake -S tools\setup -B build\setup -DEBPFFORWINDOWS_PROGRAM_DATA=".\x64\Release\package_data" -DEBPFFORWINDOWS_VERSION=1.0.0 -DCPACK_GENERATOR=WIX
Build the package
cmake --build build\setup --target package