Archive: Is this page jumping or loading?


Is this page jumping or loading?
I got this question:


!define MUI_ICON "msi.ico"
!define MUI_LICENSEPAGE_RADIOBUTTONS
!define MUI_CUSTOMFUNCTION_ABORT "Custom_Abort"

# Pages
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "lic.rtf"
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

Function "Custom_Abort"
MessageBox MB_YESNO|MB_ICONQUESTION "¿Desea salir del asistente de instalación?" IDYES NoCancelAbort
Abort
NoCancelAbort:
FunctionEnd

My idea is if the user cancel the installer before he/she see the INSTFILES page, automatically jump/load the FINISH page. I search and must of them suggest to create a custom page... I don't want that... I want the same page like the user succesfully installed my app... any ideas?

Why not use the Go to NSIS page script:
http://nsis.sourceforge.net/archive/...ances=0,11,814

-Stu


Because the Page is the last one :(
There's no time for StrCpy :cry:


Well this is possible. I'll make an example script.

-Stu


Here you go. It works pretty damn well too!
I also made it change the Finish page text to say that it was cancelled (no language strings though).

-Stu


Thanks :D

Also, thanks via irc ;)