In the previous example, I showed you how you can save a site as a template and then access the subsequent solution (WSP) file in the existing site collection’s Solutions Gallery. However, if your SharePoint deployment is comprised of several site collections then you might want to make the site template available to all of those site collections. In order to do this, you need to use either the SharePoint STSADM command-line tool, using the
stsadm -o addsolution command, or PowerShell, using the
Add-SPSolution <SolutionLocation/SolutionName>.wsp command, to install the template at the server level.
You need administrative rights to the SharePoint server in order to run the following ...