App-V 服务器上的Package已经更新了,但是,终端上的缓存一直没有改变,重新启动也没有用。
以下的cmd文件可以手工更新
sftmime.exe remove obj:app /global /complete
sftmime.exe refresh Server:<servername>
sfttray.exe /refreshall
sftmime 的命令行格式:
SFTMIME [/? | /HELP]
SFTMIME verb object [parameters] [/LOG log-pathname | /CONSOLE | /GUI]
/?, /HELP Display usage information.
verb Command to run, like add, refresh or help.
object What the command applies to, like
APP:"Default Application".
parameters Optional parameters for the specified verb and object.
/LOG Log output to the specified path name.
/CONSOLE Display output in the active console window (default).
/GUI Display errors in a popup dialog (not valid
for queries).
The following verbs are supported:
ADD
CONFIGURE
REPAIR
QUERY
PUBLISH
LOAD
UNLOAD
REFRESH
CLEAR
DELETE
LOCK
UNLOCK
UNPUBLISH
For more information on these actions, use the following command:
SFTMIME /HELP VERB:verb
For example, the following command will display information for the ADD verb:
SFTMIME /HELP VERB:ADD
有趣的是找不到 verb (Remove),也找不到 /global /Complete 开关