From 2a6b5235426289bbd3c84219fc0f79fdf4e8e39e Mon Sep 17 00:00:00 2001 From: Cain Kilgore Date: Wed, 6 Sep 2017 13:09:43 +0100 Subject: [PATCH] Again --- 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 cae2107521..a68659f254 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}" == "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" + ${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