|
|
#1 |
|
Junior Member
Join Date: Feb 2003
Location: India
Posts: 12
|
custom page
Hi..
this is the hierarchy of my installer. 1.Licence Page 2.component page 2.1 subsection 1 2.1.1 section 1 2.1.2 section 2 2.2 subsection 2 3.for each section, when it is checked i need respective custom page for user validation. for example if i check section 2.1 ,it should give custom page associated with it and if it is 2.2 it should be different. looking forward to ur reply Thanks |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
What you need to do is check if the section related to the custom page was checked in the custom page's creator function. If it wasn't checked, just don't call InstallOptions. Use something like this:
PHP Code:
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2003
Location: India
Posts: 12
|
Thanks
For the same custom page - i have 1 more soln-ie.using .onSelectionchange,i will be checking whether section is checked or not and calling a respective fn.if not return.
now the problem that still exist is invoking the event handlers-Suggestions r welcomed. Thanks. |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
I am sorry, I don't understand. What event handlers? What does this have to do with .onSelChange? All you need to do is check if the section was selected in the custom page's creator function. You don't need to call that function, NSIS calls it for you, it's a callback function.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Feb 2003
Location: India
Posts: 12
|
Hi..
we have to install more than 1 component at a time.And it is upto the user to decide which product he wants.simillarly uninstall should have separate options for different components.Is it possible with NSIS .if possible pls let me know.only if this option is possible,i can move further.Bye with thanx Sarathi |
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
Showing a component selection page is not yet possible in the uninstaller. It's planned though. For now you can use a regular InstallOptions page read the INI for the results and skip parts of the uninstaller code according to it.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Feb 2003
Location: India
Posts: 12
|
Thanks .I will keep in touch with u.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|