Archive: Managing insttypes with multiple component pages


Managing insttypes with multiple component pages
I have an installer with more than one components page. When I change the install type on one components page, it changes the sections which are selected on the other components page. Each components page contains different sections, and uses different labels for the install types. What am I doing wrong, here?

Here's the installer source that's acting oddly...

-Scott


Install types set invisible sections too so you'd have to save, clean and reset the selection of the other components on each components page just like you do with the names.

BTW, you can do both with a loop and some temporary storage file.


I'm not sure what you mean. Do you happen to have an example anywhere?

-Scott


example


Looks like this is going to be a pain...


I found a problem with your example... the Space Required isn't updated properly. Attached is a modified version, utilizing AddSize to show this.

The problem is that the Space Required only reflects the sections on that are displayed on the current components page.

-Scott


It works as I'd expect to work. If you want both components pages to show the accumulated required size of both you can create an empty section and set its size to the other components page's required size using SectionGetSize and SectionSetSize.


What a mess.