move button text changes out of onInit

This commit is contained in:
Stephen Birarda 2016-02-25 10:22:42 -08:00
parent 2d0d73116a
commit c1776e7f55

View file

@ -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}