用于更新 SharePoint 解决方案/功能的正确 stsadm 命令 [英] Proper stsadm commands to update SharePoint Solution/Feature
问题描述
按顺序强制升级到 SharePoint 解决方案的正确 stsadm 命令是什么.我试过了
What are the proper stsadm commands in sequence to force an upgrade to a SharePoint solution. I have tried
C:>"C:\Program Files\Common文件\微软共享\网络服务器扩展\12\BIN\stsadm.exe" -odeploysolution -name "MySolution.wsp"-立即 -allcontenturls -allowGacDeployment -allowCasPolicies -force
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
关注
C:>"C:\Program Files\Common文件\微软共享\网络服务器扩展\12\BIN\stsadm.exe" -oexecadmsvcjobs
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.
我错过了什么吗?处理这些命令后,我是否需要执行 IISReset/noforce.
Am I missing something? Do I need to do an IISReset /noforce after processing these commands.
谢谢,乔什·刘易斯
推荐答案
正确的方法是使用 -o upgradesolution 命令.在大多数情况下,无需撤回并删除解决方案并重新安装.请务必像往常一样使用 -o execadmsvcjobs 进行跟进.
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.
这篇关于用于更新 SharePoint 解决方案/功能的正确 stsadm 命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!