Archive: Component Screen


Is there a way to make a component not automatically checked, without creating configurations? e.g.:

[X] Start Menu Group
[X] Desktop Icon
---------------
[ ] Run when Finished <- not automatically checked


hi,

sure, just drop SectionIn and do it like that:

ComponentText " "
InstType "Typical"

Section "Required"
SectionEnd

Section "1"
SectionIn 1
SectionEnd

SectionDivider

Section "2"
; no SectionIn !
SectionEnd

cu yzo


Thanks yzo, I'll try that out ASAP!


Is there a way to do this, though, such that the Choose InstType box doesn't show up on the page?

Or could there be in the future, please?

A simple switch on the Section line should do, to make it not automatically checked.

Thanks!


hi,

although i think that is not that big difference:

take the above code and delete the InstType and SectionIn commands .. that's it, but then it's not possible to have the 3rd section unchecked by default.

btw: i don't think that the behaviour without InstTypes _and_ with ComponentPage was planned at all.

normally when you don't have an insttype, all required sections are installed by default.

i would say that is a "bug" in the InstType (and maybe ComponentText) command, but with no need to fix it.

cu yzo


Loving you, is easy cos' you're beautiful...
There is a little non-bug in NSIS that makes the entire Component page go away when you are only using one section and that section has no SectionIn command in it and shit what am I talking about!:!:!


huh, lol .. what are you talking about ? :)