Hi, 

I have created a package for Beyond Compare 4 which includes right click context menus. When I try to remove the package from a system it fails as the context menu isholding the package open due to it's hook into explorer. The only way to then remove the package seems to be to use the Stop-AppvClient command however this results in explorer restarting too which is really not ideal. 

Am I missing something? Is there an easier way to remove packages that have context menus?
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1

what you have is NOT a context menu, its a shell extension.

Which appears when you right click. in the context menu option.

What App-V v5 has done for you, is extract the Reg keys for the ShellExtension, and added them to the physical machine during the add / publish stuff.

So it is exactly as you are seeing, it has added physical keys to the reg, they are now being used by Explorer which is why you are having issues removing the app because it is, as the error implies, in use.

 

Answered 03/20/2015 by: Badger
Red Belt

  • Thanks for your response. I assume in this case then that there are no other options but to stop and restart explorer when removing the package? And MSI with similar function doesn't restart explorer on uninstall does it?
    • yup. pretty much. The MSI interacts with the Explorer a bit better, the work around for App-V shellExtensions is not really native, hence the need for an explorer restart
Please log in to comment

Answers

-1
AppV 5 Service Pack number......? You'll need at least SP2 for context menus/shell extensions.
Answered 03/18/2015 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share