For handling shared components, you have two options:
Don't install shared components. To do this, run the installer program with the —excludeSC flag. See commpkg usage.
Install the shared component dependencies such as in the Non-global sparse root zone scenario. This option installs only the shared components that are necessary for the products you are installing. To do this, add a ~ (tilde) to the component number you want to install in the sparse zone. For example, if you plan to install Messaging Server 64–bit in the sparse zone, you select ~3 during the global zone installation. The installer will know to only install dependencies and not the product itself.