Jump to content


Sign in to follow this  
issue

SCCM2012, App-V and Applications

Recommended Posts

Hi.

 

We are trying to deploy App-V packages through SCCM2012 r2, but we dont succeed.

 

If I import the app-v package locally with powershell it works, but I can´t get it deployed.

I have imported the App-V package as an application in SCCM (not as a package). I have two deployment types, msi and appv (started with just appv). When i deploy the app nothing happens. The deployment monitor says that the package is downloading, then waiting to start, then installing, and then that it will retry. So the deployment doesnt work. We are deploying to machine collection

If i take the same source and imports the app with powershell it works fine.

If we take a "normal" msi and imports it as an application the installation works. And our usual "package" deployments works like a charm.

We can´t find any errors in our client logs either, so we have no idea whats wrong.

 

Anyone with any tips?

Share this post


Link to post
Share on other sites


First up you need to create the application from the appv and not the MSI. When you deploy check the appdiscovery and appenforce logs. Does the discovery log see that the App-V package is needed for install? Then in the appenforce are you seeing any errors?

Share this post


Link to post
Share on other sites

I did create the application from appv, when the deploy didn´t work i created a second deployment type (msi) but that didnt work either.

 

This is what appdiscovery says:

Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327" AND Revision = 3)"	AppDiscovery	2015-01-19 10:02:50	3568 (0x0DF0)
    Performing detection of app deployment type AppV_BIDLink_5.0.0.85 - Microsoft Application Virtualization 5(ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327, revision 3) for system.	AppDiscovery	2015-01-19 10:02:50	3568 (0x0DF0)
    Required component [{ProgramFilesX86}]\Personal\bin\Personal.exe is not published	AppVHandler	2015-01-19 10:02:52	3568 (0x0DF0)
+++ AppV 5X application not discovered for machine [AppDT Id: ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327, Revision: 3, AppV Pkg GUID: f459a06b-0acd-449f-8087-c054fd44777a, AppV Version GUID: f80f4d2b-a13f-4208-b0a9-ee38e6d9fbf9]. Some required components are not published.	AppVHandler	2015-01-19 10:02:52	3568 (0x0DF0)
+++ Did not detect app deployment type AppV_BIDLink_5.0.0.85 - Microsoft Application Virtualization 5(ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327, revision 3) for system.	AppDiscovery	2015-01-19 10:02:52	3568 (0x0DF0)
Attempting to retrieve instance:[CCM_VirtualEnvironment.Revision=1,VirtualEnvironmentId="ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc"]	AppDiscovery	2015-01-19 10:02:52	3568 (0x0DF0)
    Discovering App-V 5.X virtual environment VirtualEnvironment ID : ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc, Revision: 1	AppDiscovery	2015-01-19 10:02:52	3568 (0x0DF0)
Virtual Environment instance CCM_VirtualEnvironment.Revision=1,VirtualEnvironmentId="ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc" not found	AppDiscovery	2015-01-19 10:02:52	3568 (0x0DF0)
Attempting to retrieve instance:[CCM_VirtualEnvironment.Revision=1,VirtualEnvironmentId="ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc"]	AppDiscovery	2015-01-19 10:02:52	3568 (0x0DF0)
    Discovering App-V 5.X virtual environment VirtualEnvironment ID : ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc, Revision: 1	AppDiscovery	2015-01-19 10:02:52	3568 (0x0DF0)
Virtual Environment instance CCM_VirtualEnvironment.Revision=1,VirtualEnvironmentId="ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc" not found	AppDiscovery	2015-01-19 10:02:52	3568 (0x0DF0)
   ActionType - Install will use Content Id: Content_7a700775-c9f4-4e3b-ae8f-51ae698f3523 + Content Version: 1 for AppDT "AppV_BIDLink_5.0.0.85 - Microsoft Application Virtualization 5" [ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327], Revision - 3	AppDiscovery	2015-01-19 10:02:52	3568 (0x0DF0)
   ActionType - Install will use Content Id: Content_7a700775-c9f4-4e3b-ae8f-51ae698f3523 + Content Version: 1 for AppDT "AppV_BIDLink_5.0.0.85 - Microsoft Application Virtualization 5" [ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327], Revision - 3	AppDiscovery	2015-01-19 10:02:53	4412 (0x113C)
Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327" AND Revision = 3)"	AppDiscovery	2015-01-19 10:03:48	4412 (0x113C)
    Performing detection of app deployment type AppV_BIDLink_5.0.0.85 - Microsoft Application Virtualization 5(ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327, revision 3) for system.	AppDiscovery	2015-01-19 10:03:48	4412 (0x113C)
    Required component [{ProgramFilesX86}]\Personal\bin\Personal.exe is not published	AppVHandler	2015-01-19 10:03:48	4412 (0x113C)
+++ AppV 5X application not discovered for machine [AppDT Id: ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327, Revision: 3, AppV Pkg GUID: f459a06b-0acd-449f-8087-c054fd44777a, AppV Version GUID: f80f4d2b-a13f-4208-b0a9-ee38e6d9fbf9]. Some required components are not published.	AppVHandler	2015-01-19 10:03:48	4412 (0x113C)
+++ Did not detect app deployment type AppV_BIDLink_5.0.0.85 - Microsoft Application Virtualization 5(ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327, revision 3) for system.	AppDiscovery	2015-01-19 10:03:48	4412 (0x113C)
Attempting to retrieve instance:[CCM_VirtualEnvironment.Revision=1,VirtualEnvironmentId="ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc"]	AppDiscovery	2015-01-19 10:03:48	4412 (0x113C)
    Discovering App-V 5.X virtual environment VirtualEnvironment ID : ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc, Revision: 1	AppDiscovery	2015-01-19 10:03:48	4412 (0x113C)
Virtual Environment instance CCM_VirtualEnvironment.Revision=1,VirtualEnvironmentId="ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc" not found	AppDiscovery	2015-01-19 10:03:48	4412 (0x113C)
Attempting to retrieve instance:[CCM_VirtualEnvironment.Revision=1,VirtualEnvironmentId="ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc"]	AppDiscovery	2015-01-19 10:03:48	4412 (0x113C)
    Discovering App-V 5.X virtual environment VirtualEnvironment ID : ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc, Revision: 1	AppDiscovery	2015-01-19 10:03:48	4412 (0x113C)
Virtual Environment instance CCM_VirtualEnvironment.Revision=1,VirtualEnvironmentId="ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/VirtualEnvironment_b8ece531-d0e7-409a-a7af-30eef34ddccc" not found	AppDiscovery	2015-01-19 10:03:49	4412 (0x113C)

and this is what AppEnforce says:

+++ Starting Install enforcement for App DT "AppV_BIDLink_5.0.0.85 - Microsoft Application Virtualization 5" ApplicationDeliveryType - ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327, Revision - 3, ContentPath - C:\WINDOWS\ccmcache\2h, Execution Context - Any	AppEnforce	2015-01-19 10:02:53	3568 (0x0DF0)
    A user is logged on to the system.	AppEnforce	2015-01-19 10:02:53	3568 (0x0DF0)
    Installing App-V 5.X package AppV_BIDLink_5.0.0.85 (DTId = ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327, Revision = 3)	AppEnforce	2015-01-19 10:02:53	3568 (0x0DF0)
The AppV 5X client is configured for use with ConfigMgr.	AppEnforce	2015-01-19 10:02:53	3568 (0x0DF0)
   Opened config file C:\WINDOWS\ccmcache\2h\AppV_BIDLink_5.0.0.85_DeploymentConfig.xml for package [Id = f459a06b-0acd-449f-8087-c054fd44777a] [Xml namespace=http://schemas.microsoft.com/appv/2010/deploymentconfiguration].	AppEnforce	2015-01-19 10:02:54	3568 (0x0DF0)
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';  Set-AppvClientPackage -PackageID f459a06b-0acd-449f-8087-c054fd44777a -VersionID f80f4d2b-a13f-4208-b0a9-ee38e6d9fbf9  -DynamicDeploymentConfiguration 'C:\WINDOWS\CCM\SystemTemp\AppVTempData\f459a06b-0acd-449f-8087-c054fd44777a_DeployConfig.xml'] for the  machine	AppEnforce	2015-01-19 10:02:54	3568 (0x0DF0)
    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';  Set-AppvClientPackage -PackageID f459a06b-0acd-449f-8087-c054fd44777a -VersionID f80f4d2b-a13f-4208-b0a9-ee38e6d9fbf9  -DynamicDeploymentConfiguration 'C:\WINDOWS\CCM\SystemTemp\AppVTempData\f459a06b-0acd-449f-8087-c054fd44777a_DeployConfig.xml' with system context	AppEnforce	2015-01-19 10:02:54	3568 (0x0DF0)
Exceeded timeout of 120 minutes while waiting for process 5960 to finish.	AppEnforce	2015-01-19 12:02:54	3568 (0x0DF0)
AppVCommandUtil::RunAppVCommand() failed. (0x87d00213)	AppEnforce	2015-01-19 12:02:54	3568 (0x0DF0)
AppVManageClient5X::ConfigureAppVPackage() failed for package [f459a06b-0acd-449f-8087-c054fd44777a]. (0x87d00213)	AppEnforce	2015-01-19 12:02:54	3568 (0x0DF0)
CAppV5XHandler::PublishSpecifiedAppVComponents() failed. (0x87d00213)	AppEnforce	2015-01-19 12:02:54	3568 (0x0DF0)
CAppV5XHandler::PublishAppVComponentsForDT() failed. (0x87d00213)	AppEnforce	2015-01-19 12:02:54	3568 (0x0DF0)
    CAppV5XHandler::InstallApp() failed. (0x87d00213)	AppEnforce	2015-01-19 12:02:54	3568 (0x0DF0)
++++++ App enforcement completed (7201 seconds) for App DT "AppV_BIDLink_5.0.0.85 - Microsoft Application Virtualization 5" [ScopeId_0F074CF9-AD79-4666-BBCE-70973AFD0C6C/DeploymentType_75741e0c-0e2e-48fc-993e-fab424a74327], Revision: 3, User SID: ] ++++++	AppEnforce	2015-01-19 12:02:54	3568 (0x0DF0)

the executionpolicy is set to:

MachinePolicy: AllSigned

UserPolicy: AllSigned

process, CurrentUser, LocalMachine: Undefined.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...