PDA

View Full Version : When is an IDE Registry Entry Created?



kmoulton
11-11-2003, 03:23 PM
When you attach a registry entry in the IDE to a component. At what point in the installation is the registry entry created?

Is it created as soon as that component is installed? Is it created after all the components are installed? Is it created in OnFirstUIAfter? When is the entry created?

Thanks in Advance,

--Kim

RichAquino
11-11-2003, 04:13 PM
Hi Kim,

It'll be created between OnMoving and OnMoved. More specifically, it'll be created between OnFeatureName_Installing and OnFeatureName_Installed (where Feature name is the name of the feature containing the registry entry).

Rich

kmoulton
11-11-2003, 04:42 PM
It sounds to me like the components must install in some sequence. In other words one component installs and puts down it's registry entry and the next one and so on.

Is there a way to order or control the sequence of component installation?

Thanks again,

--Kim

RichAquino
11-11-2003, 05:44 PM
Hi Kim,

The ordering of components is not controllable. The lowest level of control is on the feature. So, if you absolutely must control the component order, you'll have to split them into features and order the features.

Rich

kmoulton
11-11-2003, 06:00 PM
Thanks Rich.

So evidently one Feature installs and puts down all of its components. As the components are installed they evidently write the registry with the registry entries that are attached to them. I am also assuming that they create the shortcuts that are attached to them at this time. Is this correct?

How do you control the order or sequence in which the features are installed?

Thanks again,

--Kim

RichAquino
11-11-2003, 06:02 PM
Hi Kim,

You are correct.

The features can be ordered in the Features or Setup Design views.

Rich

kmoulton
11-11-2003, 06:14 PM
Are features installed in the order they are displayed in the Installation Designer?

What about sub features and required features?

Thanks,

--Kim