This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to add registry entry conditionally
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 05, 2010
09:27 AM
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!
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!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 07, 2010
10:35 AM
I think it's the best way but what exactly change between the registry entries? path, value or both?
Regards,
Kevin
Regards,
Kevin