Archive: Install Options and too much data..


Install Options and too much data..
bunch of checkboxes..
dynamically generated..
[web install]

now.. if i have more than a pages worth of info.. it gets cut off..
any idea's on how to get the inner page to scroll :weird:

if that makes sense..

otherwise i'll be forced to write some horrid paging grid :D


You can make your own UI and use ChangeUI, or change InstallOptions to create its window with WS_VSCROLL.

Another thing you could do is pre-define a lot of sections with an empty name (won't be shown by default) and then change their names (using SectionSetText) according to the input you get from your web-server. With this solution you will have to define a maximum number of sections though...


:weird:

erm.. digging thru the src now.. can't find where the window is created..

any ideas ?


Forgot it is a dialog... Just change the resource :D


eh ?
you mean change the NSIS ?
or go and make my own UI ?


If you don't want scrolling you should make your own UI.
If you can settle for scrolling you have two options:
1) InstallerOptions.cpp 732: add WM_INITDIALOG and make set the dialog style to the previous dialog style | WS_VSCROLL.
2) Change ioptdll.rc and give IDD_DIALOG1 WS_VSCROLL style.


hmmm i think paging it would end up being easier..
the current sources i have are the nsis20a6 ones, and its being bitchy

*sniffe*

i'd like to use it with a scroll, however i'm not too sure if it will bug out other things i am doing..
*ponder*


The version of NSIS has nothing to do with it as you only need to change the InstallOptions sources... If you are not using any other InstallOptions pages it shouldn't but you at all. Just create InstallOptionsS.dll that will be the scrolling version.


hmm, however

1) InstallerOptions.cpp 732: add WM_INITDIALOG and make set the dialog style to the previous dialog style | WS_VSCROLL.
2) Change ioptdll.rc and give IDD_DIALOG1 WS_VSCROLL style.



2) isn't a braindrain.., gave me the scroll bar.. but wouldnt scroll

1) ... [hence me asking the version..] is sitting in the middle of the create dialog [and i havn't worked with windows C in five years so i'm trying to read up whilst putting it together] even on MSDN i can only find two pages with WS_VSCROLL information.


This newsgroup thread is talking exactly about your problem. The solution suggested there is beyond what I consider a small patch.

So, either try my other two solutions or make more than one page.


just spent a few hours writing the nastiest loops i have ever seen ;)

working well now, now if i can just recall i the code i made to loop thru the selected radio buttons ;)


You could also try to edit the resource using something like the Resource hacker. You can extend the NSIS window.

An other option is MultIni4 for multiple InstOpts pages. Read this.

-Hendri.