https://github.com/osquery/osquery logo
#kolide
Title
# kolide
s

seph

11/18/2019, 2:05 PM
@defensivedepth I don’t think there are any specific windows instructions. And aside from wix and go, there aren’t requirements. If you want to take an edit pass at https://github.com/kolide/launcher/blob/master/docs/package-builder.md I’m happy to read it, but I do not want to recommend chocolatey.
And if you want to be really narrow about it, git and make aren’t required. You can build without them.
You can also cross build on ~anything, and then ship the binary to windows. This is closer to what I do. My windows packaging hosts have my packaging binaries and wix.
d

defensivedepth

11/18/2019, 2:16 PM
you are saying that I can build the package-builder Windows binary itself on MacOS? Then just copy that over to a Windows system that has wix on it?
s

seph

11/18/2019, 2:17 PM
Should be able to.
this, IME, is one of the really nice things about go. It’s really good for cross compatible work.
d

defensivedepth

11/18/2019, 2:18 PM
hmmm ok. I thought I had tried that but didnt see a Windows binary. Will try again. That would be alot easier.
s

seph

11/18/2019, 2:18 PM
If you’re using make,
make package-builder-windows
exists and should work. It produces
build/windows/package-builder.exe
d

defensivedepth

11/18/2019, 2:18 PM
gah that is probably what I missed
s

seph

11/18/2019, 2:19 PM
There are other ways to get it, but that’s the simplest
👍 1
d

defensivedepth

11/18/2019, 2:20 PM
to be clear - that guide I linked to was just my notes on prepping a clean Win10 system to be able to build + run the package builder on Windows.
but cross-building then copying would be easier
s

seph

11/18/2019, 2:20 PM
It read that way. yes.
d

defensivedepth

11/18/2019, 2:21 PM
Thanks much @seph!
s

seph

11/18/2019, 2:21 PM
If you want to take an edit pass on the package builder docs, I know they need it. But I don’t want to recommend chocolatey
👍 1
np!
3 Views