2010-12-20 144 views
2

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

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

这样做的方法是什么?

回答

2

有它即将开展的项目,在这里读到它: http://sharepointinstaller.codeplex.com/wikipage?title=SpecificationV2&referringTitle=Home

目前,最好的办法是使用MSI与CustomAction。但是,而不是对象模型,使用powershell脚本来部署WSP。它比代码更清洁。

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

+0

我想我会尝试修改sharepointinstaller项目2010 - 这应该是很容易的。 谢谢! – AlexC 2010-12-21 14:52:05

+0

您是否修改了SharePoint安装程序并将其修改为SP2010? – superjos 2012-03-24 18:50:10