DariTo
10th August 2007 16:26 UTC
Section and pages question
Hi there you all!
I'm like an....uber newbie at this...so plz dont be hard on me.
I would like to ask the following:
Imagine you have this 3 sections:
"Install files"
"Register Dll"
"Delete some files"
I would like my installer to show a different page with progress bar for every section. Like
(Section 1)
Installing files
}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}..........
(section 2)
Registering Dll
}}}}}}}}}}}}}}}}}.....
And so....
Maybe not 3 different pages, but 3 stages of the same page, 1 for every section.
Is this possible?? (remember im a newb so...technical languaje...i can deal with....NSIS EXTRA technical languaje...ill try)
THX! :D
Afrow UK
10th August 2007 17:34 UTC
Use DetailPrint with a combination of SetDetailsPrint.
Stu
DariTo
10th August 2007 18:42 UTC
Going to try it, thx for ur answer! :D
DariTo
10th August 2007 18:51 UTC
Okay tried it.
But what i really need is like:
1 Stage
Installing files (once Section 1 is completed the progress bar reaches 100% and then it goes back to 0% to start with section 2)
Registering dll (progress bar til the end of the section, goes back to 0% to start with section 3)
I hope i explained my self right this time
Afrow UK
10th August 2007 18:56 UTC
In which case you do need 3 InstFiles pages and for each you must display them or not depending on if the section for that page is selected. You must also unselect all other sections except the one to be executed on that particular InstFiles page before it is displayed.
Seems like a lot of work for nothing really :p
Stu
Red Wine
10th August 2007 19:01 UTC
A lot of work indeed :)
You may grab an idea of what Stu is referring here,
http://nsis.sourceforge.net/Installe..._Installations
DariTo
10th August 2007 19:01 UTC
Damn, that hard uh? Its just a detail to make an installer look good...but ya, a lot of work.
Thx!