Including Diagnostic Tools in an App-V Package

AdminStudio 2023 | 25.0 | Microsoft App-V Assistant

Version:The diagnostic tools are available for App-V 4.x packages. Starting with App-V 5.x, it is no longer necessary to inject diagnostic tool shortcuts directly into the package. The App-V Launcher tool is capable of launching a Command Prompt window within the virtual environment of an App-V 5.x package.

The Microsoft App-V Assistant lets you specify whether you want to include the Registry Editor and Windows Command Prompt diagnostic tools with your App-V package.

If you include diagnostic tools with your App-V package, you will be able to look at the registry or file system for the application while it is running in its virtual environment. For example, if you were running an App-V package and got an error message stating that the application cannot load a DLL, you could use these diagnostic tools to troubleshoot the problem.

To include diagnostic tools with an App-V package:

1. In the Microsoft App-V Assistant, open the Package Information page.
2. In the More Options area, click Diagnostic Tools. The Diagnostic Tools dialog box opens.
3. If you want to include the Registry Editor with your App-V package so that you can use Regedit.exe on the local machine and have access to the virtual environment, select the Registry Diagnostics option.

If the Registry Diagnostics option is selected, a file named Virtual Registry.osd will be created in the App-V Package folder, which can be used to display the registry within the virtual environment.

4. If you want to include the Windows Command Prompt application with your App-V package so that you can use Cmd.exe on the local machine and have access to the virtual environment, select the File System Diagnostics option.

If the File System Diagnostics option is selected, a file named Virtual File System.osd will be created in the App-V Package folder, which can be used to display the files and folders within the virtual environment.

5. Click OK.

Launching the Diagnostic Tools Within the Virtual Environment

If you selected the Registry Diagnostics or File System Diagnostics options on the Diagnostic Tools dialog box, shortcuts to those tools are automatically added to the App-V package.

When an end user runs this App-V package, two additional shortcuts will be available in the application’s shortcut folder: The names of these shortcuts will reflect the application name, such as:

[ProductName] Registry
[ProductName] File System

When an end user launches one of these shortcuts, that diagnostic tool is launched inside the context of the application’s virtual environment.

See Also