What differ *.stp and *.wsp files?
What differ *.stp and *.wsp files?
November 3rd, 2007 10:54pm
Well, both are methods of deploying packaged functionality to SharePoint via a renamed CAB file.A .stp (site template)file contains resources and a manifest file relevant to an individual site template, and is limited in that it only contains a site itself with lists, etc.SPS 2003 and WSS 2.0 used .stp files, and theycan still be used in MOSS 2007 and WSS3.0. They are convenient, in large part because a relatively inexperienceduser can save a site to templatethrough the UI, andcreate new sites from that template with no knowledge of the .stp file's contents, etc.
A .wsp (solution)file similarly contains resources and a manifest file, but is more broadly used for extending MOSS 2007 and WSS 3.0 (not applicable to SPS 2003 or WSS 2.0), and is generally used for deploying Features, which can consist of site definitions, lists, web parts, custom actions, fields, etc., etc. It is much more extensible than the .stp framework, though it is also therefore more complicated to use.
More info:
Custom Site Templates
http://msdn2.microsoft.com/en-us/library/aa979709.aspx
Solutions Overview
http://msdn2.microsoft.com/en-us/library/aa543214.aspx
Working with Features
http://msdn2.microsoft.com/en-us/library/ms460318.aspx
Hope that helps,
-Ryan
Free Windows Admin Tool Kit Click here and download it now
November 3rd, 2007 11:41pm
STP in 2007 are site templates
WSP contain Sharepoint features, webparts, and files which are deployed as solutions files (kind like a CAB file)
Cheers,
Carlos
April 2nd, 2012 12:45pm