Archive: Custom Option


Custom Option
Can someone show how to add a custom page with a single option (for installing a desktop shortcut)?

I don't care for the layout of the compenent selection page and, besides, it allows the user to unselect my main program files. So I would really like to just add a new option, if it isn't that difficult.

Thanks.


just make the program files section read only

Section "blah"
SectionIn RO
SectionEnd

If you want a page with just a single checkbox, create a custom page with installoptions. checkout \nsis\contrib\installoptions


Thanks. The SectionIn RO works but doesn't look right for me. I'll check out the options stuff you mentioned.