we’ve encountred some problems with osquery mass deployment. (into osquery…wxs file) we added InstallScope=“perMachine” to <Package Comments=“Facebooks opensource host intrusion detection agent” Compressed=“yes” Description=“osquery standalone installer” InstallerVersion=“100” Languages=“1033" Manufacturer=“Facebook” Platform=“x86" InstallScope=“perMachine”/>
(we use dark.exe, candle.exe, light.exe for this process)
it solved some of our problems related with deployment and also installing, unsintalling, repairing
You can try this to see whether solve your problems