munkiserver
munkiserver copied to clipboard
Uninstall Method 'Uninstall Item Location' missing key
Looks like there's a key missing to define the Uninstall Method "Uninstall Item Location"...
FORM_OPTIONS = {
....
:uninstall_method => [['Remove Copied Items','remove_copied_items'],
['Remove Packages','removepackages'],
['Remove App', 'remove_app'],
['Uninstall Script', 'uninstall_script'],
['Uninstaller Script Location', ''],
['Uninstall Item Location', 'uninstaller_item_location'],
['AdobeUberUninstaller','AdobeUberUninstaller'],
['AdobeSetup','AdobeSetup'],
['AdobeCS5AAMEEPackage','AdobeCS5AAMEEPackage']]}
In Munki pkginfos have this,
<key>uninstall_method</key>
<string>/etc/cups/printers_deployment/uninstalls/PERFACAD406Printer.sh</string>
Does uninstall_script have the same effect when generating XML ?
Is that key and string generated by makepkginfo? If so, you've found a case that hasn't been handled yet.
You should be able to accomplish the same effect by selecting "Uninstaller script location" from the Uninstaller Method drop down, then entering the path to your uninstall script in the Uninstaller script location field.
Let me know how it goes!