cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dmetzler
Level 6

Conditional addition of regsitry key

I would like to add a set of registry keys, but only if a certain condition is true (VISTAGADGET=1).

Is there a way to check a condition before adding a registry key?

Thanks,

Don Metzler
Labels (1)
0 Kudos

(2) Replies
RobertDickau
Flexera Alumni

Unless you're writing to the registry with a custom action (bad idea), the registry data will be associated with a component; so perhaps place the data in a component and place that component in the feature you want?
0 Kudos
dmetzler
Level 6

RobertDickau wrote:
...so perhaps place the data in a component and place that component in the feature you want?


Thanks - I did this and have it working.

Don
0 Kudos