1. 覆盖

Uninstall-SPSolution –Identity Caesarstone.GlobalSite.WebSite.wsp –WebApplication http://myserver-sp1:2010/
Remove-SPSolution –Identity Caesarstone.GlobalSite.WebSite.wsp -force
Add-SPSolution C:\Caesarstone.GlobalSite.WebSite.wsp
Install-SPSolution -Identity Caesarstone.GlobalSite.WebSite.wsp -AllWebApplications -GACDeployment
Enable-SPFeature CustomerSiteSearch_feature1 -url http://[ServerName]/ –force

可能会用到卸载Feature:Uninstall-SPFeature  6a4ea254-2eb4-48c5-a996-62f71ac19828 -force

  1. 第一次发布

Add-SPSolution c:\bin\CustomerSiteSearch.wsp

Install-SPSolution -Identity CustomerSiteSearch.wsp -AllWebApplications -GACDeployment

Enable-SPFeature CustomerSiteSearch_feature1 -url http://[ServerName]/ –force

相关文章:

  • 2022-12-23
  • 2021-09-08
  • 2021-12-04
  • 2021-05-28
  • 2021-06-18
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-23
  • 2022-01-15
  • 2022-12-23
  • 2021-09-26
  • 2021-05-18
  • 2021-12-17
  • 2021-05-29
相关资源
相似解决方案