Right now I can detect what components are installed, but I have no way of unchecking them from the components list.
Is there any chance of adding a /Unchecked switch to the Section line?
That way, I can do something like define SN as /Unchecked, and do something like this:Section 'Section Name' /Unchecked
Function .onInit
IfFileExists $INSTDIR\File.ext DoneCheck
!Define SN /Unchecked
DoneCheck:
FunctionEnd
!IfNDef SN
!Define SN ''
!EndIf
Section 'Section Name' ${SN}
; ...
SectionEnd