Search code examples
sharepointsolutionstsadmfeature-upgrade

Proper stsadm commands to update SharePoint Solution/Feature


What are the proper stsadm commands in sequence to force an upgrade to a SharePoint solution. I have tried

C:>"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o deploysolution -name "MySolution.wsp" -immediate -allcontenturls -allowGacDeployment -allowCasPolicies -force

followed by

C:>"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o execadmsvcjobs

It seems to deploy and shows the solution as having a deployment time of when I push these commands but my files don't appear to get updated and new files don't appear.

Am I missing something? Do I need to do an IISReset /noforce after processing these commands.

Thanks, Josh Lewis


Solution

  • The proper way is to use the -o upgradesolution command. In most cases there is no need to retract and delete the solution and reinstall it. Be sure and follow it up with an -o execadmsvcjobs as usual.