Forum Discussion
Channel MonthlyEnterprise
I want to add, for troubleshooting, do this:
1. Delete all files from %temp%.
2. Reproduce the issue.
3. Go into %temp%, open the most recent file which is in the format of %computername%-%timestamp%.log.
4. Search bottom-up for "unexpected". These are "hard" errors. Read the whole(!) line. Towards the end there are often human readable error messages. Also check the ~two lines above/below for cues.
E.g. my failed test (because the specified sourcepath was not accessible) looks likes like this:
03/02/2023 09:36:14.366 SETUP (0x1c0c8) 0x150d4 Click-To-Run Non Task Error brkp4 Unexpected wWinMain {"MachineId": "5f532c6cd3c0a8489e7b7bb286ebd715", "SessionID": "21003f8c-c0f6-4554-95ad-8c9e76c37d0e", "GeoID": 94, "Ver": "0.0.0.0", "C2RClientVer": "16.0.16026.20162", "ErrorCode": 5, "ErrorType": "5", "AppVErrorSource": "", "ErrorMessage": "ErrorCodeOnly (Failed to ensure a directory. , Error:0x5)", "ErrorDetails": "", "ContextData": "{\"message\":\"Installation failed (OException)\"}"}
So, the logs hints me into the direction that my installation failed due to some issues with the directory I provided.
- manoth_msftJul 25, 2024Microsoft
wygcuba If you have downloaded the setup.exe (aka Office Deployment Tool) from the Microsoft Download center, you need to provide an XML to it. Otherwise it has no instructions what to do. Check out Overview of the Office Deployment Tool - Microsoft 365 Apps | Microsoft Learn.
- wygcubaJul 25, 2024Copper Contributor
@ just downloaded from Internet the last version of the setup.exe installer for Office 365, and when I tried to tun it, it gave me the error code 0-2015 (2250). I don't have an xml file or similar, just the setup.exe file, downloaded directly from Office webpage. How is that even in 2024 this is not solved?
- kamesh_ssMar 07, 2023Copper Contributor
Narrowing down the issue more
03/07/2023 22:38:58.886 SETUP (0x2180) 0x2070 Click-To-Run Non Task Error brkp4 Unexpected wWinMain {"MachineId": "314c03f2e21e7f4f8b5f3ca279414f80", "SessionID": "04c4da1a-6d3a-4080-bd1b-ab8223fac50f", "GeoID": 244, "Ver": "0.0.0.0", "C2RClientVer": "16.0.16026.20162", "ErrorCode": 30088, "ErrorType": "UnexpectedError", "AppVErrorSource": "", "ErrorMessage": "UnexpectedError (Error Parsing Json string. , Error:0x7)", "ErrorDetails": "", "ContextData": "{\"message\":\"Installation failed (OException)\"}"}
I'm getting the above error with the same XML file. We've added more endpoints to the proxy.
The error is now Error Parsing Json String. No idea what that means in ODT.
- kamesh_ssMar 02, 2023Copper ContributorThanks, that actually helped!