Adding HKCU components to features
I’m working on a package that has HKCU registry keys and following the advice on this message board I added a current user component and feature. I set everything up but my question is what’s the difference between grabbing a component from the feature screen and dragging / dropping into the new feature versus creating a feature and then right clicking on the new feature and going new | component assignment.
The difference I see is that assigning the component still keeps the HKCU registry keys in the combined folder under the complete feature, plus adds it into the new feature. Dragging & dropping the component actually removes the registry keys from the complete feature. Can someone tell me the correct way to add components to features?
Thanks.
The difference I see is that assigning the component still keeps the HKCU registry keys in the combined folder under the complete feature, plus adds it into the new feature. Dragging & dropping the component actually removes the registry keys from the complete feature. Can someone tell me the correct way to add components to features?
Thanks.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
AngelD
18 years ago
There's no right or wrong way, it's all about the scenario.
If you capture an installation you would have to manual create your top feature for the HKCU registry and then drag'n drop the component(s) to that feature.
If you build the msi from scratch then the easiest way would be to create the feature tree and then create the component(s) under the feature you wish to hold the resources.
Regarding the combined folder under the feature tab, they do not get removed but moved instead to the combined folder under the feature you moved the component to.
If you capture an installation you would have to manual create your top feature for the HKCU registry and then drag'n drop the component(s) to that feature.
If you build the msi from scratch then the easiest way would be to create the feature tree and then create the component(s) under the feature you wish to hold the resources.
ORIGINAL: rj01
The difference I see is that assigning the component still keeps the HKCU registry keys in the combined folder under the complete feature, plus adds it into the new feature. Dragging & dropping the component actually removes the registry keys from the complete feature. Can someone tell me the correct way to add components to features?
Regarding the combined folder under the feature tab, they do not get removed but moved instead to the combined folder under the feature you moved the component to.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.