Skip to content

Commit

Permalink
Drop the uninstaller for the current version.
Browse files Browse the repository at this point in the history
  • Loading branch information
e3ndr committed Jul 21, 2023
1 parent 14d448c commit a1c0188
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ Var deleteUserData ; You could just store the HWND in $1 etc if you don't want t
; Section - Installer

Function .onInit
; Check to see if already installed (current installer).
ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${COMPANY} ${NAME}" "UninstallString"
IfFileExists $R0 +1 +2
ExecWait "$R0 /S" ; Uninstall.

; Check to see if already installed (old installer).
ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Casterlabs Caffeinated" "UninstallString"
IfFileExists $R0 +1 +3
Expand Down

0 comments on commit a1c0188

Please sign in to comment.