locked
Using App-V 5.0 with Citrix Provisioning Services 6.1 RRS feed

  • Question

  • I'm currently trying to figure out, what is the best practice to deploy App-V 5.0 (SP2) packages via SCCM 2012 R2 to a Citrix PVS System.

    Currently we deploy all our App-V 4.6 SP2 Packages as Device Deployment to the PVS Systems for the reason that all packages are available when a users logs in.

    We then assign the Start menu shortcuts for the Users permitted App-V Applications via GPO Preferences. But technically the user could start all app-V Applications.

    Now with App-V 5.0 i can't really use this procedere anymore becuase we would have this like Shell Extensions which would be existing by all users (-> Device Deployment).

    Is there any possibility to do a user Deployment but the Software doesn't need to download / and install which takes a while, an the user can start the virtualized application immediatly? Shared content store?

    Thanks for any advice :)

    Monday, March 24, 2014 7:51 AM

Answers

  • Shared Content Store is separate to the publishing piece. SCS will assist in reducing the amount of data required to be added to the image when publishing an application (i.e. the applications will stream from the SCS location when the user runs the app).

    SCS will assist in reducing the App-V cache size in your PVS write cache location. So, yes, use SCS.

    Shell Extensions is a publishing issue. You should be able to use SCS to enable all App-V packages to be run from a single central content store; but use user publishing to ensure only specific users get Shell Extensions.

    Having said that though, you may find that in some instances (if not all) you'll need to do a global publish for a specific application for shell extensions to work. This is true for ActiveX controls and may be true for Browser Help Objects.

    http://blogs.technet.com/b/virtualvibes/archive/2013/07/11/shell-extensions-and-runtimes-with-5-0-sp2-sequencer.aspx



    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually answer your question). This can be beneficial to other community members reading the thread.


    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.

    Twitter: @stealthpuppy | Blog: stealthpuppy.com | The Definitive Guide to Delivering Microsoft Office with App-V

    Monday, March 24, 2014 9:33 AM
    Moderator

All replies

  • Shared Content Store is separate to the publishing piece. SCS will assist in reducing the amount of data required to be added to the image when publishing an application (i.e. the applications will stream from the SCS location when the user runs the app).

    SCS will assist in reducing the App-V cache size in your PVS write cache location. So, yes, use SCS.

    Shell Extensions is a publishing issue. You should be able to use SCS to enable all App-V packages to be run from a single central content store; but use user publishing to ensure only specific users get Shell Extensions.

    Having said that though, you may find that in some instances (if not all) you'll need to do a global publish for a specific application for shell extensions to work. This is true for ActiveX controls and may be true for Browser Help Objects.

    http://blogs.technet.com/b/virtualvibes/archive/2013/07/11/shell-extensions-and-runtimes-with-5-0-sp2-sequencer.aspx



    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually answer your question). This can be beneficial to other community members reading the thread.


    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.

    Twitter: @stealthpuppy | Blog: stealthpuppy.com | The Definitive Guide to Delivering Microsoft Office with App-V

    Monday, March 24, 2014 9:33 AM
    Moderator
  • Thanks for your answer.

    I just wanted to test a different approach:

    Streaming Delivery: On all PVS Servers
    Download and Execute: On all FAT / Rich Clients

    Download and Execute is always working. Just with the problems which are explained in the first post.

    If i try to stream an application (Changed Deployment type in SCCM from (Download content from... to "Stream content from distribution point") i'll get a pretty weird error while installing

    AppEnforce.log

    <![LOG[The package with GUID 3ca9498a-13f6-4aa2-a216-799cba8fefd0 is not installed on this machine yet]LOG]!><time="08:43:40.766-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appvpackagequery5x.cpp:177">
    <![LOG[The package with GUID 3ca9498a-13f6-4aa2-a216-799cba8fefd0 is not installed on this machine yet]LOG]!><time="08:43:41.476-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appvpackagequery5x.cpp:177">
    <![LOG[+++ Starting Install enforcement for App DT "App-V5_Greenshot_Greenshot_1.1.7_DEU_X86" ApplicationDeliveryType - ScopeId_8D7D1BF6-4C81-4ADD-B468-AC378D095ADC/DeploymentType_84c570d2-0099-4812-89a7-fffa45879c86, Revision - 2, ContentPath - C:\Windows\ccmcache\4j, Execution Context - Any]LOG]!><time="08:43:53.737-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appprovider.cpp:1702">
    <![LOG[    A user is logged on to the system.]LOG]!><time="08:43:53.738-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appprovider.cpp:2083">
    <![LOG[The package with GUID 3ca9498a-13f6-4aa2-a216-799cba8fefd0 is not installed on this machine yet]LOG]!><time="08:43:54.244-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="1140" file="appvpackagequery5x.cpp:177">
    <![LOG[    Installing App-V 5.X package Greenshot_Greenshot_117_De_X86_001 (DTId = ScopeId_8D7D1BF6-4C81-4ADD-B468-AC378D095ADC/DeploymentType_84c570d2-0099-4812-89a7-fffa45879c86, Revision = 2)]LOG]!><time="08:43:54.246-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appv5xhandler.cpp:422">
    <![LOG[The AppV 5X client is configured for use with ConfigMgr.]LOG]!><time="08:43:54.332-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appvclientconfig5x.cpp:71">
    <![LOG[The package with GUID 3ca9498a-13f6-4aa2-a216-799cba8fefd0 is not installed on this machine yet]LOG]!><time="08:43:54.589-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appvpackagequery5x.cpp:177">
    <![LOG[Package: Greenshot_Greenshot_117_De_X86_001 with version GUID 6921d9ea-0b68-44c1-ae4a-9da237ebd48b is not installed. Will install it]LOG]!><time="08:43:54.591-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appv5xhandler.cpp:459">
    <![LOG[Configure the package Greenshot_Greenshot_117_De_X86_001 as streaming. Use content ID Content_b2cd4833-e94a-41d0-abaa-78414f5cdc09 and content version 1]LOG]!><time="08:43:54.592-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appv5xhandler.cpp:475">
    <![LOG[Using content path http://dp.fqdn:80/SMS_DP_SMSPKG$/Content_b2cd4833-e94a-41d0-abaa-78414f5cdc09.1/Greenshot_Greenshot_117_De_X86_001.appv]LOG]!><time="08:44:06.326-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appv5xhandler.cpp:494">
    <![LOG[Running App-V command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Add-AppvClientPackage -Path 'http://dp.fqdn:80/SMS_DP_SMSPKG$/Content_b2cd4833-e94a-41d0-abaa-78414f5cdc09.1/Greenshot_Greenshot_117_De_X86_001.appv'  -DynamicDeploymentConfiguration 'C:\Windows\ccmcache\4j\Greenshot_Greenshot_117_De_X86_001_DeploymentConfig.xml'] for the  machine]LOG]!><time="08:44:06.359-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appvcommandutil.cpp:117">
    <![LOG[    Executing Command line: "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Add-AppvClientPackage -Path 'http://dp.fqdn:80/SMS_DP_SMSPKG$/Content_b2cd4833-e94a-41d0-abaa-78414f5cdc09.1/Greenshot_Greenshot_117_De_X86_001.appv'  -DynamicDeploymentConfiguration 'C:\Windows\ccmcache\4j\Greenshot_Greenshot_117_De_X86_001_DeploymentConfig.xml' with system context]LOG]!><time="08:44:06.360-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appexcnlib.cpp:345">
    <![LOG[    Process 1044 terminated with exitcode: 1]LOG]!><time="08:44:25.075-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appexcnlib.cpp:431">
    <![LOG[Here is the error message generated by the process:
    Add-AppvClientPackage : Failure to communicate with Application Virtualization
    Service. Operation attempted: Configure AppV Package. HRESULT: 800706BE.
    In Zeile:1 Zeichen:106
    + import-module 'C:\Program Files\Microsoft Application
    Virtualization\Client\Appv ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~
        + CategoryInfo          : InvalidResult: (:) [Add-AppvClientPackage], Clie
       ntException
        + FullyQualifiedErrorId : ConfigurePackageError,Microsoft.AppV.AppvClientP
       owerShell.AddAppvPackage
     
    ]LOG]!><time="08:44:25.076-60" date="03-25-2014" component="AppEnforce" context="" type="3" thread="5060" file="appexcnlib.cpp:441">
    <![LOG[AppV command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Add-AppvClientPackage -Path 'http://dp.fqdn:80/SMS_DP_SMSPKG$/Content_b2cd4833-e94a-41d0-abaa-78414f5cdc09.1/Greenshot_Greenshot_117_De_X86_001.appv'  -DynamicDeploymentConfiguration 'C:\Windows\ccmcache\4j\Greenshot_Greenshot_117_De_X86_001_DeploymentConfig.xml'] failed with return code 1.]LOG]!><time="08:44:25.076-60" date="03-25-2014" component="AppEnforce" context="" type="3" thread="5060" file="appvcommandutil.cpp:128">
    <![LOG[AppVCommandUtil::RunAppVCommand() failed. (0x87d0128f)]LOG]!><time="08:44:25.077-60" date="03-25-2014" component="AppEnforce" context="" type="3" thread="5060" file="appvcommandutil.cpp:154">
    <![LOG[AppVManageClient5X::InstallAppVPackage() failed. (0x87d0128f)]LOG]!><time="08:44:25.077-60" date="03-25-2014" component="AppEnforce" context="" type="3" thread="5060" file="appvmanage5x.cpp:86">
    <![LOG[    CAppV5XHandler::InstallApp() failed. (0x87d0128f)]LOG]!><time="08:44:25.077-60" date="03-25-2014" component="AppEnforce" context="" type="3" thread="5060" file="appv5xhandler.cpp:646">
    <![LOG[++++++ App enforcement completed (31 seconds) for App DT "App-V5_Greenshot_Greenshot_1.1.7_DEU_X86" [ScopeId_8D7D1BF6-4C81-4ADD-B468-AC378D095ADC/DeploymentType_84c570d2-0099-4812-89a7-fffa45879c86], Revision: 2, User SID: S-1-5-21-3741319885-4083115345-3963538195-49797] ++++++]LOG]!><time="08:44:25.083-60" date="03-25-2014" component="AppEnforce" context="" type="1" thread="5060" file="appprovider.cpp:2448">

    If i install the application via Software Center again, the installation will succeed.

    Any ideas?

    Client: Windows 7 x64 Enterprise SP1, .NET Framework 4.5.1, PowerShell 4.0, App-V Client 5.0 SP2 + Hotfix Package 2

    Thanks in advance

    Tuesday, March 25, 2014 7:50 AM
  • Hello,

    The error message is a generic; remote procedure call failed.

    Can you reach that location via HTTP on the DP?


    Nicke Källén | The Knack| Twitter: @Znackattack

    Wednesday, April 2, 2014 7:09 PM