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

Extending Components


1 reply to this topic

tSunami akp

tSunami akp
  • Members
  • 12 posts

Posted 28 February 2002 - 02:44

I have two Questions regarding Components

Question One.
Let us consider three components

1. Component Alpha
2. Component Beta
3. Component Theta.

The requirement is
Component Beta should contain Component Alpha + Some Additional File Groups.
Component Theta should contain Component Alpha + Component Beta + Some Additional File Groups.

When the above combination is tried out the result is xxxxx.rra Files Registration Error. Here xxxxx stands for the file names in the components.

Question Two.
How do I determine the Component Selected in the Script.
The InstallShield help specifies to use
ComponentIsItemSelected(szComponentSource,szComponent)
Within the help it is mentioned that it is only for Compatibility purpose. What other options are available to determine the Component Selected in the Script.


Ide Nentjes

Ide Nentjes
  • Members
  • 222 posts

Posted 28 February 2002 - 10:22

Question 1:
I'd have to know how you handled the requirements. Have you made Alpha a subcomponent of Beta or something else ?

Question 2:
There isn't. InstallShield recommends putting component-specific code in its corresponding events. If you need to check wether a component is installed prior to the actual fileTransfer, you will need to use ComponentIsItemSelected .