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}