Title
#kolide
k

keko

06/28/2019, 5:00 PM
Hey all, I'm having trouble creating an agent installer for Windows. Are there any specific doc's I should be following? I've tried too many others. I can run launcher.exe fine to have the computer talk to the kolide server, but that's about it.
sundsta

sundsta

06/28/2019, 5:55 PM
I've done this. You need to build on Windows and have the Wix toolset binaries installed to
C:\wix311
as that's hardcoded. I used a small PowerShell script in my build pipeline to link the default install path to the one
package-builder
expects
5:56 PM
$targetDir = ${env:ProgramFiles(x86)} + "\WiX Toolset v3.11\bin"
cmd /c mklink /d c:\wix311 $targetDir
k

keko

06/29/2019, 5:02 AM
Awesome! Thanks sundsta, I'll have a go
8:12 AM
This kind of worked.
svc
as a subcommand errors about not being able to connect to the service controller.
svc-fg
works fine though. The pem that ends up being used does not work. It seems to get mangled or something, because I can drop the original pem in and it works fine. Those were the two issues I had to overcome, but now it works.
4:27 PM
Oh! and the enroll secret supplied isn't put into C:\Program Files\Kolide\Launcher-launcher\config\secret