3

Please help me on this. Is it possible to deploy a WSP solution developed in SharePoint 2010 to SharePoint 2007. I know this is very akward question, but right now I am asked this very same question from client.

3 Answers 3

3

You cannot install SharePoint 2010 WSP on a SharePoint 2007 environment, because it references the SharePoint 2010 DLL files and the package Product Version is set to 14.0.

If you got the visual studio project, you could try and downgrade the project so that it works for 2007. More information about this can be found on this blog post.

1
  • 1
    I think you're assuming it has assemblies in it. I think James' answer is more complete. I haven't tried using a package made in visual studio 2010 on a SharePoint 2007 farm, but I have done the other way.
    – Tom Resing
    Feb 21, 2012 at 19:28
9

If the WSP has any assemblies in it - no.

The assemblies developed for SharePoint 2010 will be referencing the SharePoint 2010 core assemblies, and will fail when trying to load them in SharePoint 2007.

If the WSP only has XML in it, and no server side code in assemblies, it should deploy fine, given it has no Feature code that's new in 2010 (such as Feature upgrades, or any of the newer attributes that some elements may have).

3
  • 2
    And don't forget the 64bit vs 32 bit wsp's Feb 15, 2012 at 10:04
  • 1
    Agree with James, impossible if it contains assemblies. Feb 15, 2012 at 10:07
  • 1
    I might be going crazy, but I was able to get the same WSP into 2007 and 2010 just be specifying a no specific version of the Microsoft.SharePoint.dll in the project. Feb 21, 2012 at 18:52
-2

Here are some scripts that can be used to deploy the wsp to MOSS2007 to multiple site collections.

http://globaldeploymentmoss2007.blogspot.ca/

1
  • This does not answer the question. The PO has asked to deploy a WSP built for SP2010 into a MOSS 2007 farm. Your link explains how to deploy a WSP into multiple site collections.
    – Russell
    May 18, 2012 at 23:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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