Thursday, 13 January 2011

SharePoint package deployment using STSADM

Just, so I don't need to check stsadm doc over and over again:
stsadm -o retractsolution -name MySolutionFile.wsp -immediate -allcontenturls
stsadm -o deletesolution -name MySolutionFile.wsp -override
stsadm -o addsolution -filename MySolutionFile.wsp
stsadm -o deploysolution -name MySolutionFile.wsp -url http://myserver -immediate -allowgacdeployment

No comments:

Post a Comment