문제

I would like to deploy a SharePoint 2010 solution package (wsp) using MSI (or some other user friendly form of installer).

I know I can create a custom action and deploy everything using the SharePoint object model, but I don't think that's the way to go.

What would be the way to do this?

도움이 되었습니까?

해결책

There is an upcoming project on it, read about it here: http://sharepointinstaller.codeplex.com/wikipage?title=SpecificationV2&referringTitle=Home

Currently, the best way would be to use MSI with CustomAction. But instead of object model, use powershell script to deploy the WSP. It will much cleaner than code.

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top