diff --git a/build/installer.nsh b/build/installer.nsh index 8ff35b5e4f..d0fe18809a 100644 --- a/build/installer.nsh +++ b/build/installer.nsh @@ -1,4 +1,7 @@ !macro customInit + ; Make sure all old extensions are removed + RMDir /r "$INSTDIR\resources\extensions" + ; Workaround for installer handing when the app directory is removed manually ${ifNot} ${FileExists} "$INSTDIR" DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\{${UNINSTALL_APP_KEY}}"