@echo Thanks for using the SharePoint Ajax Toolkit!

@set PATH=%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN;%PATH%

stsadm -o deactivatefeature -name SharePointAjax -url http://localhost

stsadm -o retractsolution -name SharePointAjax.wsp -immediate -allcontenturls
stsadm -o execadmsvcjobs
stsadm -o deletesolution -name SharePointAjax.wsp -override
stsadm -o execadmsvcjobs

stsadm -o addsolution -filename SharePointAjax.wsp
stsadm -o execadmsvcjobs

stsadm -o deploysolution -name SharePointAjax.wsp -immediate -allcontenturls -allowGacDeployment -allowCasPolicies
stsadm -o execadmsvcjobs

stsadm -o activatefeature -name SharePointAjax -url http://localhost

Last edited Jan 24, 2007 at 9:05 PM by daniellarson, version 6

Comments

ErikBo Jul 4, 2010 at 11:07 AM 
hmm - this will not work for SP2010

reminvestor Jan 24, 2007 at 10:35 PM 
Does this need to be run in a batch file?

daniellarson Jan 24, 2007 at 9:04 PM 
Thanks for the tip, Tony!

TonyBierman Jan 17, 2007 at 11:43 PM 
Probably just picky, but maybe line 1 should be:

@set PATH=%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN;%PATH%