mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* Release 6.1.2 Signed-off-by: Sebastian Malton <sebastian@malton.name> * Remove get-logs telemetry event (#6296) Signed-off-by: Juho Heikka <juho.heikka@gmail.com> Signed-off-by: Juho Heikka <juho.heikka@gmail.com> * Delete old extensions when app is updated on Windows (#6301) * Add missing space in "Remove x items" (#6290) Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Juho Heikka <juho.heikka@gmail.com> Co-authored-by: Juho Heikka <juho.heikka@gmail.com> Co-authored-by: Andy Hall <andy.hall@yubico.com>
15 lines
694 B
Plaintext
15 lines
694 B
Plaintext
!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}}"
|
|
${EndIf}
|
|
|
|
; Workaround for the old-format uninstall registry key (some people report it causes hangups, too)
|
|
ReadRegStr $0 HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_APP_KEY}" "QuietUninstallString"
|
|
StrCmp $0 "" proceed 0
|
|
DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_APP_KEY}"
|
|
proceed:
|
|
!macroend |