JoeMcC00L
12th September 2006, 02:20
Good evening ladies and gents,
I noticed a pretty cool quirk with NSIS. If you want to have a deselected grayed-out section, you use the syntax:
Section /o SectionName
SectionIn RO
...
SectionEnd
Any ideas on how to make this happen inside a function? Specifically, I want to make a function that searches for a component on the client's computer. If the component is there and up-to-date, the section should be grayed-out. Currently I have an InstallOptions page that somewhat emulates what I'm going for, but this way would be so much easier to support.
Thanks for any help,
Joe
I noticed a pretty cool quirk with NSIS. If you want to have a deselected grayed-out section, you use the syntax:
Section /o SectionName
SectionIn RO
...
SectionEnd
Any ideas on how to make this happen inside a function? Specifically, I want to make a function that searches for a component on the client's computer. If the component is there and up-to-date, the section should be grayed-out. Currently I have an InstallOptions page that somewhat emulates what I'm going for, but this way would be so much easier to support.
Thanks for any help,
Joe