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