I use this to skip the components page when desired:
Page Components NoComp
ReadRegStr $R6 HKLM "Software\NAME" "SKIP"
In fact, I read this in NSIS Documentation.
I am pretty sure you can tweak it to meet your requirements. If not, try reading the documentation, or posting again (attaching script preferably).