Microsoft 365 Apps Failing to Install

Jak Ub 6 Reputation points
2022-03-23T20:55:01.477+00:00

Hi,

I am trying to manually install Microsoft Office 365 Apps on a machine at the OOBE screen but using Shift + F10 and running it through the command prompt. I copy the files over to the temp folder and then when I'm running my batch file, which is:

"C:\Windows\Temp\Office365\setup.exe" /download MyConfig.xml
"C:\Windows\Temp\Office365\setup.exe" /configure MyConfig.xml

Upon running I get this error code:

30029-1007 (0)

I've tried adding a SourcePath like many suggest but that doesn't help either. What's strange if I can back and run these commands again, it then works.

Here is my XML:

<Configuration ID="86e5c479-d11c-40fa-b1bf-5108a45fad0b">
<Add OfficeClientEdition="64" Channel="SemiAnnual">
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="Teams" />
<ExcludeApp ID="Bing" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Property Name="DeviceBasedLicensing" Value="1" />
<Property Name="SCLCacheOverride" Value="0" />
<Updates Enabled="TRUE" />
<RemoveMSI />
<AppSettings>
<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />
</AppSettings>
<Display Level="None" AcceptEULA="TRUE" />
</Configuration>

Here is my log file:

Timestamp Process TID Area Category EventID Level Message Correlation
03/23/2022 13:39:19.641 SETUP (0x820) 0x1fc8 Orapi cpknf Medium Successfully got the registry values
03/23/2022 13:39:19.641 SETUP (0x820) 0x1fc8 OfficeTelemetry_RuleProcessing axbjw Medium OTele_ETW_TDC_LoadingRulesStarted {"ETW_EventId": 119, "ETW_Keywords": 4}
03/23/2022 13:39:19.641 SETUP (0x820) 0x1fc8 Activity bjtct Medium ActivityStarted {"Name": "Office.Telemetry.LoadXmlRules", "CV": "1OzlFrqlrEys7AN6m9YpBw.5.1", "ProcessIdentifier": "setup.exe_16.0.12624.20290_X86_{16E5ECD4-A5BA-4CAC-ACEC-037A9BD62907}"}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run General Telemetry aqkhc Medium InitLogging {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "{\"AppVVersion\":\"0.0\",\"Bitness\":\"32\",\"CommandLine\":\"/download CT360.xml\",\"ExeVer\":\"16.0.12624.20290\",\"IntegrityLevel\":\"0x3000\",\"Locale\":\"1033\",\"ModulePath\":\"C:\\Windows\\Temp\\Office365\\setup.exe\",\"OSVersion\":\"10.0\",\"ProcessType\":\"ODT\",\"ProcessorArch\":\"9\",\"ProductType\":\"1\",\"SecuritySessionId\":\"1\"}"}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run General Telemetry b0fkw Medium wWinMain {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "Set ovverride audienceId to: 492350f6-3a01-4f97-b9c0-c7c6ddf67d60"}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Activity bjtct Medium ActivityStarted {"Name": "Office.ClickToRun.ODT", "CV": "1OzlFrqlrEys7AN6m9YpBw.7", "ProcessIdentifier": "setup.exe_16.0.12624.20290_X86_{16E5ECD4-A5BA-4CAC-ACEC-037A9BD62907}"}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run arql8 Medium Args::ParseArgument: Parsing commandline.
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Activity bjtct Medium ActivityStarted {"Name": "Office.ClickToRun.ComputeInstallPlatformIfDefault", "CV": "1OzlFrqlrEys7AN6m9YpBw.7.1", "ProcessIdentifier": "setup.exe_16.0.12624.20290_X86_{16E5ECD4-A5BA-4CAC-ACEC-037A9BD62907}"}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Activity bjtcw Medium ActivityEnded {"Name": "Office.ClickToRun.ComputeInstallPlatformIfDefault", "CV": "1OzlFrqlrEys7AN6m9YpBw.7.1", "ProcessIdentifier": "setup.exe_16.0.12624.20290_X86_{16E5ECD4-A5BA-4CAC-ACEC-037A9BD62907}"}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Telemetry Event bsq69 Monitorable Deactivated event detected. {"EventName": "Office.ClickToRun.ComputeInstallPlatformIfDefault", "IsFromRule": false}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run arqmb Medium Args::Load: Have Admin scenario
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run arql9 Medium Args::GetNextArgument: Next argument: /download
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run arql9 Medium Args::GetNextArgument: Next argument: CT360.xml
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run aoh7y Medium Args::GetConfigFile: config file: CT360.xml
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run appfq Medium Args::Load: product release id: none culture: en-us
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run apvr9 Medium TrySetUserRegistry::TrySetAttemptGetKey: Setting Attempt Get Key for none
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run General Telemetry ayef6 Medium TrySetUserRegistry::TrySetLicenseTokenOrKey {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "No key or token found for none"}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run General Telemetry buhx5 Medium DetermineCentennialInstallEligibility::HandleStateAction {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "Eligibility Check Skipped."}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run General Telemetry buhx6 Medium DetermineCentennialInstallEligibility::HandleStateAction {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "Force C2R or empty."}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run General Telemetry buhya Medium DetermineCentennialInstallEligibility::HandleStateAction {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "Install Status : {'status':'1'}"}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run aoh78 Medium HandleCommandLineAction::HandleStateAction: Starting Admin tool scenario.
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run aoh8c Medium HandleCommandLineAction::HandleStateAction: Download bits locally.
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run aoh8r Medium DownloadOffice::HandleStateAction: Download office bits to specified location.
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run anwv3 Medium Configuration::InitializeDefaults: Base URL is
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run General Telemetry bqpss Medium ::DoWaitToLaunch {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "customized platform set via propertybag."}
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run aon8k Medium CabManager::DetermineCabName: Type:0, Platform:x86, Version:, Culture: -> v32.cab
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run aon8k Medium CabManager::DetermineCabName: Type:0, Platform:x86, Version:, Culture: -> v32.cab
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run aon8k Medium CabManager::DetermineCabName: Type:0, Platform:x86, Version:, Culture: -> v32.cab
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run anwv1 Medium Configuration::Load: Using the default values. No config file supplied.
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run arqmt Medium DownloadOffice::DownloadPackages: Getting Office in directory: C:\Windows\Temp\Office\Data
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run arqmu Medium DownloadOffice::DownloadPackages: Getting version cab file.
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Click-To-Run aon8k Medium CabManager::DetermineCabName: Type:0, Platform:x86, Version:, Culture: -> v32.cab
03/23/2022 13:39:19.641 SETUP (0x820) 0x125c Activity bjtct Medium ActivityStarted {"Name": "Office.ClickToRun.DownloadCab", "CV": "1OzlFrqlrEys7AN6m9YpBw.7.2", "ProcessIdentifier": "setup.exe_16.0.12624.20290_X86_{16E5ECD4-A5BA-4CAC-ACEC-037A9BD62907}"}
03/23/2022 13:39:19.657 SETUP (0x820) 0x1fc8 Activity bjtcw Medium ActivityEnded {"Name": "Office.Telemetry.LoadXmlRules", "CV": "1OzlFrqlrEys7AN6m9YpBw.5.1", "ProcessIdentifier": "setup.exe_16.0.12624.20290_X86_{16E5ECD4-A5BA-4CAC-ACEC-037A9BD62907}"}
03/23/2022 13:39:19.657 SETUP (0x820) 0x1fc8 Telemetry Event bsq69 Monitorable Deactivated event detected. {"EventName": "Office.Telemetry.LoadXmlRules", "IsFromRule": false}
03/23/2022 13:39:19.657 SETUP (0x820) 0x125c Click-To-Run Error axik4 Unexpected UrlOrPathSettingValidator::Validate {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "Invalid Url or Path : Office\Data\v32.cab"}
03/23/2022 13:39:19.657 SETUP (0x820) 0x125c Activity bjtcw Medium ActivityEnded {"Name": "Office.ClickToRun.DownloadCab", "CV": "1OzlFrqlrEys7AN6m9YpBw.7.2", "ProcessIdentifier": "setup.exe_16.0.12624.20290_X86_{16E5ECD4-A5BA-4CAC-ACEC-037A9BD62907}"}
03/23/2022 13:39:19.657 SETUP (0x820) 0x125c Telemetry Event bsq69 Monitorable Deactivated event detected. {"EventName": "Office.ClickToRun.DownloadCab", "IsFromRule": false}
03/23/2022 13:39:19.657 SETUP (0x820) 0x1fc8 Activity bjtcw Medium ActivityEnded {"Name": "Office.Telemetry.ProcessIdleQueueJob", "CV": "1OzlFrqlrEys7AN6m9YpBw.5", "ProcessIdentifier": "setup.exe_16.0.12624.20290_X86_{16E5ECD4-A5BA-4CAC-ACEC-037A9BD62907}"}
03/23/2022 13:39:19.657 SETUP (0x820) 0x1fc8 Telemetry Event bsq69 Monitorable Deactivated event detected. {"EventName": "Office.Telemetry.ProcessIdleQueueJob", "IsFromRule": false}
03/23/2022 13:39:19.657 SETUP (0x820) 0x125c Click-To-Run Non Task Error aoh8s Unexpected DownloadOffice::HandleStateAction {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ErrorCode": 30029, "ErrorType": "InvalidArgument", "AppVErrorSource": "", "ErrorMessage": "InvalidArgument (Transport: Not a valid address: Office\Data\v32.cab.)", "ErrorDetails": "", "ContextData": "OException has occured. Exiting bootstrapper."}
03/23/2022 13:39:19.657 SETUP (0x820) 0x125c Click-To-Run aoh71 Medium BootstrapperState::OnError: Error has occured. Go to ExitBootStateMachine.
03/23/2022 13:39:19.657 SETUP (0x820) 0x125c Click-To-Run General Telemetry aoh9f Medium TryShowUI::HandleStateAction {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "Showing failure UI."}
03/23/2022 13:39:19.657 SETUP (0x820) 0x125c Click-To-Run General Telemetry a50py Medium TryShowUI::HandleStateAction {"MachineId": "f86e4001cf2a074d8d1e9bfe7d47e308", "SessionID": "efe57cab-9388-4421-b34b-7fc0b690aa49", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.12624.20290", "ContextData": "{'ErrorUrl':'https://officeredir.microsoft.com/r/rlidOfficeWebHelp?p1=OCSAC2RBootstrapper&ver=16&clid=1033&helpid=%2230029-1007-0%22&app=webview','ErrorCode':'30029','ErrorSource':'1007'}"}

Any ideas of what could be going on or what I could try differently? One thing that seems strange is in the logs it seems like it's trying to download the x86 instead of x64 version.

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Jak Ub 6 Reputation points
    2022-03-24T15:14:22.58+00:00

    I believe I got this working. The first thing I did was downloaded the latest Office Deployment Tool and then tried that. The version I had appeared to be from 2020. With the newest version, when running my script, it then gave me an error saying it couldn't find my configuration file. I then modified my script to have the full patch for the configuration file.

    From this:
    "C:\Windows\Temp\Office365\setup.exe" /download MyConfig.xml

    To this:
    "C:\Windows\Temp\Office365\setup.exe" /download C:\Windows\Temp\Office365\MyConfig.xml

    After doing that it appears to be working.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.