Old 7th December 2007, 07:46   #1
Manthan
Junior Member
 
Join Date: Dec 2007
Posts: 4
Can i add two compnents page in a installer

Welcome Page
License Page
page for components
page for components
page for Directory selection
page for installation
finish page
unistallation welcome page
unistallation finish page

How to control the two components page. can i handle the event on the pages i mean if i want to call the java class on clicking the Next button on the components page.
Manthan is offline   Reply With Quote
Old 7th December 2007, 08:47   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
To control moving between pages you have the page callback functions. The pre callback is called before the page is created, allowing you to skip it. The show callback is called after the page is created, allowing you to modify its content before it's displayed. The leave callback is called before is page is left, allowing you to act on the page results and keep the user in that page.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
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