ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Windows uninstaller doesn't remove translations.

From: "Maynard, Chris" <Christopher.Maynard@xxxxxxx>
Date: Thu, 26 Mar 2020 00:26:32 +0000
I’m building Wireshark on Windows, but I’ve upgraded Qt to 5.12.7.  Everything is fine except when uninstalling Wireshark.  It seems that Wireshark now installs the translations in C:\Program Files\Wireshark\styles\translations, but this directory isn’t removed during the un-installation process.
 
I think this is likely due to Qt 5.12.7 vs. Qt 5.12.6 that the buildbot is using, but I can’t be completely sure since my environment differs in other ways too.  Well, for what it’s worth, in case anyone else encounters this, I modified packaging\nsis\uninstall.nsi as follows, which fixes this [for me]:
 
Delete "$INSTDIR\styles\*.*"
Delete "$INSTDIR\styles\translations\*.*"
 
RMDir "$INSTDIR\share"
RMDir "$INSTDIR\styles\translations"
 
- Chris
 
 
 
 
 
 
 
 
 
 
 
CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.