Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

Uninstall Method 'Uninstall Item Location' missing key #140

Open
treydock opened this issue Apr 17, 2012 · 1 comment
Open

Uninstall Method 'Uninstall Item Location' missing key #140

treydock opened this issue Apr 17, 2012 · 1 comment
Labels

Comments

@treydock
Copy link
Contributor

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 ?

@jnraine
Copy link
Owner

jnraine commented Apr 24, 2012

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants