Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Section and pages question (http://forums.winamp.com/showthread.php?t=275688)

DariTo 10th August 2007 15:26

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 16:34

Use DetailPrint with a combination of SetDetailsPrint.

Stu

DariTo 10th August 2007 17:42

Going to try it, thx for ur answer! :D

DariTo 10th August 2007 17:51

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 17:56

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 18:01

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 18:01

Damn, that hard uh? Its just a detail to make an installer look good...but ya, a lot of work.

Thx!


All times are GMT. The time now is 18:01.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.