Archive for November, 2009

Migrate Template from MOSS 2007 to WSS 3

Sunday, November 15th, 2009

I have a development server running MOSS 2007, and am running WSS 3 locally on my development laptop (thanks Bamboo!). I am trying out a few things locally, but ran into a feature dependency issue when I tried to use a site template I had created on MOSS 2007 on my WSS 3 local development instance.

This worked for me, any comments/suggestions are welcome.

  • Download STP Inspector.
  • Download template file by clicking on it in template gallery.
  • Open template (.stp) file in STP Inspector and click “Inspect” to view dependencies.
  • Make a note of failed dependencies.
  • Deactivate MOSS features that might not be installed on WSS 3 (see below), and re-create
    template on MOSS server. Re-download template file.
  • Open template file in STP Inspector again and verify features with just GUID (no name) are
    not checked.
  • Change extension from .stp to .cab.
  • Unpack CAB archive and open manifest.
  • Search for GUIDs that are not checked in STP Inspector and delete them.
  • Create CAB (Google for CABARC and download the CAB SDK from the first result) using this
    command-line: makecab ADTemplate4\manifest.xml ADTemplate4.cab
  • Rename .cab file to .stp file.
  • Upload .stp to template gallery in WSS and try creating a new site using the modified site
    template.