我想使用MSI(或其他用户友好的安装程序形式)部署SharePoint 2010解决方案软件包(WSP)。

我知道我可以创建一个自定义操作并使用SharePoint对象模型部署所有内容,但是我认为这是不可能的。

这样做的方法是什么?

有帮助吗?

解决方案

上面有一个即将到来的项目,请在此处阅读:http://sharepointinstaller.codeplex.com/wikipage?title=specificationv2&referringtitle=home

目前,最好的方法是将MSI与自定义使用。但是,使用PowerShell脚本来部署WSP,而不是对象模型。它将比代码更干净。

http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/Archive/2009/12/02/adding-andding-andding-and-deploying-solutions-with-with-powershell-powershell-in-sharepoint-2010.aspx

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top