Ask Your Question

Revision history [back]

I'm using Chocolatey version 0.10.15 to install/uninstall Wireshark.

Chocolatey's later versions will take a snapshot of the registry where add/remove programs gets its information from. When uninstalling Wireshark it will use some logic to work out that Visual C++ x64 <some version=""> wasn't there before, so Chocolatey will uninstall Visual C++ as Wireshark installed it in the first place.

Chocolatey have a couple of methods to prevent this if you so wish:

pass --skipautouninstaller to the choco uninstall command Add .skipAutoUninstaller file to your package.

I'm using Chocolatey version 0.10.15 to install/uninstall Wireshark.

Chocolatey's later versions will take a snapshot of the registry where add/remove programs gets its information from. When uninstalling Wireshark it will use some logic to work out that Visual C++ x64 <some version=""> wasn't there before, so Chocolatey will uninstall Visual C++ as Wireshark installed it in the first place.

Chocolatey have a couple of methods to prevent this if you so wish:

  • pass --skipautouninstaller to the choco uninstall command command
  • Add .skipAutoUninstaller file to your package.