stsadm -o addsolution –filename c:\bin\CustomerSiteSearch.wsp stsadm -o deploysolution –name CustomerSiteSearch.wsp -url http://[ServerName] -allowgacdeployment -force –immediate stsadm -o activatefeature –name customersitesearch -url http://[ServerName] -force stsadm -o retractsolution -name solutionName.wsp -immediate stsadm -o deletesolution -name solutionName.wsp
Add-SPSolution c:\bin\CustomerSiteSearch.wsp Install-SPSolution -Identity CustomerSiteSearch.wsp -AllWebApplications -GACDeployment Enable-SPFeature CustomerSiteSearch_feature1 -url http://[ServerName]/ –force Uninstall-SPSolution -identity solutionName.wsp Remove-SPSolution -identity solutionName.wsp
部署、收回和删除解决方式----STSADM和PowerShell
原文:http://www.cnblogs.com/yxwkf/p/5097104.html