cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sfirasr
Level 3

custom setup - recognizing selected components

Hi,

I would like to write a registry key value depending to the custom setup selected components.

For examples if we have two components A and B.
if the user select A and not B, I would like to write A in my registry key.

1. How could I know the selected components before the installation starts?
2. How could I do the condition write to registry without using any scripts?

Appreciated any kind of help,
Firas.
Labels (1)
0 Kudos
1 Reply
hari14singh
Level 5

You can directly attach registry to component.
Go to component view->select component->then select registry data->go to destination computer registry view. Add your registry directly here.
If Component is deployed then registry attached is also deployed.

Create two component as two diferent features and you can use this function
FeatureSelectItem ( szFeatureSource, szFeature, bSelect );
0 Kudos