Read following thread:
TUTORIAL: Unattended Installation of Adobe Photoshop
Its for unattended installation of Photoshop and ur problem is just opposite as u want to do attended installation

and want to select components.
So read the post and do some r&d with the file, like set following options to
YES in stead of NO:
Code:
DisplayTypeOfInstallDlg=NO
DisplaySelectDestDirDlg=NO
DisplayCustomDlg=NO
DisplayUserInfoDlg=NO
DisplayConfirmRegDlg=NO
DisplayStartCopyDlg=NO
DisplayFinishDlg=NO
PS: I hv not tried it with Photoshop CS2, but I hope it should work with it...