chocolatey-licensed-issues icon indicating copy to clipboard operation
chocolatey-licensed-issues copied to clipboard

Chocolatey Extension leaves some context menus when uninstalled

Open sync-by-unito[bot] opened this issue 1 year ago • 0 comments

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

  • Operating System: Server 2022
  • Windows PowerShell Version: 5.1
  • Chocolatey CLI Version: 2.2.2
  • Chocolatey Licensed Extension version: 6.0.1
  • Chocolatey License type (Professional / Business / ?): Business
  • Terminal/Emulator: WIndows PowerShell.exe

Output Log

chocolatey.log
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

  • [x] Title is suitable for using in Release Notes?

┆Issue is synchronized with this Gitlab issue by Unito

sync-by-unito[bot] avatar Sep 25 '23 14:09 sync-by-unito[bot]