OfficeDev / Office-IT-Pro-Deployment-Scripts

A collection of useful PowerShell scripts to make deploying Office 2016 and Office 365 ProPlus easier for IT Pros and administrators. If you have any feature requests or ideas for future scripts please add the idea to the issues list in this repository
http://officedev.github.io/Office-IT-Pro-Deployment-Scripts
MIT License
882 stars 840 forks source link

Root Element Is Missing #278

Open RobertoHN opened 6 years ago

RobertoHN commented 6 years ago

I'm having this issue when using the option Manage your local Office, install toolkit was working before. I'm getting this message on three machines (the ones that I've tried so far). I tried to find a solution within the Closed ones, and indeed, I found one closed post about this very same issue which did not has any suggestion obout how to prevent this from happening.

Here, I provide all the info I could find on my computer (I'm getting this message on three machines (the ones that I've tried so far):

`Root element is missing`
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration
VersionToReport: 16.0.8326.2070
CDNBaseUrl: http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60

There are not xml files named like o365client_32bit.xml or o365client_64bit.xml but there are two xml files named 201711718_32.xml and 201711718_64.xml

I also found a folder named OfficeProPlusInstallGeneratorLogs and inside has this OPPInstallGen-20171107185454.log file:

System.Xml.XmlException: Root element is missing.
   en System.Xml.XmlTextReaderImpl.Throw(Exception e)
   en System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   en System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   en System.Xml.XmlDocument.Load(XmlReader reader)
   en System.Xml.XmlDocument.LoadXml(String xml)
   en OfficeInstallGenerator.ConfigXmlParser.LoadXml(String xml)
   en MetroDemo.ExampleViews.StartView.<ManageLocal>d__15.MoveNext()

Finally, I tried a suggestion that is mentioned on this closed post the says to run a Debug version of the toolkit which also shows Root element is missing

Thanks in advance.