Hi there, I am trying to create a msi package on a...
# fleet
l
Hi there, I am trying to create a msi package on a Windows 11 OS using fleetctl but this is failing as shown in the output below: C:\Program Files\fleetctl_v4.3.0_windows>fleetctl package --type=msi --fleet-url=https://xxxxxxxx.onrender.com --enroll-secret=xxxxxxxxxxxxxxxxxxx {"level":"debug","path":"C:\\Users\\xxxxxxxx\\AppData\\Local\\Temp\\orbit-package369693515","time":"2024-01-09T125636+11:00","message":"created temp dir"} initialize updates: failed to update metadata: update metadata: open file store: File C:\Users\xxxxxxx\AppData\Local\Temp\orbit-package369693515\root\tuf-metadata.json already exists with mode 666 instead of the expected 600 I have checked for the file being referenced and it does not exist (also checked for hidden files). Has anyone else come across this issue or know how to go about fixing it? Thanks, LM.
g
Thanks for reaching out @Loris! It looks like the version of fleetctl running is quite old (see 4.3.0). Please make sure you're running the current release (4.42 as writing this message, 4.43 is soon). We're able to support the most recent version in the info section of this channel. Please let us know how this goes for you. fleet
l
Thanks Grant, version 4.42 is not experiencing the previous problem however I am now hitting a new issue as shown below: C:\Program Files\fleetctl_v4.42.0_windows>fleetctl package --type=msi --fleet-desktop --fleet-url=https://xxxxxxxxx.onrender.com --enroll-secret=xxxxxxxxxxxxxxxxx Generating your osquery installer... Error: package root files: heat failed: exec: "docker": executable file not found in %PATH% Could you please shed light on the problem?
g
Thanks for getting back @Loris, Would you happen to be on an ARM CPU? Also, believe need to have Docker installed and running for building Windows packages.