Skip to content
⌘ NSIS Forum Archive

Custom Option

3 posts

Guest#

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.
Anders#
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
Guest#
Thanks. The SectionIn RO works but doesn't look right for me. I'll check out the options stuff you mentioned.