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

Popular posts from this blog

Unable to delete Shared Services Provider in SharePoint (MOSS)

Cannot add a SimpleContent column to a table containing element columns or nested relations

Future of Hard-Disk Drives?