Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Force Selection of Sub component(s)?


3 replies to this topic

JamesH

JamesH
  • Members
  • 2 posts

Posted 21 May 2001 - 09:30

Hi, Can anyone help?  During an install of an application I need to force the user to change the subcomponent(s) of a main componant before proceeding to the next stage of the install.  Can this be done?

Ide Nentjes

Ide Nentjes
  • Members
  • 222 posts

Posted 21 May 2001 - 09:53

Hi James,

You can use ComponentIsItemSelected to check the status of (sub-)Components, and ComponentSelectItem to (de-)select (sub-)components.

To use them is this case:
- Check which subcomponents are selected, and which not.
- After the user clicks 'Next', check if the subcomponents have been changed. If not, Pop a messagebox and show the screen again.

Ide


JamesH

JamesH
  • Members
  • 2 posts

Posted 21 May 2001 - 10:05

Thanks Ide  that should do the trick, J