From 84f37b9663041a1e3b717c1c160fa07790ff4b56 Mon Sep 17 00:00:00 2001 From: Cain Kilgore Date: Thu, 7 Sep 2017 18:53:05 +0100 Subject: [PATCH] Changed string name --- cmake/templates/NSIS.template.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 668270b9d3..e76a2d51fd 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -964,13 +964,13 @@ SectionEnd ; the process is running, ask the user to close it - ${If} "${displayName}" == "Sandbox" + ${If} "${displayName}" == "@CONSOLE_DISPLAY_NAME@" 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" + ${If} "${displayName}" == "@INTERFACE_DISPLAY_NAME@" MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION \ "${displayName} cannot be ${action} while ${displayName} is running.$\r$\nPlease close it in the task bar and click Retry to continue." \ /SD IDCANCEL IDRETRY Prompt_${UniqueID} IDCANCEL 0