STSADM command to add/deploy solutions to the server
STSADM is a command line tool provided by SharePoint to deploy, install and uninstall the features with a SharePoint Farm.
To run the stsadm command the user needs to be part of the user group "WSS_ADMIN_WPG" and also to the administrator group. The executable file is location in the "bin" folder.
Once the solution is ready for deploying in the server, one needs to run the following commands in the server:
To run the stsadm command the user needs to be part of the user group "WSS_ADMIN_WPG" and also to the administrator group. The executable file is location in the "bin" folder.
Once the solution is ready for deploying in the server, one needs to run the following commands in the server:
- Adding the Solution: stsadm -o addsolution -filename C:\MHM.MainEmpDirListingCode.wsp
- Deploying the Solution: stsadm -o deploysolution -name MHM.MainEmpDirListingCode.wsp -url http://172.16.20.150:1975 -allowGacDeployment -immediate
- Retracting the Solution: stsadm -o retractsolution -name MHM.MainEmpDirListingCode.wsp -allcontenturls -immediate
- Removing the Solution: stsadm -o deletesolution -name MHM.MainEmpDirListingCode.wsp -override
Comments
Post a Comment