Prev Previous Post   Next Post Next
Old 6th September 2010, 12:43   #1
thanatos83
Junior Member
 
Join Date: Dec 2009
Posts: 29
Go to a NSIS page!

HI.

I read the documentation about how to jump a NSIS page, so i need to jump to a page specific if a user select one option u other option.

Well I set this in my script:

PHP Code:
# Installer pages
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE $(MUILicense)
Page custom SetupType SetupTypeLeave
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_STARTMENU Application $StartMenuGroup
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

Function RelGotoPage
  IntCmp $R9 0 0 Move Move
    StrCmp $R9 
"X" 0 Move
      StrCpy $R9 
"120"
 
  
Move:
  
SendMessage $HWNDPARENT "0x408" "$R9" ""
FunctionEnd 
Them i put this:

PHP Code:
${If} $SelRap == ${BST_CHECKED}
        
StrCpy $R9 3 
        Call RelGotoPage
    
${Else}
        
StrCpy $R9 6 
        Call RelGotoPage       
${EndIf} 

But i confuse because the third page of NSIS is my custom page and then it shows me the install page. What is the order of the NSIS pages that shows with "StrCpy $R9 3" or for example 1,2,3,4, etc... ?

Last edited by thanatos83; 6th September 2010 at 13:14.
thanatos83 is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump