cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
josephine
Level 5

How to add registry entry conditionally

In my basic MSI project, I wish to install certain registry entries based on some property set by a custom action.
i.e. the entries are installed only if the property has a certain value.

The first way came to mind is to create some dummy component, associate the registry entries with it, and set some install condition to the dummy component.

Would this work? Is there any easier way to accomplish the task?

Thanks!
Labels (1)
0 Kudos
(1) Reply
Kevin_L
Level 5

I think it's the best way but what exactly change between the registry entries? path, value or both?

Regards,

Kevin
0 Kudos