If you want an easy way to deploy your solutions to SharePoint 2010, you came to the right place! :)
For my WSS 3.0/MOSS 2007 solutions, I usually use a project called SharePoint Solution Installer from Codeplex. But unfortunately, you can’t use it with SharePoint 2010 because it is not compatible.
After goggling for a while, I have found a guy who made some changes to SharePoint Solution Installer source code, and now it works like a charm for SharePoint 2010. (You can check his post here)
How to use this?
- First you need to download the attached zip file.
- Extract the content to a local folder.
- Make sure you have successfully built your project.
- Package your project.
- Copy the WSP file inside Bin\Debug or Bin\Release and place it in the resources folder.
- Adjust the Setup.exe.config so it look like the one below. You need to adjust SolutionId, SolutionFile and SolutionTitle. You will find the SolutionId in the folder pkgobj\Debug\package_manifest.xml or pkgobj\Release\package_manifest.xml
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="BannerImage" value="Default"/>
<add key="LogoImage" value="None"/>
<add key="FeatureScope" value="Site"/>
<add key="EULA" value="Resources\EULA.rtf"/>
<add key="SolutionId" value="599020e9-e1d3-4a91-8522-b18072d180b2"/>
<add key="SolutionFile" value="Resources\yoursolution.wsp"/>
<add key="SolutionTitle" value=""/>
<add key="SolutionVersion" value="1.0.0.0"/>
<add key="UpgradeDescription" value="Upgrades {SolutionTitle} on all frontend web servers in the SharePoint farm."/>
<add key="RequireDeploymentToCentralAdminWebApplication" value="false"/>
<add key="RequireDeploymentToAllContentWebApplications" value="false"/>
<add key="DefaultDeployToAdminWebApplications" value="false"/>
<add key="DefaultDeployToContentWebApplications" value="false"/>
</appSettings>
<startup>
<supportedRuntime version="v2.0.50727"/>
</startup>
</configuration>








Leave a comment