mozilla / mig

Distributed & real time digital forensics at the speed of the cloud

Home Page:http://mig.mozilla.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document build for windows

robmurtha opened this issue · comments

cross compiling on linux requires gcc-mingw-w64 and gcc-multilib

make:
make CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 msi-agent BUILDENV=prod OS=windows ARCH=amd64

msi-agent:
you must set OS=windows on the make command line to compile a MSI package
the msitools package (wixl) is required to create an msi

The msitools and wixl installation needs to be documented. There is a package for Unbuntu 15 https://launchpad.net/ubuntu/+source/msitools and above but I did not find one for Ubuntu 14 therefore the vagrant setup also needs to be updated.

sudo apt-get update
sudo apt-get install msitools