My way to deploy Sharepoint Solution

VS.NET extension for Sharepoint 2007 is a great tool to create webparts, features and site definitions. But I found it's not very not that easy to package the solution and deploy to production servers. I need to create manifest.xml and a ddf file and have to use makecab.exe tool. I don't why MS doesn't auotmatically genereate in the solution.

And my simple way to deploy the solution is

  • Find the setup.bat and solution folder under binDebug (usually it's generated after you build and deploy the solution in VS.NET)
  • Copy your release version dlls to solution folder 
  • Open setup.bat and change "TargetUrl" to your production server.
  • Copy these file and folder to production
  • Run "setup /i"

and it works great.

I've also find a Sharepont Solution Installer tool in here:

http://blog.mondosoft.com/ontolica/archive/2007/03/14/Generic-SharePoint-2007-Solution-Installer.aspx

it sounds a nice tool but I didn't try it yet. 

 

Leave a Reply


My way to deploy Sharepoint Solution

VS.NET extension for Sharepoint 2007 is a great tool to create webparts, features and site definitions. But I found it's not very not that easy to package the solution and deploy to production servers. I need to create manifest.xml and a ddf file and have to use makecab.exe tool. I don't why MS doesn't auotmatically genereate in the solution.

And my simple way to deploy the solution is

  • Find the setup.bat and solution folder under binDebug (usually it's generated after you build and deploy the solution in VS.NET)
  • Copy your release version dlls to solution folder 
  • Open setup.bat and change "TargetUrl" to your production server.
  • Copy these file and folder to production
  • Run "setup /i"

and it works great.

I've also find a Sharepont Solution Installer tool in here:

http://blog.mondosoft.com/ontolica/archive/2007/03/14/Generic-SharePoint-2007-Solution-Installer.aspx

it sounds a nice tool but I didn't try it yet. 

 

Leave a Reply