【问题标题】:Deploying wsp from MSI installer从 MSI 安装程序部署 wsp
【发布时间】:2010-12-20 17:30:18
【问题描述】:

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

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

这样做的方法是什么?

【问题讨论】:

    标签: sharepoint-2010 windows-installer wsp


    【解决方案1】:

    有一个即将推出的项目,请在此处阅读: 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

    【讨论】:

    • 我想我会尝试为 2010 年修改 sharepointinstaller 项目 - 它应该很容易。谢谢!
    • 您是否修改了sharepoint安装程序并使其适应SP2010?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多