Shared vs Permanent Components Dilemma !!!
Posted: Wed Mar 25, 2009 8:51 pm
Dear Gurus,
Need to have more convincing opinions....
My seniors collegue advised to set Registry_HKLM component as permanent reasons because the intention is to ensure that shared registry keys will not be removed. For example if 2-3 different application use the same bunch of registry keys then we can cause problems by deleting those keys during removal of one of the applications.
My opinion:
1. Installing components permanently means we have to use 16 as the attribute of the compenents. 16 stands for permanent component but 8 is an other option that means the component is shared. if it is installed by 2-3 different apps like a shared component then removing one of them will not cause any harm. Well it requires that all application would be installed properly with setting the required components' attribute 8.
2. if you removed those reg keys and it results in an other application to be broken, you still can reinstall/repair the other application
Wouldn't be just good enough setting only as shared instead of permanent? I notice if we had to set as permanent, cleaning up is also tough job !!! Therefore, why we need to have permanent whereby shared is sufficient.
Thanks in advance your reply.
Need to have more convincing opinions....
My seniors collegue advised to set Registry_HKLM component as permanent reasons because the intention is to ensure that shared registry keys will not be removed. For example if 2-3 different application use the same bunch of registry keys then we can cause problems by deleting those keys during removal of one of the applications.
My opinion:
1. Installing components permanently means we have to use 16 as the attribute of the compenents. 16 stands for permanent component but 8 is an other option that means the component is shared. if it is installed by 2-3 different apps like a shared component then removing one of them will not cause any harm. Well it requires that all application would be installed properly with setting the required components' attribute 8.
2. if you removed those reg keys and it results in an other application to be broken, you still can reinstall/repair the other application
Wouldn't be just good enough setting only as shared instead of permanent? I notice if we had to set as permanent, cleaning up is also tough job !!! Therefore, why we need to have permanent whereby shared is sufficient.
Thanks in advance your reply.