To Make this easy if you don’t like it complicated run follwing command under Elevated permission (Guess Local Admin) on the client:
Clear all applications from the APPV Cache
sftmime.exe remove obj:app /global /complete
SFTMIME DELETE OBJ:APP /GLOBAL
https://technet.microsoft.com/en-us/library/cc817205.aspx
If you want to know more:
- If you do as you not should and make the same package under the same name and have to integrate UNDER the same path APPV does not like that. Here is way to delete the package.
- The does not include or use the Update feature. You get the “vlc.001” from external or Affiliate in a new version and it has the same directory name as your old version.
Good
Old: Vlc.001
New: Vlc.002
Bad
Old: vlc.001
New: vlc.001 (Different Binaries)
- Note/mark down the GUID from the old package you remove (DAD9A7A7-2BAF-4934-A704-A075286F3F66)
- Delete the package from “Apllications” or however you root is called
- Delete the package from “Packages”
- Backup the Directory from content to save place
- Delete the specific Directory
- Copy over the new vlc.001 to content
- Import in Console as normal
- On the client run following script with the correct GUID of the OLD! package
This kills the APPV client on the cache and all APPV packages that the user uis currenly using close!
net stop sftlist
net stop “Application Virtualization Client”
net stop “Application Virtualization Service Agent”
del “C:\ProgramData\Microsoft\Application Virtualization Client\SoftGrid Client\OSD Cache\DAD9A7A7-2BAF-4934-A704-A075286F3F66.osd” /Q /F
net start sftlist
net start “Application Virtualization Client”
net start “Application Virtualization Service Agent”
************************************************************************************************
List all Aplications that the client has:
SFTMIME QUERY OBJ:PACKAGE
https://technet.microsoft.com/en-us/library/cc843749.aspx
Clear single Appliation from the cache (Needs Administrator rights)
1) SFTMIME UNLOAD APP:”VLC”
2) SFTMIME REMOVE APP:”VLC” /COMPLETE
3) SFTMIME REFRESH SERVER:YOURAPPSERVERHERE
4) SFTMIME LOAD APP:”VLC”
if Exist “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.com” “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.EXE” UNLOAD APP:”VLC”
if Exist “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.com” “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.EXE” UNLOAD APP:”VLC”
if Exist “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.com” “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.EXE” REMOVE APP:”VLC” /COMPLETE
if Exist “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.com” “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.EXE” REMOVE APP:”VLC” /COMPLETE
if Exist “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.com” “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.exe” REFRESH SERVER:GVXAPP
if Exist “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.com” “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.exe” REFRESH SERVER:YOURAPPSERVERHERE
if Exist “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.com” “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.EXE” LOAD APP:”VLC”
if Exist “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.com” “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.EXE” LOAD APP:”VLC”
There may be a problem if the user still has the package OPEN or there are parts of it open (Child process). In that case the only solution we know is to kill the APPV client like mentioned on top above (Sample batch).
************************************************************************************************
Clear all applications from the APPV Cache
sftmime.exe remove obj:app /global /complete
SFTMIME DELETE OBJ:APP /GLOBAL
https://technet.microsoft.com/en-us/library/cc817205.aspx
************************************************************************************************
Further reading:
http://blogs.msdn.com/b/chinmay_palei/archive/2012/05/14/appv-troubleshooting-demysitfied.aspx
http://blogs.technet.com/b/appv/archive/2007/11/14/softgrid-operations-guide-part-2.aspx
http://esense.be/33/tag/sftmime/