One of our product will consist of multiple SharePoint solutions. Now we're wondering what would be the best way to provide an easy deployment to our customers? At the moment we deploy each solution by hand, which is OK during development process but not acceptable for our customers.

For your information, we're using VSeWSS 1.3 for development and solution packaging.

So how do you offer your solutions to your customers? Do you write installation scripts using STSADM commands? What other options do we have?

I would ship a .zip file which contains

  1. solution1.wsp
  2. solution2.wsp
  3. solution3.wsp
  4. install.bat
  5. readme.txt

install.bat performs the deployment of the solutions by making calls into STSADM.EXE

We have build a complete framework in PowerShell for deploying solution packages, with pre-/post-configuration events, definition of relation between modules, rollback (if implemented in callouts) and even partial updates.

It basicly wraps STSADM but adds the possibility of configuring stuff before or after modules are deployed (like setting up BDC application and rights programmatically before deploying custom BDC web parts).

It was alot of work, but the result is pretty nifty.

Anders Rask

Build your WSP and grab a copy of SharePoint Solution Installer. It will allow you to provide a EULA and several options. Customers just click setup.exe.

  • Yes SharePoint Solution Installer looks nice but unfortunately it supports only the installation of a single solution with a single feature. So this won't work for us. – Flo Dec 17 '09 at 12:26
  • Okay, check out Eli Robillards WSPSolution project on CodePlex here: codeplex.com/WSPSolution It supports any number of solution packages although you do have to structure your solution a specific way it is a good practice he provides here. – Bil Simser Dec 18 '09 at 2:47

Wsps with a batch file. this batch file will use stsadm commands to add and deploy solution. also feature activation can be specified in the batch file.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.