install.bat for WSP Template files::Created by Vaibhav :START@ECHO OFFSET /P INPUT="Please enter the name of the .wsp file you want to deploy: "ECHO.ECHO Starting deployment of %INPUT%:CHOICESET /P CHOICE="Are you sure you want to continue? (Y or N): "if %CHOICE%==Y goto YESif %CHOICE%==y goto YESif %CHOICE%==N goto NOif %CHOICE%==n goto NOECHO %CHOICE% is not recognized. Please re-enter your answer.goto CHOICE:YESECHO Adding the Solution.stsadm -o addsolution -filename %INPUT%ECHO Executing service jobs.stsadm -o execadmsvcjobsECHO Deploying the Solution.stsadm -o deploysolution -name %INPUT% -immediate -allowGacDeployment -allowCasPoliciesECHO Final Execution processing.stsadm -o execadmsvcjobsGOTO END:NOEXIT:ENDECHO All Done!:MORESET /P MORE="Want to install another solution? (Y or N): "if %MORE%==Y goto STARTif %MORE%==y goto STARTif %MORE%==N goto NOif %MORE%==n goto NOECHO %CHOICE% is not recognized. Please re-enter your answer.goto MORE
Posted by Vaibhav Jain (Success is always one step ahead)