Hey all, I'm having trouble creating an agent inst...
# kolide
k
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.
s
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
Copy code
$targetDir = ${env:ProgramFiles(x86)} + "\WiX Toolset v3.11\bin"
cmd /c mklink /d c:\wix311 $targetDir
k
Awesome! Thanks sundsta, I'll have a go
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.
Oh! and the enroll secret supplied isn't put into C:\Program Files\Kolide\Launcher-launcher\config\secret