Closed opus-nbonenberger closed 3 months ago
Thanks for this, @opus-nbonenberger
Updated to use an uninstall script, can you give this commit a try https://github.com/autopkg/dataJAR-recipes/commit/79716763cc0c54800bd900befef7f558e18756c8 please?
Yes, this approach works. The app is uninstalled and Munki recognizes it as "not installed". Thanks @paul-cossey
Hi @paul-cossey!
I noticed that OpenVPN Connect does not uninstall correctly with Munki.
Here is the managedsoftwareupdate log of Munki:
removing the Package only removes some files but the OpenVPN Connect folder inside
/Applications/
(and its contents) remain, along with the Symlink to the app. There is an uninstaller app located at/Applications/OpenVPN Connect/Uninstall OpenVPN Connect.app
. This also gets destroyed (0 bytes size) after uninstalling the package.Inside this uninstaller app, there is an uninstaller shell script
/Applications/OpenVPN Connect/Uninstall OpenVPN Connect.app/Contents/Resources/remove.sh
which removes the complete installation. Can you adjust the recipe? I guess the removepackages method is still needed to get rid of the package but you shoud add a pre-uninstall script that executes/Applications/OpenVPN Connect/Uninstall OpenVPN Connect.app/Contents/Resources/remove.sh
before removing the package.