chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

Chocolatey Extension leaves some context menus when uninstalled #358

Open sync-by-unito[bot] opened 1 year ago

sync-by-unito[bot] commented 1 year ago

What You Are Seeing?

When uninstalling the chocolatey.extension package, context menus for converting and pushing nupkg packages remain in place.

What is Expected?

All context menus related to Chocolatey For Business are removed from the registry.

How Did You Get This To Happen? (Steps to Reproduce)

  1. Install chocolatey 2.2.2
  2. Install chocolatey license onto system
  3. install chocolatey.extension 6.0.1
  4. Verify context menus show up when right-clicking a nupkg
  5. Uninstall chocolatey.extenion
  6. Verify that right-click menus are still visible on a nupkg

System Details

Output Log

chocolatey.log ```sh No errors reported ```

Workarounds

Manually removed registry entries from HKEY_CLASSES_ROOT

Proposed Solution

Add registry key locations into helper function for removal in the package

Related Issues and Tickets

Zendesk Ticket

Done Checklist

┆Issue is synchronized with this Gitlab issue by Unito