From e7024cf2d95b4c2132413af032383e58804f309d Mon Sep 17 00:00:00 2001 From: hiker Date: Tue, 15 Jan 2019 18:21:31 +1100 Subject: [PATCH] Properly remove wiiuse files installed when wiiuse is a dynamic library. --- tools/windows_installer/supertuxkart-64bit.nsi | 3 +++ tools/windows_installer/supertuxkart.nsi | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tools/windows_installer/supertuxkart-64bit.nsi b/tools/windows_installer/supertuxkart-64bit.nsi index 1e5d8bb79..3d6063c08 100755 --- a/tools/windows_installer/supertuxkart-64bit.nsi +++ b/tools/windows_installer/supertuxkart-64bit.nsi @@ -300,6 +300,9 @@ Section "Uninstall" redist DELETE /REBOOTOK "$INSTDIR\libvorbis-0.dll" DELETE /REBOOTOK "$INSTDIR\libvorbisenc-2.dll" DELETE /REBOOTOK "$INSTDIR\libvorbisfile-3.dll" + DELETE /REBOOTOK "$INSTDIR\wiiuse.dll" + DELETE /REBOOTOK "$INSTDIR\wiiuse.ilk" + DELETE /REBOOTOK "$INSTDIR\wiiuse.pdb" DELETE /REBOOTOK "$INSTDIR\wrap_oal.dll" DELETE /REBOOTOK "$INSTDIR\zlib.dll" DELETE /REBOOTOK "$INSTDIR\zlib.pdb" diff --git a/tools/windows_installer/supertuxkart.nsi b/tools/windows_installer/supertuxkart.nsi index d549eabe7..87d9db1d0 100755 --- a/tools/windows_installer/supertuxkart.nsi +++ b/tools/windows_installer/supertuxkart.nsi @@ -302,6 +302,9 @@ Section "Uninstall" redist DELETE /REBOOTOK "$INSTDIR\libvorbis.dll" DELETE /REBOOTOK "$INSTDIR\libvorbisenc.dll" DELETE /REBOOTOK "$INSTDIR\libvorbisfile.dll" + DELETE /REBOOTOK "$INSTDIR\wiiuse.dll" + DELETE /REBOOTOK "$INSTDIR\wiiuse.ilk" + DELETE /REBOOTOK "$INSTDIR\wiiuse.pdb" DELETE /REBOOTOK "$INSTDIR\wrap_oal.dll" DELETE /REBOOTOK "$INSTDIR\zlib.dll" DELETE /REBOOTOK "$INSTDIR\zlib.pdb"