In a Basic MSI project, you can create a Installscript Custom Action to update a block of Registry entries. If you do use this approach, you would need an uninstall custom action well.
However, if you need to stay with pure MSI, I would create one component for the block of registry entries and add a condition for this component. This handles the install and uninstall.