From c1776e7f55e450f404b2fe519ca8f598fc3fd1c7 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 25 Feb 2016 10:22:42 -0800 Subject: [PATCH] move button text changes out of onInit --- cmake/templates/NSIS.template.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 0d414e2a08..5492e47f94 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -74,6 +74,9 @@ ;Set compression SetCompressor @CPACK_NSIS_COMPRESSOR@ + + ; change the button text so close says "Finish" + MiscButtonText "Back" "Next" "Cancel" "Finish" !endif @CPACK_NSIS_DEFINES@ @@ -928,9 +931,6 @@ Function .onInit Quit !endif - ; change the button text so close says "Finish" - MiscButtonText "Back" "Next" "Cancel" "Finish" - ; make sure none of the installed applications are still running !insertmacro CheckForRunningApplications "installed" "Installer" ${nsProcess::Unload}