The normal delivery vehicle for software is to create a package that contains all of the software components. A package provides a controlled mechanism for installation and removal of all the components of a software product. In Oracle Solaris 11, the native packaging system provides built in support for adding and removing drivers through driver actions. See Adding and Updating Oracle Solaris 11 Software Packages for more information.
In prior versions of Oracle Solaris, the SVR4 packaging system was used, which required including postinstall and preremove scripts in the package to run add_drv(1M) and rem_drv(1M) commands. Existing driver packages using these commands may still be installed on Oracle Solaris 11.