For Redeployments If the soltution has been deployed in the past, it will need to be retracted before it can be deployed again. Follow these steps before the deployment.
stsadm -o deactivatefeature -name SolutionName -url http://serverDeploying the Solution For new deployments (or redeployments after retracting the solution), follow these steps.
stsadm -o retractsolution -name SolutionName.wsp -immediate -url http://server
stsadm -o execadmsvcjobs
stsadm -o deletesolution -name SolutionName.wsp
stsadm -o addsolution -filename SolutionName.wspPlease note: Some commands (such as execadmsvcjobs or activatefeature) may take longer than others to complete.
stsadm -o deploysolution -name SolutionName.wsp -allowgacdeployment -immediate -url http://server
stsadm -o execadmsvcjobs
stsadm -o activatefeature -name SolutionName -url http://server
No comments:
Post a Comment