Office 2013 installation sometimes fails during OSD

Hello,

I have a strange issue with installation of Office 2013 during operating system deployment. Randomly it fails during some deployments. There is no pattern for failing, random computers, random sites, random distribution points. Maybe some sites fails more often than others but it's not proved by hard data. Furthermore installation runs fine when run manually on faulty hosts or when OSD Task Sequence is rerun on the machine.

So far I found that setup reports issues with disk space and requires some ridiculous amount of space (billions of Pebibytes) so hardware upgrade is not a solution :)

Any ideas how to solve it or troubleshoot further?

AppEnforce.log

+++ Starting Install enforcement for App DT "Microsoft Office Standard 2013 - Windows Installer (*.msi file)" ApplicationDeliveryType - ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/DeploymentType_f982bfdb-e6e1-4dc0-8833-55972c54203d, Revision - 6, ContentPath - C:\WINDOWS\ccmcache\9, Execution Context - System	AppEnforce	19/05/2015 12:39:16	2868 (0x0B34)
    A user is not logged on to the system.	AppEnforce	19/05/2015 12:39:17	2868 (0x0B34)
    Performing detection of app deployment type Microsoft Office Standard 2013 - Windows Installer (*.msi file)(ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/DeploymentType_f982bfdb-e6e1-4dc0-8833-55972c54203d, revision 6) for system.	AppEnforce	19/05/2015 12:39:17	2868 (0x0B34)
+++ Application not discovered. [AppDT Id: ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/DeploymentType_f982bfdb-e6e1-4dc0-8833-55972c54203d, Revision: 6]	AppEnforce	19/05/2015 12:39:18	2868 (0x0B34)
    App enforcement environment: 
	Context: Machine
	Command line: Setup.exe /adminfile Answer_Office_2013_Standard.MSP
	Allow user interaction: No
	UI mode: 0
	User token: null
	Session Id: 4294967295
	Content path: C:\WINDOWS\ccmcache\9
	Working directory: 	AppEnforce	19/05/2015 12:39:18	2868 (0x0B34)
    Prepared working directory: C:\WINDOWS\ccmcache\9	AppEnforce	19/05/2015 12:39:18	2868 (0x0B34)
    Prepared command line: "C:\WINDOWS\ccmcache\9\setup.exe" /adminfile Answer_Office_2013_Standard.MSP	AppEnforce	19/05/2015 12:39:18	2868 (0x0B34)
    Executing Command line: "C:\WINDOWS\ccmcache\9\setup.exe" /adminfile Answer_Office_2013_Standard.MSP with system context	AppEnforce	19/05/2015 12:39:18	2868 (0x0B34)
    Working directory C:\WINDOWS\ccmcache\9	AppEnforce	19/05/2015 12:39:18	2868 (0x0B34)
    Post install behavior is BasedOnExitCode	AppEnforce	19/05/2015 12:39:18	2868 (0x0B34)
    Waiting for process 3976 to finish.  Timeout = 120 minutes.	AppEnforce	19/05/2015 12:39:18	2868 (0x0B34)
    Process 3976 terminated with exitcode: 30066	AppEnforce	19/05/2015 12:39:30	2868 (0x0B34)
    Looking for exit code 30066 in exit codes table...	AppEnforce	19/05/2015 12:39:30	2868 (0x0B34)
    Unmatched exit code (30066) is considered an execution failure.	AppEnforce	19/05/2015 12:39:30	2868 (0x0B34)
++++++ App enforcement completed (14 seconds) for App DT "Microsoft Office Standard 2013 - Windows Installer (*.msi file)" [ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/DeploymentType_f982bfdb-e6e1-4dc0-8833-55972c54203d], Revision: 6, User SID: ] ++++++	AppEnforce	19/05/2015 12:39:30	2868 (0x0B34)


Tail of SetupExe.log

2015/05/19 12:39:29:168::[3240] Opening registry key: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office15.STANDARD.
2015/05/19 12:39:29:168::[3240] Opening registry key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Office15.STANDARD.
2015/05/19 12:39:29:309::[3240] Catalyst processor architecture check: The system is AMD64
2015/05/19 12:39:29:309::[3240] Catalyst beta product conflict check passed. No Office Beta product installed on the computer
2015/05/19 12:39:29:309::[3240] OS check result: 0x00001150
2015/05/19 12:39:29:449::[3240] Reading value of unintialized setting!
2015/05/19 12:39:29:465::[3240] BRANDING: Parsing Branding Data...
2015/05/19 12:39:29:480::[3240] BRANDING: Parsing Branding Data...
2015/05/19 12:39:29:480::[3240] Catalyst Outlook 12 install bypass check passed: Blocking flag is not set
2015/05/19 12:39:29:480::[3240] Catalyst valid path check passed: The path C:\Program Files (x86)\Microsoft Office is valid
2015/05/19 12:39:29:480::[3240] Catalyst path exists check passed: The path C:\Program Files (x86)\Microsoft Office exists
2015/05/19 12:39:29:480::[3240] Setup requires installed space 7825328450788395370 MB. Avaliable space in drive C:\ is 7825328450788394934 MB
2015/05/19 12:39:29:480::[3240] Catalyst free space check requirement check failed
2015/05/19 12:39:29:480::[3240] Not showing message because suppress modal has been set.  Title: 'Setup Warning', Message: 'The install location you selected does not have 2410 MB free space. Free up space from the selected install location or choose a different install location.'
2015/05/19 12:39:29:480::[3240] Message returned: 1
2015/05/19 12:39:29:480::[3240] Error: Install time check failed. Terminating installation Type: 66::PreReqCheckFailure. 
2015/05/19 12:39:29:543::[3240] Error: Install time check failed. Terminating installation Type: 66::PreReqCheckFailure. 
2015/05/19 12:39:29:777::[3240] Catalyst execution finished: 05/19/2015 12:39:29.  Return code: 30066.  Exception caught: PreReqCheckFailure.
2015/05/19 12:39:29:777::[3240] PERF: TickCount=1476331 Name=RunSetup Description=End function
smsts.log
Install application action failed: 'Microsoft Office Standard 2013'. Error Code 0x80004005	InstallApplication	19/05/2015 12:39:31	3696 (0x0E70)

May 20th, 2015 6:19am

Hhave you checked the obvious: "
Title: 'Setup Warning', Message: 'The install location you selected does not have 2410 MB free space. Free up space from the selected install location or choose a different install location.
"
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 6:24am

So according to the logs the a 30066 error code it thrown up as the install is not meeting the requirements for the install.

Setup requires installed space 7825328450788395370 MB which translates to which is 7.8GB and your machine has about the same available therefore the free space check requirement check has failed.

May 20th, 2015 6:31am

Of course I did check the disk space. Computers, depending on spec, had at least 50 GB free.
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 7:02am

What does your smsts.log file report?
May 20th, 2015 7:50am

It reports that installation was started (which is correct according to AppEnfroce.log and Office setup log) and failed.

Passed in version 8 for ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87	DCMAgent	19/05/2015 12:39:16	3932 (0x0F5C)
CAppMgmtSDK::GetEvaluationState ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87.8 = AvailableForEnforcement	DCMAgent	19/05/2015 12:39:16	3932 (0x0F5C)
GetAppMgmtSDKInterface successful	InstallApplication	19/05/2015 12:39:30	3932 (0x0F5C)
CAppMgmtSDK::GetEvaluationState ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87	DCMAgent	19/05/2015 12:39:30	3932 (0x0F5C)
Passed in version 8 for ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87	DCMAgent	19/05/2015 12:39:30	3932 (0x0F5C)
CAppMgmtSDK::GetEvaluationState ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87.8 = EnforcementFailed	DCMAgent	19/05/2015 12:39:30	3932 (0x0F5C)
NotifyProgress received: 4 (Application failed to install )	InstallApplication	19/05/2015 12:39:30	3932 (0x0F5C)
GetAppMgmtSDKInterface successful	InstallApplication	19/05/2015 12:39:30	3932 (0x0F5C)
CAppMgmtSDK::GetEvaluationState ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87	DCMAgent	19/05/2015 12:39:30	3932 (0x0F5C)
Passed in version 8 for ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87	DCMAgent	19/05/2015 12:39:30	3932 (0x0F5C)
CAppMgmtSDK::GetEvaluationState ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87.8 = EnforcementFailed	DCMAgent	19/05/2015 12:39:30	3932 (0x0F5C)
GetAppMgmtSDKInterface successful	InstallApplication	19/05/2015 12:39:30	3932 (0x0F5C)
CAppMgmtSDK::GetEvaluationState ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87	DCMAgent	19/05/2015 12:39:30	3932 (0x0F5C)
Passed in version 8 for ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87	DCMAgent	19/05/2015 12:39:30	3932 (0x0F5C)
CAppMgmtSDK::GetEvaluationState ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87.8 = EnforcementFailed	DCMAgent	19/05/2015 12:39:30	3932 (0x0F5C)
NotifyComplete received	InstallApplication	19/05/2015 12:39:30	3932 (0x0F5C)
NotifyComplete processed	InstallApplication	19/05/2015 12:39:30	3932 (0x0F5C)
Received job completion notification from DCM Agent	InstallApplication	19/05/2015 12:39:30	3696 (0x0E70)
GetAppMgmtSDKInterface successful	InstallApplication	19/05/2015 12:39:30	3696 (0x0E70)
CAppMgmtSDK::GetEvaluationState ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87	DCMAgent	19/05/2015 12:39:30	3696 (0x0E70)
Passed in version 8 for ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87	DCMAgent	19/05/2015 12:39:30	3696 (0x0E70)
CAppMgmtSDK::GetEvaluationState ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/RequiredApplication_74c0416b-17cc-49ee-808b-faa20d1a2f87.8 = EnforcementFailed	DCMAgent	19/05/2015 12:39:30	3696 (0x0E70)
Installation job completed with exit code 0x00000000	InstallApplication	19/05/2015 12:39:30	3696 (0x0E70)
Execution status received: 4 (Application failed to install )	InstallApplication	19/05/2015 12:39:30	3696 (0x0E70)
Installation failed.	InstallApplication	19/05/2015 12:39:31	3696 (0x0E70)
Setting TSEnv variable 'SMSTSInstallApplicationJobID__ScopeId_E55CF2E8-13E2-4DDC-A0BD-0B3D1E5E5F4F/Application_74c0416b-17cc-49ee-808b-faa20d1a2f87'=''	InstallApplication	19/05/2015 12:39:31	3696 (0x0E70)
Completed installation job.	InstallApplication	19/05/2015 12:39:31	3696 (0x0E70)
Step 9 out of 9 complete	InstallApplication	19/05/2015 12:39:31	3696 (0x0E70)
Install application action failed: 'Microsoft Office Standard 2013'. Error Code 0x80004005	InstallApplication	19/05/2015 12:39:31	3696 (0x0E70)

Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 8:06am

Is this when running an OS build or an application task sequence?
May 20th, 2015 8:16am

It is for OS build.

The weird thing is that usually it works fine and fails only sometimes (even on the same computer) so I don't assume issues with hardware or TS logic. 

Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 8:21am

Any Bitlocker work going on?
May 20th, 2015 8:29am

Pre-provision BitLocker is configured before applying OS image but encryption starts after application deployment.

TS looks more or less like this:

  1. Format partition
  2. Pre-provision BitLocker
  3. Apply OS
  4. Install drivers
  5. Apply Windows Settings
  6. Apply Network Settings
  7. Setup Windows and ConfigMgr
  8. Install Application (9 apps, only Office fails)
  9. Enable BitLocker
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 8:52am

Might be worth post a full smsts.log file for a computer that fails rather than snippets. 
May 20th, 2015 9:33am

I know but the problem is that log before Office installation is already overwritten (even when log size is increased) and I already pasted the top of it (from log start till Office installation fails).
In addition we are not able to stop the task sequence in case of errors :-/
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2015 9:50am

Check the disk configuration before the Office install takes place. Make sure it is as should be. 
May 20th, 2015 9:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics