# kolide

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!
Copy code
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 \<|>\kolide

Clone Github Repo
cd <|>\kolide
git clone <>

Compile launcher source
cd launcher
make deps
make generate

Test launcher
c:\Go\src\<|>\kolide\launcher\build\launcher -help

Compile package-builder source
cd c:\Go\src\<|>\kolide\launcher
make deps
make package-builder

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

Using package-builder.exe
cd c:\Go\src\<|>\kolide\launcher\build
package-builder make --hostname=your_kolide_url_here:443 --enroll_secret=<enroll_secret_here>
❤️ 4


03/24/2020, 2:29 AM