Archive: InstallOptions


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


I cannot reproduce any of your problems.

Please post your scrict code that handles the IO stuff.


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:

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.


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.


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


You need to use the MUI_HEADER_TEXT macro to set the headers.


Thanks KiCHiK, it works nice :)
Strange that the macro has to go before the InstallOptions:: command and not after.

-Stuart :)


That's not weird. It stays on the InstallOptions command until the user has leaved the page.