Title
#kolide
Bacarus

Bacarus

02/17/2021, 10:55 AM
I’m trying to build a msi package with kolide/launcher package builder without notary and I’ve some doubts about this process. When I try to install the msi on a clean windows machine it doesn’t install osquery, I’ve to do it manually. Is it normal or I’m doing something wrong? Is it possible to install osquery with the same msi?
s

seph

02/17/2021, 12:38 PM
Package builder should generate msi with both. What command line are you running? (Feel free to redact host and secret
Bacarus

Bacarus

02/17/2021, 1:57 PM
This on mac os:
./package-builder make \
--hostname=fleet:8080 \
--enroll_secret=my_secret \
--root_pem=fleet.pem \
--output_dir=.
This on Windows:
./package-builder make -hostname=fleet:8080 -enroll_secret=my_secret -root_pem=fleet.pem -wix_path="C:\Program Files (x86)\ WiX Toolset v3.11\bin" --output_dir=.
I’ve used the make command to get the binaries of the package-builder
s

seph

02/17/2021, 2:01 PM
When you say doesn't install osquery, what are you looking for?
Bacarus

Bacarus

02/17/2021, 3:18 PM
I thought that I can install osquery and kolide launcher with the same installer that I build with this package-builder tool. Actually, if I want add a new host, I’ve to download and install osquery (from the official osquery website) and then I can use the installer of the launcher
s

seph

02/17/2021, 3:19 PM
Er, we’re talking past eachother
3:19 PM
Launcher wraps around osquery and it includes an osquery binary in it’s program directories.
3:19 PM
It does not install osquery to run as a daemon — that would be duplicative.
3:20 PM
So if you make a launcher package, you’re not going to see an osquery service, nor will you see a big set of osquery directories,
3:20 PM
But you should have an
osqueryd
binary next to the
launcher
binary.
Bacarus

Bacarus

02/19/2021, 9:52 AM
Ok cool, I’ve just made it work as expected. Thank you