github.com/observiq/bindplane-agent@v1.51.0/windows/README.md (about) 1 # Windows MSI building 2 3 This directory contains sources for building the Windows MSI using [go-msi](https://github.com/observIQ/go-msi/) and the [Wix toolset](https://wixtoolset.org/). 4 5 ## Building Locally with Vagrant 6 7 A local build may be performed with [vagrant](https://www.vagrantup.com/). 8 9 The following make targets are available for local development: 10 * `vagrant-prep`: Starts up the vagrant box and prepares it for building and testing. The vagrant box must be up in order for building or testing to work. **PLEASE NOTE** that valid Windows licensing is your responsibility. 11 * `fetch-dependencies`: Fetches dependencies for building the MSI. 12 * `build-msi`: Builds the MSI. Depends on the `fetch-dependencies` target (`fetch-dependencies` will be run every time this is run). 13 * `test-install-msi`: Test installing the MSI. `build-msi` should be run before this is run. **NOTE** This target is flaky, it seems like the installers just don't run sometimes, so you may need to run this a couple of times, or manually install the msi's (cinc + observiq-otel-collector). 14 * `test-uninstall-msi`: Test uninstalling the MSI. `build-msi` should be run before this is run, and the MSI should be installed (e.g. by running `test-install-msi`) 15 * `clean`: Cleans this directory of dependencies from `fetch-dependencies`, as well as of build artifacts.