Posts

Showing posts with the label registry

Right Click and Publish App-V Package along with Dynamic Configuration File - Context Menu Shortcut

Image
In my previous blog I had posted about a simple registry tweak to publish packages globally/User by just right clicking and selecting the option. But in that method, it will not use the dynamic configuration file. And so I have covered how to do that in this blog. copy the below code in notepad and save it in .reg format. After saving, double click on it and register the keys. Windows Registry Editor Version 5.00 [ HKEY_CLASSES_ROOT \.appv] @ = "appvex" [ HKEY_CLASSES_ROOT \appvex] [ HKEY_CLASSES_ROOT \appvex\shell] [ HKEY_CLASSES_ROOT \appvex\shell\Publish Globally] @ = "&Publish Globally" [ HKEY_CLASSES_ROOT \appvex\shell\Publish Globally\command] @ = "cmd /c start /b /wait powershell.exe -nologo -ExecutionPolicy bypass -file \"c:\\Publish globally.ps1\" \"%1\"" [ HKEY_CLASSES_ROOT \appvex\shell\Publish to User] @ = "Publish to &User" [ HKEY_CLASSES_ROOT \appvex\shell\Publish to User\command] @ = "cmd /c start /...

Right-Click and Publish AppV packages using ContextMenu Shortcut - A simple registry hack

Image
I always wanted a simple trick to install the App-V virtual packages in a single click without any need to open powershell and type commands in a standalone machine. I have worked on many software's and  used to see some of them provide context menu shortcut (notepad++, winzip etc..) So I had an idea to create a simple registry tweak to publish the virtual packages either globally or to a user by just right clicking a .appv file using context menu option. Copy the below code and save it in a notepad with .reg extension. Double click and register it. Windows Registry Editor Version 5.00 [ HKEY_CLASSES_ROOT \.appv] @ = "appvex" [ HKEY_CLASSES_ROOT \appvex] [ HKEY_CLASSES_ROOT \appvex\shell] [ HKEY_CLASSES_ROOT \appvex\shell\Publish Globally] @ = "&Publish Globally" [ HKEY_CLASSES_ROOT \appvex\shell\Publish Globally\command] @ = "cmd /c start /b /wait powershell.exe -nologo -ExecutionPolicy bypass -command \"& {add-appvclientpackage '%1' ...

Application in use & Unpublish - App-V 5.1

Image
Question : What happens when we unpublish an application that is in use in App-V 5.1? We see that the unpublish is getting failed, but when we launch the shortcut, it doesn't work.What is the issue? Answer : Lets take an example by publishing the Mozilla Firefox App-V 5.0 package in a standalone machine using Powershell. Launched the shortcut and everything works fine. Now tried to unpublish by keeping mozilla firefox open(in-use).We are seeing the below "Currently in use" error. We can see that the unpublishing has failed. Nothing has changed to the mozilla application. Shortcuts are seen in the Start menu etc. But when we try to launch the shortcut, we see this error. When analyzed more by checking in event viewer, we see the below entry. The package has been scheduled to be unpublished during restart/reboot. How this works? The App-V client creates an entry in pendingtasks registry for the particular application with its ProductGUID_VersionGUID. REASON:  With App-V 5...

Disable file transfer in Microsoft Skype 7.3.0 - MSI

Image
After installing Skype, users can send files to different network by right clicking on file and selecting Skype to send context menu. In order to prevent file transfer through skype, add the following registry HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Skype\Phone add a dword "DisableFileTransfer" with value 1

Skype - Disable File Transfer

To disable file transfer through Skype, you need to create this entry in registry HKLM\Software\Policies\Skype\Phone Create a Dword  DisableFileTransfer with a value 1 You can change HKLM (local machine) to HKCU to disable file transfer for current user only. Don't forget to restart Skype after applying changes to registry.

How to turn on hidden Primary virtual application directory (PVAD) in APP-V SP3

As we all are aware that the primary virtual application directory (PVAD) is hidden in App-V 5.0 SP3, but there is an option to turn it back on and make it visible during the sequencing phase. Option 1: open the sequencer.exe with the parameter –EnablePVADControl in command prompt.                             Option 2: In the Registry Editor, go to:                     HKLM\SOFTWARE\Microsoft\AppV\Sequencer\Compatibility     If the Compatability subkey doesn’t exist, we must create it.Then Create a DWORD Value named EnablePVADControl, and set the value to 1. A value  0 means that PVAD is hidden.