Title
#kolide
j

Just A Larry

03/23/2020, 11:16 PM
Windows Package Building: In the spirit of sharing... This is just what worked for me, sorry no guarantees it works for you. Couldn't have done it without help from others who posted their experiences in this channel. Thanks!
Install Chocolatey

Using Chocolatey install additional packages
choco install wixtoolset
choco install make
choco install git
choco install golang

Copy the contents of C:\Program Files (x86)\WiX Toolset v3.11\bin to C:\wix311

Add C:\Program Files\Git\cmd to the Path system environment variable
setx path "%path%";"C:\Program Files\Git\cmd"

Add directory path for the git source code
cd C:\Go\src
mkdir \<http://github.com|github.com>\kolide

Clone Github Repo
cd <http://github.com|github.com>\kolide
git clone <https://github.com/kolide/launcher.git>

Compile launcher source
cd launcher
make deps
make generate
make

Test launcher
c:\Go\src\<http://github.com|github.com>\kolide\launcher\build\launcher -help

Compile package-builder source
cd c:\Go\src\<http://github.com|github.com>\kolide\launcher
make deps
make package-builder

Test package-builder
c:\Go\src\<http://github.com|github.com>\kolide\launcher\build\package-builder.exe make --help

Using package-builder.exe
cd c:\Go\src\<http://github.com|github.com>\kolide\launcher\build
package-builder make --hostname=your_kolide_url_here:443 --enroll_secret=<enroll_secret_here>
s

seph

03/24/2020, 2:29 AM
Nice