kolide / launcher

Osquery launcher, autoupdater, and packager
https://kolide.com/launcher
Other
501 stars 99 forks source link

do not pre-create data files in wix for uninstall cleanup #1738

Closed zackattack01 closed 3 weeks ago

zackattack01 commented 3 weeks ago

Certain data directory files are pre-created as empty files during wix packaging, to ensure that these are cleaned up on uninstall.

However some deployments forcibly re-install a new MSI outside of the autoupdate flow. This will trigger the uninstall first, which is now able to remove those files, leaving the device in an unenrolled state

directionless commented 3 weeks ago

I'm not sure I quite understand what this will do. Can you make a table of the various install/uninstall pairs? Or I don't quite know what?