Commands to Deactivate, Uninstall, Install and Activate Features in SharePoint (MOSS)
I created a batch file that every time I have to update my particular feature, it eases the job.
One can create such file to speed up the development process:
My Installfeature.bat contents look like this:
set folderpath = "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\"
%folderpath%BIN\stsadm -o deactivatefeature -name MyProject -url http://test.mysharepintsite.com
%folderpath%BIN\stsadm -o uninstallfeature -name MyProject
%folderpath%BIN\stsadm -o installfeature -name MyProject
%folderpath%BIN\stsadm -o activatefeature -name MyProject -url http://test.mysharepintsite.com
iisapp.vbs /a "DefaultAppPool" /r
Comments
Post a Comment
Feel free to give constructive feedback or let me know if it was helpful.