Afrow UK
26th February 2003 22:13 UTC
InstallOptions
I have just added a directory page using InstallOptions. However, I have hit many ugly problems...
On the InstallPage, everything is installed twice :igor:
On the new IO page, a Install > button is displayed. Clicking < Back will take you to the components page BUT it still has the Install > button on it (but greyed out)
I'm using Modern UI
It's a bit hard to show you the script, since it's split up into about 8 sections.
-Stuart
Joost Verburg
26th February 2003 22:20 UTC
I cannot reproduce any of your problems.
Please post your scrict code that handles the IO stuff.
Joel
26th February 2003 23:40 UTC
And also...
We need an app to create the proper:
Type=
Top=
Left=
Bottom=
Right=
I spend 45 min trying to get right one label and a textbox :igor:
I try IOcpt but it doesn't update :cry:
Does anyone has a quick way to do this?
:cool:
Sunjammer
27th February 2003 02:50 UTC
I think you can use Dev Studio (or another dialog editor) to work out the dialog unit positions of controls, but those tools won't write out an IO ini file for you, that's still your job. I don't have a quick way I can tell you of I'm afraid to say.
IOcpt is very old now, I don't think it was updated even when NSIS started using dialog units instead of pixels for positioning the controls.
Joel
27th February 2003 21:21 UTC
Hey !
I found a tool in this site
a program called dlged200.zip for edit dialogs.
maybe It'll be a helpfull untill an Official tool.
Afrow UK
28th February 2003 20:29 UTC
Thanks for the replies, but it is not what I needed help for.
I fixed the problem by using...
Page Custom MyDirectoryPage
Instead of...
Page Directory etc...
Now, I have another small problem.
Modern UI transfers the Title and Subtitle from the window before it, and dumps it over my custom page. I'm not sure how to stop it from doing this.
?
-Stuart
kichik
28th February 2003 22:42 UTC
You need to use the MUI_HEADER_TEXT macro to set the headers.
Afrow UK
28th February 2003 23:15 UTC
Thanks KiCHiK, it works nice :)
Strange that the macro has to go before the InstallOptions:: command and not after.
-Stuart :)
Joost Verburg
2nd March 2003 19:54 UTC
That's not weird. It stays on the InstallOptions command until the user has leaved the page.