Installing the App-V 5.0 Client and configuring it with a Publishing Server

Share on facebook
Share on twitter
Share on linkedin
Share on reddit
Share on stumbleupon

Hello People, just a quick reference on how to setup the App-V client and quickly configure it to talk to a Publishing Server

First of all the hardware and software requirements:

Hardware Requirements

Processor— 1 GHz or faster 32-bit (x86) or 64-bit (x64) processor

RAM— 1 GB (32-bit) or 2 GB (64-bit)

Disk— 100 MB for installation (not including the disk space utilized by virtualized applications)

Software Requirements

Microsoft Windows 7 (32-bit and 64-bit versions) or Windows 8

Microsoft .NET 4 Framework (Full)

Windows PowerShell 3.0

Microsoft KB2533623

The setup.exe will install the following if not already present:

The Microsoft Visual C++ 2005 SP1 Redistributable

The Microsoft Visual C++ 2008 Redistributable.

The Microsoft Visual C++ 2010 Redistributable.

The installation itself is very simple and it will not prompt you for any configuration items. After accepting the license terms and choosing whether to join the improvement program, the client will go ahead and install.

Installation

Now to register a Publishing Server

Once installed we need to configure the client to get updates from a publishing server for updates, we can do this via PowerShell.  Firstly import the App-V Client PowerShell module:

Then to register the publishing server:

Then we can carry out an initial sync to test connectivity:

This command will check in with the publishing server to check the current entitlements against what has been configured on the management server.

Powershell

You may notice a few more configurations relating to the publishing server above, these can also be set either at install using the relevant switches against the installer or can be set via PowerShell after install, the ones I want to call out are related to the user refresh:

UserRefreshEnabled Values:  (0/1) Enables a publishing refresh for the user

UserRefreshOnLogon Values: (0/1) Specifies whether or not a user refresh should be initiated at user logon

UserRefreshInterval Values: (0-744) Specifies the frequency of the refresh with the publishing server, can be in days or hours as below

UserRefreshIntervalUnit Values: (Hours(0) or Days (1)) Specifies the unit for the UserRefreshInterval setting

services banner1

Leave a Reply.

23 thoughts on “Installing the App-V 5.0 Client and configuring it with a Publishing Server”

  1. Good blog, just what i was looking for. You might want to add that before importing the appvlient module you need to enable running scripts with “Set-ExecutionPolicy RemoteSigned”. SP1 for App-V 5 has been released but the new setup based on SP1 has the same steps as listed above so you can also add that it Applies to App-V 5.0 SP1.

    • Good shout Danny and useful info.I tend to avoid adding the remote-signed stuff into the blogs so I don’t need to repeat myself in every post that contains PowerShell but definitely worth note for those who aren’t familiar with it!

  2. It seems when using a publishing server the applications are not published globally to all users. Can the client obtain that configuration setting from the publishing server or does one need to modify each package at the client level?

  3. Hi Thamim,

    I am really struggling answer for this Question..

    1. How can I use the XML files [Deployment Config and User Config] of App-v 5.0 packages, If I install the package only through MSI. Is there any command line options to pass these XML files along with MSI or how it will be handled. Thanks

    • Hi,

      There isn’t a switch. You have to understand the .msi is simply a wrapper for the PowerShell commands that adds your package in via standalone mode. The .msi isn’t really designed for mass deployment, rather offers an option for unmanaged end users. If you do need to use the .msi then simply run the relevant PowerShell afterwards to specify the .xml. Does that help?

        • Hi Arokiyaraj M,

          For the deployment configuration xml please use: Add-AppvClientPackage C:\pathto.appv -DynamicDeploymentConfiguration C:\pathtoxml

          For the user configuration xml please use: Publish-AppvClientPackage C:\pathto.appv -DynamicUserConfigurationPath C:\pathtoxml

          Hope that helps

  4. Dear Thamim,

    Thank you for keep blogging on App-V.

    I have been using the product since 4.5 version, I like this product.

    I have an issue with App-V 5 SP1.

    I have 3 virtual machines as the following:

    – App-V Management Server (2012 R2) + IIS 8.5

    – App-V SQL Server 2012 SP1

    – App-V Publishing Server (2012 R2) + IIS 8.5

    I deleted the Default Website from the IIS and I am using Port 80 for the management, 81 for reporting and 82 for publishing server.

    The Publishing Server is installed on a separate Server.

    I can see all my published application in the App-V management Web.

    I have registered the App-V Publishing server under Servers TAB in the management Web as well.

    I noticed many events errors logged in the Publishing Server, Events ID: 214 & 215

    – Event ID214 @ The request URL doesn’t contain the query string for the client version.

    – Event ID215 @ The request URL doesn’t contain the query string for the client OS.

    If I browsed the Publishing Server URL, I can see all my published applications:

    However, on the client side, the Error Log ID: 19104 is logged

    Part or all packages publish failed.

    published: 2

    failed: 1

    Please check the error events of ‘Configure/Publish Package’ before this message for the details of the failure.

    How can this be solved please?

    Your support is highly appreciated.

    Thank you.

    • CHAROX,

      There should be a related event further down in the event log which will refer to the issue more specifically.Can you try and publish the application that is causing the issue using standalone mode (as detailed here: blogs.technet.com/…/app-v-5-0-standalone-mode-adding-and-publishing-a-package.aspx)? Does that also error?

      • Thank you dear Tamim for your kind reply,

        I tried to publish the application that is causing the issue using Standalone mode but I am not getting any output (Office 365 and Office 2010 x86).

        After I ran below PowerShell cmdlet… the PO is not returning any result (Still in waiting mode). However, I published other packages without any issue.

        PC C:\Add-AppvClientPackage -Path “C:\Packages\O365ProPlusRetail_en-us_x86.appv” -DynamicDeploymentConfiguration “C:\Packages\O365ProPlusRetail_en-us_x86_DeploymentConfig.xml” | Publish-AppvClientPackage -Global

        No Error logs in the event viewer on the client side.

        Client OS: Win 7 Pro X86 with SP1

        Sequencer: Win 7 Pro X86 with SP1

        I am having an issue with Office in general.

        Your support is highly appreciated.

        Thank you and regards,

        • Dear Tamim,

          I am running Windows Power Shell V4.0, is App-V 5 SP1 client supports Power Shell 4.0 yet?

          I tired the same packages on a client with POS 3.0 without any issue! Weird….

          Please advise.

          Thank you.

  5. Hi All,
    I am entire new to Application Virtualization.
    I have lot of questions in mind.
    1). Application Virtualization where we install either server/client system.
    2).Installation is done how to connect the APP V?

    Please let me know.

    Best Regards,
    Ramesh

  6. Thamin I am getting error 102 & 203 when I do

    Sync-AppvPublishingServer -ServerId 1

    in my event log (can’t connect to server).However if I browse to the App-V publisher in the same context or click on the link in the event log I can see the xml for the publisher and my sample package so confused but probably making a basic error somewhere

    I can also browse to file share with the user context I am using.
    Thanks in advance
    Andrew

  7. Could you please guide the best practise to setup the app-v servers (publishing server, management server and reporting server). Do I need to install all these 3 components on the same server or else do I need to go with the 3 individual servers to do the install ?. Thanks in advance.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.