Manually adding App-V application to cache through command line

When I’m troubleshooting an App-V application one of the first things I check is whether the application is loading and running on that particular client. To rule out distribution issues I find myself more than often adding the application manually to the client cache. If you don’t have the ability of supporting tools like my own “ACDC” you have to know that this can easily be done through command line as well. In fact this is basically what ACDC is doing for you.

Keep in mind that you must have set the client to “Standalone Mode”, as decribed here

HKLM\SOFTWARE\Microsoft\Softgrid\4.5\Client

· Configuration\RequireAuthorizationIfCached = 0

· Configuration\AllowIndependentFileStreaming = 0

I’ll show you how to do this is in 6 easy steps with a sequenced version of Microsoft Office Live Meeting 2007

Step 1. Copy the binaries to the local machine in a temporary folder (i.e. C:\Temp)

image

Step 2. Open the command line as an Administrator (right click while pressing SHIFT)

image

Step 3. Browse to the temporary location and type “notepad [the name of any osd file in the sequence]”

image

Step 4. In notepad copy the [Package Name] to the clipboard and close notepad.

image

Step 5. On the command line type “sftmime add package:”[paste your clipboard]” /manifest [name of the manifest file]”

tip: press the [Tab] or SHIFT + [TAB] key after /manifest to locate the correct file.

image

Shortcuts and File associations should appear on your machine now.

Step 6: On the command line press up to bring back the previous command line. Alter the command line to “sftmime load package:”[Package Name]” /sftpath [name of the sft file]

image

That’s it the package is now made locally available.