sharepoint WSP安装包安装、删除、更新
来源:互联网 发布:淘宝买家秀福利 网站 编辑:程序博客网 时间:2024/04/29 23:27
1、普通WSP包,没有特殊激活内容
安装BBA.WebParts.wsp
1) Add-SPSolution -LiteralPath "c:\BBA.WebParts.wsp"
2) Install-SPSolution -Identity "BBA.WebParts.wsp" -WebApplication http://server:8299 -GACDeployment
更新WSP: Update-SPSolution –Identity "BBA.WebParts.wsp" –LiteralPath "c:\BBA.WebParts.wsp" –GACDeployment -force
删除WSP: 管理中心---系统设置---管理场解决文案: 先收回XXX.wsp 再删除解决方案
2 自定义定时器WSP安装 ,有特殊激活内容
安装 AutoSenArvatodMailJob.wsp
1) Add-SPSolution -LiteralPath "c:\AutoSendMailJob.wsp"
2) Install-SPSolution -Identity "AutoSendMailJob.wsp" -WebApplication http://server:8299 -GACDeployment
3) iisreset
4) Disable-SPFeature -Identity "AutoSendMailJob_Feature2" -Url "http://server:8299/sites/bba"
5) Enable-SPFeature -Identity "AutoSendMailJob_Feature2" -Url "http://server:8299/sites/bba"
6) net stop SPTimerV4
7) net start SPTimerV4
更新 AutoSenArvatodMailJob.wsp
1) Disable-SPFeature -Identity "Arvato.BBA.AutoSendMailJob_Feature2" -Url "http://10.200.8.11:8299/sites/bba"
2) Uninstall-SPSolution –Identity "Arvato.BBA.AutoSendMailJob.wsp" -WebApplication "http://10.200.8.11:8299" -Confirm:$false
3) Remove-SPSolution –Identity Arvato.BBA.AutoSendMailJob.wsp -Confirm:$false
4) Add-SPSolution -LiteralPath "c:\Arvato.BBA.AutoSendMailJob2.wsp"
5) Install-SPSolution -Identity "Arvato.BBA.AutoSendMailJob.wsp" -WebApplication http://10.200.8.11:8299 -GACDeployment
6) iisreset
7) Enable-SPFeature -Identity "Arvato.BBA.AutoSendMailJob_Feature2" -Url "http://10.200.8.11:8299/sites/bba" 8
8) net stop SPTimerV4
9) net start SPTimerV4
3、删除多余定时器方法
//查看 计时器 "ArvatoBBASendMailTimerJob"
Get-SPTimerJob | ?{$_.Name -match "ArvatoBBASendMailTimerJob"} |ft id,name
//Set job to a variable
$job = Get-SPTimerJob -id 59af3540-7ac0-4477-82f9-1f6ab9829aca
//And delete it.
$job.Delete()
参考: http://www.cnblogs.com/wsdj-ITtech/archive/2011/05/10/2041843.html
- sharepoint WSP安装包安装、删除、更新
- sharepoint 命令行安装、部署、删除wsp包
- SharePoint 2010 部署 WSP 包
- sharepoint 2010 PS命令部署wsp包
- SharePoint部署WSP解决方案包,部署Feature
- SharePoint开发部署WSP解决方案包
- SharePoint开发部署WSP解决方案包
- SharePoint 2010 WSP包部署过程中究竟发生什么?
- CentOS下查看、更新、删除yum安装包
- 【npm】利用npm安装/删除/发布/更新/撤销发布包
- SHAREPOINT 安装
- sharepoint安装
- Eclipse插件安装、更新、删除
- Eclipse插件安装、更新、删除
- Eclipse插件安装、更新、删除
- Spacewalk 安装更新删除软件包
- CocoaPods的删除、安装、更新
- 服务器更新python安装包
- JavaScript概述
- 部署失败:本地 SharePoint 服务器不可用解决
- 金蝶K3工业老单中间层开发示例
- 哈夫曼树
- “浪潮杯”第五届ACM大学生程序设计竞赛
- sharepoint WSP安装包安装、删除、更新
- Local and Push Notification Programming Guide
- .Net、Java、为我作证,随机数是骗人的
- Linux网路编程系列-网络I/O模型
- 【JAVA学习】JAVA中int、String的类型转换
- Sicily 1732 Alice and Bob (二进制数的最大公约数)
- 第12周-项目2-教师兼干部类
- Python开发者最常犯的10个错误
- 【Error】Python:UnicodeDecodeError: ‘XXX' codec can't decode bytes in position... 解决方法