Web Part Deployment
Web Parts are compiled as .NET assemblies and can be reused many times in Windows SharePoint Services and SharePoint Portal Server. Web Parts are usually deployed using cabinet (.CAB
) files. We will create a cabinet file project in Visual Studio .NET that will encapsulate the assemblies and metadata for our Web Part. This cabinet file must then be installed using the stsadm.exe
utility that comes with WSS/SPS. To deploy the Web Part we will perform the following steps:
1. Prepare the Web Part Description
2. Prepare the Web Part Manifest
3. Create a CAB file deployment project
4. Execute the deployment
Note
Another installation tool for packaging and deploying Web Parts, called WPPackager, is available at
http://www.microsoft.com/downloads/details.aspx?familyid=0fda5912-c136-4b44-911a-011adfcc66e3&displaylang=en
. WPPackager creates a Windows Installer File (.MSI
) for your Web Part, which performs the necessary configuration of SPS/WSS...