locked
Configuration Manager 2012 R2 SP1 - With AppV 5.0 SP2 RRS feed

  • Question

  • Hi friendlies,

    I am doing my due diligence before upgrading to Config Manager 2012 R2 SP1 and I may have found something not updated in the documentation, but am coming here to see if anyone else can confirm.

    Our client still have AppV 5.0 SP2 installed and they can't seem to receive user based AppV apps after the upgrade.

    In the client logs, the client is publishing the package with a new parameter -UserSID and failing because APPV doesn't support the parameter.

    Has anyone come accoss official documentation about the support Appv configurations that support this theory?

    Best I can find is this: https://technet.microsoft.com/en-us/library/jj822982.aspx#BKMK_Supp

    But this talks about R2 and Appv 5.0 SP3 and not R2 SP1 specifically.

    Cheers

    -Jesse

    Friday, May 22, 2015 4:57 AM

Answers

All replies

  • Jesse,

    I'm not able to replicate this. I have just sent down a user based App-V package (5.0 SP2) to my end user with no problem. 




    Cheers Paul |

    Friday, May 22, 2015 10:09 AM
  • Hi Paul,

    Was the Config Manager client updated on your test yet? or the older 5.00.7958.1501 (CU4)

    My problem started occurring after the client upgrade.

    I'm reverting my environment to do some more thorough testing and confirm when it started happening. Will report back.

    Cheers

    Sunday, May 24, 2015 9:52 PM
  • I've just confirmed the following scenarios:

    Server                                                :    APPV Client Ver     :    Configuratiion Manager Client Ver                   : Deployment Type :      Success

    Configuration Manager 2012 R2 SP1 :    APPV 5.0 Sp2 HF4 :    Configuration Manager Client 5.00.7958.1501: User                     :      True

    Configuration Manager 2012 R2 SP1 :    APPV 5.0 Sp2 HF4 :    Configuration Manager Client 5.00.8239.1000: User                     :      False

    Monday, May 25, 2015 12:23 AM
  • Jesse,

    I'm running the R2 SP1 client (5.00.8239.1000) not running the HF4 on the App-V client.  Let me take a look at this as well.

    Thanks

    Paul


    Cheers Paul |


    Monday, May 25, 2015 7:35 PM
  • Jesse,

    I can confirm that I am getting the same problem publishing under the user context with App-V 5.0 SP2 HF4. I will upgrade my client to HF5 and test this again.

    Full error is:

    Here is the error message generated by the process:
    Publish-AppvClientPackage : A parameter cannot be found that matches parameter 
    name 'UserSID'.
    At line:1 char:351
    + ... 113b564c-648b-4e88-9a1b-bb1e5e960d56_UserConfig.xml' -UserSID 'S-1-5- ...
    +                                                          ~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [Publish-AppvClientPackage] 
       , ParameterBindingException
        + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.AppV.AppvClient 
       PowerShell.PublishAppvPackage
     
    AppEnforce 26/05/2015 00:33:12 2912 (0x0B60)
    AppV command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1';  Publish-AppvClientPackage -PackageID 113b564c-648b-4e88-9a1b-bb1e5e960d56 -VersionID ea35e5ee-0a64-4006-a71b-906d6b348324  -DynamicUserConfigurationPath 'C:\WINDOWS\CCM\SystemTemp\AppVTempData\113b564c-648b-4e88-9a1b-bb1e5e960d56_UserConfig.xml' -UserSID 'S-1-5-21-1892080804-1021483945-3126336620-1128' -ev err; if(($err -ne $null) -and ($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)}] failed with return code 1. AppEnforce 26/05/2015 00:33:12 2912 (0x0B60)
    AppVCommandUtil::RunAppVCommand() failed. (0x87d0128f) AppEnforce 26/05/2015 00:33:12 2912 (0x0B60)
    AppVManageClient5X::PublishAppVPackage() failed for package [113b564c-648b-4e88-9a1b-bb1e5e960d56]. (0x87d0128f) AppEnforce 26/05/2015 00:33:12 2912 (0x0B60)
    CAppV5XHandler::PublishSpecifiedAppVComponents() failed. (0x87d0128f) AppEnforce 26/05/2015 00:33:12 2912 (0x0B60)
    CAppV5XHandler::PublishAppVComponentsForDT() failed. (0x87d0128f) AppEnforce 26/05/2015 00:33:12 2912 (0x0B60)
        CAppV5XHandler::InstallApp() failed. (0x87d0128f) AppEnforce 26/05/2015 00:33:12 2912 (0x0B60)


    Cheers Paul |

    Monday, May 25, 2015 11:39 PM
  • Application installs successfully with HF5

    Package: FirefoxESR-31.7.0-en-GB.001 with version GUID ea35e5ee-0a64-4006-a71b-906d6b348324 is not installed. Will install it AppEnforce 26/05/2015 00:57:46 1504 (0x05E0)
    Configure the package FirefoxESR-31.7.0-en-GB.001 as download and execute AppEnforce 26/05/2015 00:57:46 1504 (0x05E0)
    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 'C:\WINDOWS\ccmcache\3\FirefoxESR-31.7.0-en-GB.001.appv'  -DynamicDeploymentConfiguration 'C:\WINDOWS\ccmcache\3\FirefoxESR-31.7.0-en-GB.001_DeploymentConfig.xml'] for the  machine AppEnforce 26/05/2015 00:57:46 1504 (0x05E0)
        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 'C:\WINDOWS\ccmcache\3\FirefoxESR-31.7.0-en-GB.001.appv'  -DynamicDeploymentConfiguration 'C:\WINDOWS\ccmcache\3\FirefoxESR-31.7.0-en-GB.001_DeploymentConfig.xml' with system context AppEnforce 26/05/2015 00:57:46 1504 (0x05E0)
        Process 5552 terminated with exitcode: 0 AppEnforce 26/05/2015 00:57:53 1504 (0x05E0)
       Opened config file C:\WINDOWS\ccmcache\3\FirefoxESR-31.7.0-en-GB.001_UserConfig.xml for package [Id = 113b564c-648b-4e88-9a1b-bb1e5e960d56] [Xml namespace=http://schemas.microsoft.com/appv/2010/userconfiguration]. AppEnforce 26/05/2015 00:57:54 1504 (0x05E0)
    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';  Publish-AppvClientPackage -PackageID 113b564c-648b-4e88-9a1b-bb1e5e960d56 -VersionID ea35e5ee-0a64-4006-a71b-906d6b348324  -DynamicUserConfigurationPath 'C:\WINDOWS\CCM\SystemTemp\AppVTempData\113b564c-648b-4e88-9a1b-bb1e5e960d56_UserConfig.xml' -UserSID 'S-1-5-21-1892080804-1021483945-3126336620-1128' -ev err; if(($err -ne $null) -and ($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)}] for the  machine AppEnforce 26/05/2015 00:57:54 1504 (0x05E0)
        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';  Publish-AppvClientPackage -PackageID 113b564c-648b-4e88-9a1b-bb1e5e960d56 -VersionID ea35e5ee-0a64-4006-a71b-906d6b348324  -DynamicUserConfigurationPath 'C:\WINDOWS\CCM\SystemTemp\AppVTempData\113b564c-648b-4e88-9a1b-bb1e5e960d56_UserConfig.xml' -UserSID 'S-1-5-21-1892080804-1021483945-3126336620-1128' -ev err; if(($err -ne $null) -and ($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)} with system context AppEnforce 26/05/2015 00:57:54 1504 (0x05E0)
        Process 5932 terminated with exitcode: 0 AppEnforce 26/05/2015 00:57:56 1504 (0x05E0)
    Successfully Published 2 component(s) [[{ProgramFilesX64}]\Internet Explorer\iexplore.exe,[{ProgramFilesX86}]\Mozilla Firefox\firefox.exe,] in package [FirefoxESR-31.7.0-en-GB.001] for S-1-5-21-1892080804-1021483945-3126336620-1128 AppEnforce 26/05/2015 00:57:56 1504 (0x05E0)
    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';  Mount-AppvClientPackage -PackageID 113b564c-648b-4e88-9a1b-bb1e5e960d56 -VersionID ea35e5ee-0a64-4006-a71b-906d6b348324] for the  machine AppEnforce 26/05/2015 00:57:56 1504 (0x05E0)
        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';  Mount-AppvClientPackage -PackageID 113b564c-648b-4e88-9a1b-bb1e5e960d56 -VersionID ea35e5ee-0a64-4006-a71b-906d6b348324 with system context AppEnforce 26/05/2015 00:57:56 1504 (0x05E0)
        Process 6032 terminated with exitcode: 0 AppEnforce 26/05/2015 00:58:11 1504 (0x05E0)
        CAppV5XHandler::InstallApp() completed successfully. AppEnforce 26/05/2015 00:58:11 1504 (0x05E0)
    ++++++ App enforcement completed (25 seconds) for App DT "FirefoxESR-31.7.0-en-GB.001 - Microsoft Application Virtualization 5" [ScopeId_C84D2B1F-07E3-4C2E-897B-BFCDB974E187/DeploymentType_13da4cf7-62cb-4e09-8209-66d5c8ca7e5d], Revision: 1, User SID: S-1-5-21-1892080804-1021483945-3126336620-1128] ++++++ AppEnforce 26/05/2015 00:58:11 1504 (0x05E0)


    Cheers Paul |

    Tuesday, May 26, 2015 12:02 AM
  • I have logged this as a bug at Connect but the workaround is to upgrade to HF5 for now.

    https://connect.microsoft.com/ConfigurationManagervnext/feedback/details/1368588

    If you have access to Connect then vote it up, or join the programme and vote it up ;-)


    Cheers Paul |



    Tuesday, May 26, 2015 12:06 AM
  • Thanks Paul,

    I have upvoted the Bug.

    For now I think we are going to skip to AppV 5.0 SP3 as there are some features we can leverage.

    Thanks again for doing your own testing.

    Tuesday, May 26, 2015 1:19 AM