Sunday, November 9, 2008

How to install and unistall WSP solution template using stsadm

Install:
stsadm -o addsolution -filename path\mySolution.wsp
stsadm -o execadmsvcjobs
stsadm -o deploysolution -name mySolution.wsp -immediate -allowGacDeployment -force

Uninstall:
stsadm -o retractsolution -name mySolution.wsp -immediate
stsadm -o execadmsvcjobs
stsadm -o deletesolution -name mySolution.wsp -override
stsadm -o execadmsvcjobs

Key classes in the SharePoint object model

Document Libraries (Microsoft.Sharepoint)
SPDocumentLibrary
SPPictureLibrary

Features (Microsoft.Sharepoint)
SPFeatureDefinition
SPElementDefinition
SPFeatureProperty
SPFeatureScope
SPFeature

Sites (Microsoft.SharePoint)
SPSite
SPSiteCollection
SPSiteAdministration
SPWeb

Business Data Catalog (Microsoft.Office.Server.ApplicationRegistry.Administration)
EntityCollection
ApplicationRegistry

Meetings (Microsoft.SharePoint.Meetings)
SPMeeting
MtgUtility

Solutions (Microsoft.SharePoint.Administration)
SPSolution
SPFeatureReceiver
SPSolutionCollection

Lists (Microsoft.SharePoint)
SPList
SPListItem
SPListItemCollection

User Profiles (Microsoft.Office.Server.UserProfiles)
UserProfile
UserProfileManager
 
Sell my car, Used car for sale, Free Automotive Classifieds