Jump to content


SMSNewb

Build and Capture not installing applications [2012 R2]

Recommended Posts

Hello all,

 

I've been deploying operating systems from a custom wim file that was created on a hyperv virtual machine and captured with imagex. During the OS deployment, I've been able to push out applications without any issues. I'm also not having any issues using SCCM 2012 to push out applications/packages outside of OS deployment.

 

I am now working with a build and capture task sequence and am having issues pushing out applications during the build process. The rest of the task sequence will work fine (if I have continue on error enabled) and will capture the wim and store it at the location I have designated.

 

I tried a build and capture task sequence as a test with an application that I know works outside of OS deployment and within OS deployment using my custom wim

 

I've checked a couple logs and it this is what I have gotten:

 

SMSTS.log

Execution status received: 24 (Application download failed ) InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
App install failed. InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Setting TSEnv variable '_TSAppInstallStatus'='Error' InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Setting TSEnv variable 'SMSTSInstallApplicationJobID__ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/Application_836ac639-7466-4839-83e4-edf8404051a1'='' InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Completed installation job. InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Step 2 out of 2 complete InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Install application action failed: 'Adobe Flash Player 12 ActiveX'. Error Code 0x80004005 InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Sending error status message InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Setting URL = ***************, Ports = 80,443, CRL = false InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Setting Server Certificates. InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Setting Authenticator. InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Set authenticator in transport InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Setting Media Certificate. InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Sending StatusMessage InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Setting message signatures. InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Setting the authenticator. InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
CLibSMSMessageWinHttpTransport::Send: URL: **************:80 CCM_POST /ccm_system/request InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Request was successful. InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Install application action cannot continue. ContinueOnErrorFlag is set to false. InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
hrInstallation, HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\installapplication.cpp,899) InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
pInstall->InstallApplications(saAppNames, sContinueOnError), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\main.cpp,277) InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Install Static Applications failed, hr=0x80004005 InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC)
Process completed with exit code 2147500037 TSManager 5/7/2014 2:02:01 PM 1488 (0x05D0)
!--------------------------------------------------------------------------------------------! TSManager 5/7/2014 2:02:01 PM 1488 (0x05D0)
Failed to run the action: Install Application.
Unspecified error (Error: 80004005; Source: Windows) TSManager 5/7/2014 2:02:01 PM 1488 (0x05D0)
CAS.log
GetLogonUserSid failed at GetTokenSids 0x800703f0 ContentAccess 5/7/2014 2:01:44 PM 2252 (0x08CC)
Requesting locations synchronously for content Content_99521959-85ed-4826-a6c7-760a6a083903.1 with priority Foreground ContentAccess 5/7/2014 2:02:00 PM 2252 (0x08CC)
The number of discovered DPs(including Branch DP and Multicast) is 0 ContentAccess 5/7/2014 2:02:00 PM 2252 (0x08CC)

AppDiscovery.log

Performing detection of app deployment type Adobe Flash Player 12 ActiveX - Windows Installer (*.msi file)(ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a, revision 1) for system. AppDiscovery 5/7/2014 2:01:43 PM 1824 (0x0720)
+++ MSI application not discovered [MSI Product Code: {B01EA176-C775-4490-B4CC-938A4B3EF5A3}, MSI Product version: ] AppDiscovery 5/7/2014 2:01:43 PM 1824 (0x0720)
+++ Did not detect app deployment type Adobe Flash Player 12 ActiveX - Windows Installer (*.msi file)(ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a, revision 1) for system. AppDiscovery 5/7/2014 2:01:43 PM 1824 (0x0720)
ActionType - Install will use Content Id: Content_99521959-85ed-4826-a6c7-760a6a083903 + Content Version: 1 for AppDT "Adobe Flash Player 12 ActiveX - Windows Installer (*.msi file)" [scopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a], Revision - 1 AppDiscovery 5/7/2014 2:01:43 PM 1824 (0x0720)
I'm not seeing a contenttransfermanager.log or anything to look into the issues with downloading the content
Any help is greatly appreciated

Share this post


Link to post
Share on other sites

Yes, it is in a workgroup for the sysprep and capture portion. I have SMSMP=<my mp info> in the installation properties for the CCM client install section. I have also tried using the premade package for the client install and also a client upgrade package created from definition with the same results.

Share this post


Link to post
Share on other sites

is your device in a boundary ? I usually create a boundary that is a one-ip iprange for my build and capture virtual machine,

Share this post


Link to post
Share on other sites

In theory it should be. My boundary is an Active Directory site, and this seems to work for all other unknown machines for bare metal deployments.

 

Should I have an IP boundary just for build and capture?

 

Are you aware of any other logs I could check to see where the issue may be?

 

Thanks

Share this post


Link to post
Share on other sites

your client is in a workgroup so being in an AD SITE boundary will not work !

 

try the boundary trick, it takes only a few minutes to do, i had the Execution status received: 24 (Application download failed ) InstallApplication 5/7/2014 2:02:01 PM 2988 (0x0BAC) problem and it solved it for me.

Share this post


Link to post
Share on other sites

Thank you.

 

I added an IP Address Range boundary and added it to my Boundary Group. Unfortunately, I'm still having the issue.

 

I verified the machine has a valid IP within the IP Address Range boundary, and networking is working fine as I copy my logs off with net use

 

Here are my logs after changing the boundary group:

 

SMSTS.LOG (Before move to C:\Windows\CCM\Logs)

Active request handle is empty, registering with new active request handle. This is expected if the TS was started from a media/PXE. OSDSetupHook 5/9/2014 3:01:38 PM 1848 (0x0738)

Saving the new active request handle for the task sequence: {A3F20EFA-94FD-4C5F-8F20-066FEB914572} OSDSetupHook 5/9/2014 3:01:38 PM 1848 (0x0738)
Failed to create instance for IMTCTokenHandler interface, hr=0x80070005 OSDSetupHook 5/9/2014 3:01:38 PM 1848 (0x0738)
Waiting for ccmexec process to start OSDSetupHook 5/9/2014 3:01:38 PM 1848 (0x0738)
Failed to create instance for IMTCTokenHandler interface, hr=0x80070005 OSDSetupHook 5/9/2014 3:01:43 PM 1848 (0x0738)
Waiting for ccmexec process to start OSDSetupHook 5/9/2014 3:01:43 PM 1848 (0x0738)
Failed to create instance for IMTCTokenHandler interface, hr=0x80070005 OSDSetupHook 5/9/2014 3:01:48 PM 1848 (0x0738)
Waiting for ccmexec process to start OSDSetupHook 5/9/2014 3:01:48 PM 1848 (0x0738)
Failed to create instance for IMTCTokenHandler interface, hr=0x80070005 OSDSetupHook 5/9/2014 3:01:53 PM 1848 (0x0738)
Waiting for ccmexec process to start OSDSetupHook 5/9/2014 3:01:53 PM 1848 (0x0738)
Failed to create instance for IMTCTokenHandler interface, hr=0x80070005 OSDSetupHook 5/9/2014 3:01:58 PM 1848 (0x0738)
Waiting for ccmexec process to start OSDSetupHook 5/9/2014 3:01:58 PM 1848 (0x0738)
Failed to create instance for IMTCTokenHandler interface, hr=0x80070005 OSDSetupHook 5/9/2014 3:02:04 PM 1848 (0x0738)
Waiting for ccmexec process to start OSDSetupHook 5/9/2014 3:02:04 PM 1848 (0x0738)
CoCreateInstance succeeded OSDSetupHook 5/9/2014 3:02:10 PM 1848 (0x0738)
Succesfully registered the tasksequence with the execution manager OSDSetupHook 5/9/2014 3:02:32 PM 1848 (0x0738)
SMSTS.LOG (After move to C:\Windows\CCM\Logs)
CAppMgmtSDK::GetEvaluationState ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/RequiredApplication_836ac639-7466-4839-83e4-edf8404051a1.4 = DownloadFailed DCMAgent 5/9/2014 3:05:59 PM 1924 (0x0784)
Installation job completed with exit code 0x00000000 InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Execution status received: 24 (Application download failed ) InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
App install failed. InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Setting TSEnv variable '_TSAppInstallStatus'='Error' InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Setting TSEnv variable 'SMSTSInstallApplicationJobID__ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/Application_836ac639-7466-4839-83e4-edf8404051a1'='' InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Completed installation job. InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Step 2 out of 2 complete InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Install application action failed: 'Adobe Flash Player 12 ActiveX'. Error Code 0x80004005 InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Sending error status message InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Setting URL = **********************, Ports = 80,443, CRL = false InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Setting Server Certificates. InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Setting Authenticator. InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Set authenticator in transport InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Setting Media Certificate. InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Sending StatusMessage InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Setting message signatures. InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Setting the authenticator. InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
CLibSMSMessageWinHttpTransport::Send: URL: ***************:80 CCM_POST /ccm_system/request InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Request was successful. InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Install application action cannot continue. ContinueOnErrorFlag is set to false. InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
hrInstallation, HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\installapplication.cpp,899) InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
pInstall->InstallApplications(saAppNames, sContinueOnError), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installapplication\main.cpp,277) InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Install Static Applications failed, hr=0x80004005 InstallApplication 5/9/2014 3:05:59 PM 1924 (0x0784)
Process completed with exit code 2147500037 TSManager 5/9/2014 3:05:59 PM 3040 (0x0BE0)
!--------------------------------------------------------------------------------------------! TSManager 5/9/2014 3:05:59 PM 3040 (0x0BE0)
Failed to run the action: Install Application.
Unspecified error (Error: 80004005; Source: Windows) TSManager 5/9/2014 3:05:59 PM 3040 (0x0BE0)

AppDiscovery.log

Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a" AND Revision = 1)" AppDiscovery 5/9/2014 3:05:51 PM 2320 (0x0910)
Performing detection of app deployment type Adobe Flash Player 12 ActiveX - Windows Installer (*.msi file)(ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a, revision 1) for system. AppDiscovery 5/9/2014 3:05:51 PM 2320 (0x0910)
+++ MSI application not discovered [MSI Product Code: {B01EA176-C775-4490-B4CC-938A4B3EF5A3}, MSI Product version: ] AppDiscovery 5/9/2014 3:05:51 PM 2320 (0x0910)
+++ Did not detect app deployment type Adobe Flash Player 12 ActiveX - Windows Installer (*.msi file)(ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a, revision 1) for system. AppDiscovery 5/9/2014 3:05:51 PM 2320 (0x0910)
Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a" AND Revision = 1)" AppDiscovery 5/9/2014 3:05:52 PM 2320 (0x0910)
Performing detection of app deployment type Adobe Flash Player 12 ActiveX - Windows Installer (*.msi file)(ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a, revision 1) for system. AppDiscovery 5/9/2014 3:05:52 PM 2320 (0x0910)
+++ MSI application not discovered [MSI Product Code: {B01EA176-C775-4490-B4CC-938A4B3EF5A3}, MSI Product version: ] AppDiscovery 5/9/2014 3:05:52 PM 2320 (0x0910)
+++ Did not detect app deployment type Adobe Flash Player 12 ActiveX - Windows Installer (*.msi file)(ScopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a, revision 1) for system. AppDiscovery 5/9/2014 3:05:52 PM 2320 (0x0910)
ActionType - Install will use Content Id: Content_99521959-85ed-4826-a6c7-760a6a083903 + Content Version: 1 for AppDT "Adobe Flash Player 12 ActiveX - Windows Installer (*.msi file)" [scopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a], Revision - 1 AppDiscovery 5/9/2014 3:05:53 PM 2320 (0x0910)
ActionType - Install will use Content Id: Content_99521959-85ed-4826-a6c7-760a6a083903 + Content Version: 1 for AppDT "Adobe Flash Player 12 ActiveX - Windows Installer (*.msi file)" [scopeId_520BCF39-A29D-4C91-8339-B2FC24AC6063/DeploymentType_f99f7b85-5c31-4526-af32-b8671cf0cc3a], Revision - 1 AppDiscovery 5/9/2014 3:05:55 PM 2320 (0x0910)
ContentTransferManager.log
CTM job {49398B71-3ABA-4E25-9076-32CC7EF9C294} encountered error 0x80070005 during download ('Error processing manifest.')- The error maps to denied access. ContentTransferManager 5/9/2014 3:05:58 PM 896 (0x0380)
Not sure where the denied access is coming from
CAS.log
Download location found 0 - *************************/SMS_DP_SMSPKG$/Content_99521959-85ed-4826-a6c7-760a6a083903.1 ContentAccess 5/9/2014 3:05:55 PM 896 (0x0380)
Download request only, ignoring location update ContentAccess 5/9/2014 3:05:55 PM 896 (0x0380)
Download started for content Content_99521959-85ed-4826-a6c7-760a6a083903.1 ContentAccess 5/9/2014 3:05:55 PM 2276 (0x08E4)
Download failed for content Content_99521959-85ed-4826-a6c7-760a6a083903.1 under context System, error 0x80070005 ContentAccess 5/9/2014 3:05:58 PM 2872 (0x0B38)
Download failed for download request {639EC930-7C72-4AA5-9D5F-1C69F113A4BF} ContentAccess 5/9/2014 3:05:58 PM 2872 (0x0B38)
Raising event:
[sMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistDownloadFailedEvent
{
ClientID = "GUID:69653877-9CE6-4C61-B615-A8075213CE89";
DateTime = "20140509190558.835000+000";
MachineName = "BC7";
PackageId = "Content_99521959-85ed-4826-a6c7-760a6a083903";
PackageName = "Content_99521959-85ed-4826-a6c7-760a6a083903";
PackageVersion = "1";
ProcessID = 2724;
SiteCode = "***";
ThreadID = 2872;
};
ContentAccess 5/9/2014 3:05:58 PM 2872 (0x0B38)
Successfully raised Download Failed event. ContentAccess 5/9/2014 3:05:58 PM 2872 (0x0B38)
Error: DeleteDirectory:- Failed to delete Directory C:\WINDOWS\ccmcache\1.BCWork with Error 0x00000002. ContentAccess 5/9/2014 3:05:58 PM 2872 (0x0B38)
Releasing content request {639EC930-7C72-4AA5-9D5F-1C69F113A4BF} ContentAccess 5/9/2014 3:05:59 PM 2872 (0x0B38)

Share this post


Link to post
Share on other sites

Wouldn't that affect PXE imaging as well? I am able to PXE boot and image a computer with no issues, and install application in that task sequence. I'm just not able to perform the "Install Applications" portion of a build and capture task sequence. If I set "Continue on error", the build and capture will complete and place the wim in the directory that I specified, just without any applications.

Share this post


Link to post
Share on other sites

double check that the ip address that the computer has during b&c is in the boundary defined for this, please

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...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.