SharePoint 2010 部署WSP包命令
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o addsolution -filename "TestWCF.wsp"
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o retractsolution -name "TestWCF.wsp" -immediate -allcontenturls
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o execadmsvcjobs
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o deletesolution -name "TestWCF.wsp"
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o execadmsvcjobs
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o addsolution -filename "TestWCF.wsp"
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o execadmsvcjobs
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o deploysolution -name "TestWCF.wsp" -immediate -allcontenturls -allowGacDeployment -allowCasPolicies -force
"C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o execadmsvcjobs