/build/static/layout/Breadcrumb_cap_w.png

Removing App-V 5 Packages that have context menus.

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?

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: Badger 9 years ago
Red Belt
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.

 


Comments:
  • 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? - idoru78 9 years ago
    • 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 - Badger 9 years ago
      • Thanks again. - idoru78 9 years ago
Posted by: anonymous_9363 9 years ago
Red Belt
-1
AppV 5 Service Pack number......? You'll need at least SP2 for context menus/shell extensions.

Comments:
  • We are on SP2 - idoru78 9 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ