Made the system tray message specific to Sandbox only

This commit is contained in:
Cain Kilgore 2017-09-06 02:06:10 +01:00
parent 99a99ce71b
commit e9f666d970

View file

@ -963,9 +963,18 @@ SectionEnd
${If} $R0 == 0
; the process is running, ask the user to close it
${If} $displayName == "Sandbox"
MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION \
"${displayName} cannot be ${action} while ${displayName} is running.$\r$\nPlease close it in the system tray and click Retry to continue." \
/SD IDCANCEL IDRETRY Prompt_${UniqueID} IDCANCEL 0
${EndIf}
${If} $displayName == "Interface"
MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION \
"${displayName} cannot be ${action} while ${displayName} is running.$\r$\nPlease close it and click Retry to continue." \
/SD IDCANCEL IDRETRY Prompt_${UniqueID} IDCANCEL 0
${EndIf}
; If the user decided to cancel, stop the current installer/uninstaller
Abort