Delete old extensions when app is updated on Windows (#6301)

This commit is contained in:
Juho Heikka authored and Sebastian Malton committed 2022-10-04 10:00:28 -04:00
1 parent 69e63e6353
commit cd25da3360
1 file changed
+3
+3
View File
@@ -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}}"