mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-152542 Windows uninstaller: cancelling the warning shown on attempt to uninstall a running IDE shows uninstallation progress and "Uninstall was completed successfully" message
This commit is contained in:
@@ -1014,7 +1014,7 @@ remove_previous_installation:
|
||||
remove_dialog:
|
||||
MessageBox MB_OKCANCEL|MB_ICONQUESTION|MB_TOPMOST "$(application_running)" IDOK remove_previous_installation IDCANCEL cancel
|
||||
cancel:
|
||||
StrCpy $R0 "cancel"
|
||||
Abort
|
||||
done:
|
||||
FunctionEnd
|
||||
|
||||
@@ -1022,7 +1022,6 @@ FunctionEnd
|
||||
Section "Uninstall"
|
||||
;check if the uninstalled application is running
|
||||
Call un.checkIfIDEInUse
|
||||
StrCmp $R0 "cancel" end_of_uninstall 0
|
||||
; Uninstaller is in the \bin directory, we need upper level dir
|
||||
StrCpy $productDir $INSTDIR
|
||||
StrCpy $INSTDIR $INSTDIR\..
|
||||
|
||||
Reference in New Issue
Block a user