Archive: Custom Page modifications


Custom Page modifications
Hi,

I am inserting a custom page in my installer and uninstaller. It works fine if I extract the custom installer page in .onInit and custom uninstaller page in un.onInit.

Am I doing right? Or is it like I have to do some other way, but this works as well.

Secondly, I am trying to add an icon and a banner (bitmap) to the finish page (which is also a custom page). The custom finish page appears fine in the installer but doesn't appear in the uninstaller. The uninstaller's title and subtitle appears but custom finish page (.ini) doesn't get displayed.

Is it like you cannot insert a custom finish page?

Thirdly, I am adding the "text" of the "label" to the custom finish page using MUI_INSTALLOPTIONS_WRITE. But no text appears on the installer page.

Can't I just write to the label at runtime?

And lastly, does anyone how to make a section (group box) to appear (visible) using the value of a checkbox. Initially I want to it to appear as invisble and then depending on the state of the checkbox want it appear. I can use disable but that disables the groupbox but it still appears on the screen.

Your help is appreciated.

-Sid.


Attaching a script is always helpful, copying and pasting code tends to waste space on the thread (and makes it look cluttered).

1). Yes, this is the right way to extract a custom page .ini.

2). Check to make sure you are giving installoptions the correct path, and make sure the file exists. Also make sure the pages are ordered correctly, and make sure installoptions is being called in the pre function of the custom pages.

3). You have to write to it before the page is displayed. Make sure you write to it before using any of the installoptions macros.

4). I have no idea. I don't use the components page in my installers. I did a bit of research and it appears you can't hide a section, then show it. I might be wrong.