Archive: Remember & Reload Subsection Checks


Remember & Reload Subsection Checks
I've got a subsection ("Shortcuts") and series of Sections underneath that a user checks to indicate whether to install various shortcuts to our software. When the user runs the installer, I'd like to save the checkboxes they select and restore them the next time they run the installer. For example, if the always deselects all options except Desktop shortcut, I want to remember that and preselect it for them.

What's the best way to accomplish this?

Thanks,

Adam


If you are using latest CVS, you can use SectionGetFlags to see if they are selected or not, and SectionSetFlags to set sections to on and off (see Include\Sections.nsh for usage)

-Stu


Thanks for pointing that out. Any idea how stable the CVS versions are?

Adam


Current CVS version is just waiting for language files to be released as b4. But you can use SectionGetFlags and SectionSetFlags with b3 too.


Its working great now. Thanks for pointing me in the right direction.

Adam