I referred to couple of posts to help you install WSS v3 application templates. If you followed those instructions to a tee, then you would have been successful in installing the application templates. However, installing 20 or 40 templates using that method made me cranky
Why not install all of them using a script? Well here it is (idea originated from Dustin Miller) which I used to first add the templates and then deploy them.
Note: Make sure Windows SharePoint Services Administration service is running.
Just include this in your script if you want
net start spadmin
Now extract all you Application Templates in a folder. For example c:wssv3WSS_Server_Admin_Templates
Create a batch file with this code (Place this in the same folder where you have the templates)
for %%f in (*.wsp) do “C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BINstsadm.exe” -o addsolution -filename %%f
Create another batch file with this code (Place this in the same folder where you have the templates)
for %%f in (*.wsp) do “C:Program FilesCommon FilesMicrosoft Sharedweb server extensions12BINstsadm.exe” -o deploysolution -allowgacdeployment -immediate -name %%f
I have added stop command for Windows SharePoint Services Administration service and also a pause. Just in case you want to see, if everything went well. Don’t worry. If there was any issue, you would see when the batch file is processing. Basically the deploy solution takes some time.