Professional Documents
Culture Documents
com
App-V
http://docs.citrix.com/content/docs/en-us/xenapp-and-xendesktop/7-8/install-configure/appv.html
Feb. 24, 2016
citrix.com
App-V
In this article:
VDA
Management server. Provides a centralized console to manage App-V infrastructure and delivers virtual
applications to both the App-V Desktop Client as well as a Remote Desktop Services Client. The App-V
management server authenticates, requests, and provides the security, metering, monitoring, and data
gathering required by the administrator. The server uses Active Directory and supporting tools to manage
users and applications.
Publishing server. Provides App-V clients with applications for specific users, and hosts the virtual
application package for streaming. It fetches the packages from the management server.
Client. Retrieves virtual applications, publishes the applications on the client, and automatically sets up and
manages virtual environments at runtime on Windows devices. You install the App-V client on the VDA,
where it stores user-specific virtual application settings such as registry and file changes in each user's
profile.
citrix.com
Applications are available seamlessly without any pre-configuration or changes to operating system settings. You can
launch App-V applications from Server OS and Desktop OS Delivery Groups:
Management methods
You can use App-V packages created with the App-V sequencer and then located on either App-V servers or network
shares.
App-V servers: Using applications from packages on App-V servers requires ongoing communication
between Studio and the App-V servers for discovery, configuration, and downloading to the VDAs. This
incurs hardware, infrastructure, and administration overhead. Studio and the App-V servers must remain
synchronized, particularly for user permissions.
This is called the dual admin management method because App-V package and application access requires
both Studio and the App-V server consoles. This method works best in closely coupled App-V and Citrix
deployments.
Network share: Packages placed on a network share removes Studio's dependence on the App-V server
and database infrastructure, thereby lowering overhead. (You still need to install the Microsoft App-V client
on each VDA.)
This is called the single admin management method because App-V package and application use requires only
the Studio console. You browse to the network share and add one or more App-V packages from that location to
the Site-level Application Library.
Application Library is a Citrix term for a caching repository that stores information about App-V packages. The
Application Library also stores information about other Citrix application delivery technologies.
You can use one or both management methods simultaneously. In other words, when you add applications to Delivery
Groups, the applications can come from App-V packages located on App-V servers and/or on a network share.
When you select Configuration > App-V Publishing in the Studio navigation pane, the display shows App-V package
names and sources. The source column indicates whether the packages are located on the App-V server or cached in
the Application Library. When you select a package, the details pane lists the applications in the package.
Setup
The following table summarizes the sequence of setup tasks for using App-V in XenApp and XenDesktop.
Management method
Task
Single admin
Dual admin
Deploy App-V
citrix.com
For single admin management, make the packages available on a UNC or SMB shared network location.
Make sure that the Studio administrator who adds applications to Delivery Groups has at least read access
to that location.
For dual admin management, publish the packages on the App-V management server.
Regardless of whether packages are on the App-V server or on a network share, make sure the packages have
appropriate security permissions to allow the Studio administrator to access them.
Machines containing VDAs must have two sets of software installed to support App-V: one from Microsoft and the other
from Citrix.
Microsoft App-V client
This software retrieves virtual applications, publishes the applications on the client, and automatically sets up
and manages virtual environments at runtime on Windows devices. The App-V client stores user-specific virtual
application settings, such as registry and file changes in each user's profile.
The App-V client is available from Microsoft. Install a client on each machine containing a VDA, or on the master
image that is used in a Machine Catalog to create VMs.
Tip: After you install the App-V client, with Administrator permissions, run the PowerShell GetAppvClientConfiguration cmdlet, and make sure that EnablePackageScripts is set to 1. If it is not set to 1, run
Set-AppvClientConfiguration -EnablePackageScripts $true.
Citrix App-V components
The Citrix App-V component software is installed and enabled by default when you install a VDA; that process
also creates an account with local administrator permissions for accessing the App-V publishing components.
You can control this default action during VDA installation. In the graphical interface, clear the Install App-V
publishing components check box on the Features page. In the command line interface, include the /no_appv
option.
If you expressly disable the Citrix App-V components feature during VDA installation, but later want to use App-V
applications: In the Windows machine's Programs and Features list, right-click the Citrix Virtual Delivery Agent
entry and then select Change. A wizard launches. In the wizard, enable the option that installs and enables AppV publishing components.
If you change an App-V application's properties when adding them to a Delivery Group, the changes are
made when the application is started. For example, if you modify an application's display name or icon when
adding it to the group, the change appears when a user starts the application.
If you later edit a Delivery Group containing App-V applications, there is no change in App-V application
performance if you change the group's delivery type from "desktops and applications" to "applications only."
Troubleshoot
Issues that can occur only when using the dual admin method are marked "(DUAL)".
(DUAL) The "Test connection" operation returns an error when you specify App-V server addresses in Studio.
Is the App-V server powered on? Either send a Ping command or check the IIS Manager; each App-V
server should be in a Started and Running state.
Is PowerShell remoting enabled on the App-V server? If not, see http://technet.microsoft.com/enus/magazine/ff700227.aspx.
Is the Studio administrator also an App-V server administrator?
Is file sharing enabled on the App-V server? Enter \\<App-V server FQDN> in Windows Explorer or with the
Run command.
Does the App-V server have the same file sharing permissions as the App-V administrator? On the App-V
server, add an entry for\\<App-V Server FQDN> in Stored User Names and Passwords, specifying the
credentials of the user who has administrator privileges on the App-V server. For guidance, see http:
//support.microsoft.com/kb/306541.
Is the App-V server in Active Directory?
If the Studio machine and the App-V server are in different Active Directory domains that do not have a trust
relationship, from the PowerShell console on the Studio machine, run winrm s winrm/Config/client @
(TrustedHosts=<App-V server FQDN>).
If TrustedHosts is managed by GPO, the following error message will display: The config setting
TrustedHosts cannot be changed because use is controlled by policies. The policy would need to be set to
Not Configured in order to change the config setting. In this case, add an entry for the App-V server name
to the TrustedHosts policy in GPO (Administrative Templates > Windows Components > Windows Remote
Management (WinRM) > WinRM Client).
(DUAL) Discovery fails when adding an App-V application to a Delivery Group.
Do packages have the appropriate security permissions for the Studio administrator to access?
App-V applications do not launch.
Logs
App-V configuration-related logs are located at C:\CtxAppvLogs. The application launch logs are located at: %
LOCALAPPDATA%\Citrix\CtxAppvLogs. LOCALAPPDATA resolves to the local folder for the logged-on user. Make
sure to check in the local folder of the user for whom application launch failed.
To enable Studio and VDA logs used for App-V, you must have administrator privileges. You will also need a text editor
such as Notepad.
To enable Studio logs:
1. Create the folder C:\CtxAppvLogs.
2. Go to C:\ProgramFiles\Citrix\StudioAppVIntegration\SnapIn\Citrix.Appv.Admin.V1. Open CtxAppvCommon.dll.config
in a text editor and uncomment the line: <add key =LogFileName value=C:\CtxAppvLogs\log.txt/>
3. Restart the Broker service to start logging.
To enable VDA logs:
1. Create the folder C:\CtxAppvLogs.
2. Go to C:\ProgramFiles\Citrix\ Virtual Desktop Agent. Open CtxAppvCommon.dll.config in a text editor and uncomment
the following line: <add key =LogFileName value=C:\CtxAppvLogs\log.txt/>
3. Uncomment the line and set the value field to 1: <add key =EnableLauncherLogs value=1/>
4. Restart the machine to start logging.
citrix.com
citrix.com