This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

are plugins deleted with update?

asked Feb 09 '26

updated Feb 09 '26

Hi,

perhaps I'm doing something wrong, but I had a lua-script in the plugin-folder, and after the update of wireshark it was gone.

How can I prevent it from being deleted by an update?

BR Icebear

Comments

Which plugin folder?

User 2763 ( Feb 09 '26 )

Hi,

this one: "C:\Program Files\Wireshark\plugins"

BR Icebear

User 31075 ( Feb 09 '26 )

https://www.wireshark.org/docs/wsdg_h...
Scripts in personal Lua plugins directory are preserved across updates.

User 2763 ( Feb 09 '26 )

1 Answer

0

answered Feb 09 '26

WSUG: 2.8. Updating Wireshark

Updating Wireshark is done the same way as installing it. ... and all your personal settings will remain unchanged.

image description

If the installer is allowed to remove the existing version, it does a silent (/S) uninstall which nukes the global plugin directory.
packaging/nsis/wireshark.nsi:

Section "Un.Plugins" un.SecPlugins
;-------------------------------------------
SectionIn 1 2
;Delete "$INSTDIR\plugins\${VERSION}\*.*"
;Delete "$INSTDIR\plugins\*.*"
;RMDir "$INSTDIR\plugins\${VERSION}"
;RMDir "$INSTDIR\plugins"
RMDir /r "$INSTDIR\plugins"
SectionEnd


WSUG: 2.3.8. Uninstall Wireshark

You can uninstall Wireshark using the Programs and Features control panel. Select the “Wireshark” entry to start the uninstallation procedure.

The Wireshark uninstaller provides several options for removal. The default is to remove the core components but keep your personal settings and Npcap. Npcap is kept in case other programs need it.

image description

If the existing version is manually uninstalled, there are options of what to preserve.

packaging/nsis/wireshark.nsi:

!insertmacro MUI_UNFUNCTION_DESCRIPTION_BEGIN
  !insertmacro MUI_DESCRIPTION_TEXT ${un.SecUinstall} "Uninstall all ${PROGRAM_NAME} components."
  !insertmacro MUI_DESCRIPTION_TEXT ${un.SecPlugins} "Uninstall all Plugins (even from previous ${PROGRAM_NAME} versions)."
  !insertmacro MUI_DESCRIPTION_TEXT ${un.SecProfiles} "Uninstall all global configuration profiles."
  !insertmacro MUI_DESCRIPTION_TEXT ${un.SecGlobalSettings} "Uninstall global settings like: $INSTDIR\cfilters"
  !insertmacro MUI_DESCRIPTION_TEXT ${un.SecPersonalSettings} "Delete personal configuration folder: $APPDATA\${PROGRAM_NAME}."
  !insertmacro MUI_DESCRIPTION_TEXT ${un.SecNpcap} "Call Npcap's uninstall program."
  !insertmacro MUI_DESCRIPTION_TEXT ${un.SecUSBPcap} "Call USBPcap's uninstall program."
!insertmacro MUI_UNFUNCTION_DESCRIPTION_END

Comments

Thank you for this detailed information, now it is clear! BR

User 31075 ( Feb 10 '26 )
cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.