/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


I am not able to get Office 365 to install on Windows 10

09/15/2020 309 views

I have tried every suggestion I can find online to build a configuration.xml file to install Office 365.  I have used the Microsoft tool https://config.office.com/ to build it.  Nothing is working.  I have pulled the setup.exe from our OWA and built the configuration.xml from https://config.office.com.  The current reiteration I am using is listed below.  I had to move the zip file I created to our clientdrop location, since it is over 2GB in size.  I can't get Office 365 to install on my test machine let alone a production machine.  I need help.  I have been battling with this for over two months with no movement.  When I run it, this window pops up right away.

f+xV3ICCUfMSAAAAAElFTkSuQmCC


<Configuration>

  <Add OfficeClientEdition="64" Channel="Current">

    <Product ID="O365ProPlusRetail">

      <Language ID="en-us" />

      <Language ID="MatchPreviousMSI" />

      <ExcludeApp ID="Groove" />

      <ExcludeApp ID="Lync" />

      <ExcludeApp ID="OneNote" />

    </Product>

  </Add>

  <Property Name="SharedComputerLicensing" Value="0" />

  <Property Name="PinIconsToTaskbar" Value="FALSE" />

  <Property Name="SCLCacheOverride" Value="0" />

  <Property Name="AUTOACTIVATE" Value="0" />

  <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />

  <Property Name="DeviceBasedLicensing" Value="0" />

  <Updates Enabled="TRUE" />

  <RemoveMSI>

    <IgnoreProduct ID="InfoPath" />

    <IgnoreProduct ID="InfoPathR" />

    <IgnoreProduct ID="PrjPro" />

    <IgnoreProduct ID="PrjStd" />

    <IgnoreProduct ID="SharePointDesigner" />

    <IgnoreProduct ID="VisPro" />

    <IgnoreProduct ID="VisStd" />

  </RemoveMSI>

  <AppSettings>

    <Setup Name="Company" Value="Sparton" />

    <User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="60" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />

    <User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="52" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />

    <User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="ODT" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />

  </AppSettings>

  <Display Level="None" AcceptEULA="TRUE" />

  <Logging Level="Off" />

</Configuration>

Answer Summary:
1 Comment   [ + ] Show comment

Comments

  • How about creating a bat file to run the setup /configure config.xml command silently, pack it up with your deployment files, and then just call the bat file?

Answer Chosen by the Author

0

I use this Batch to install O365

@ECHO OFF
IF NOT EXIST "C:\TempOffice" (MKDIR "C:\TempOffice") ELSE (DEL "C:\TempOffice\*.*" /F /S /Q)
XCOPY /E *.* "C:\TempOffice"
PUSHD %cd%
CD "C:\TempOffice"
setup.exe /configure Configuration.xml
POPD
RMDIR /S /Q "c:\Tempoffice"


The batchfile is placed in the same folder as the setup.exe.


In the install options of the managed installation (k1000) i selected overwrite Command and entered wscript.exe //b //nologo install.vbs as commandline (perhaps the description is different... i use the german version of the k1000)

Answered 09/15/2020 by: CarstenBuscher
Senior Yellow Belt

All Answers

0

Generally, this issue can be resolved by simply reinstalling the Office, so uninstall and then reinstall Office 365. 

 For more info:- Troubleshoot office 365 installing

Answered 09/15/2020 by: shansid
Senior White Belt

0

When building the offline installer (which I presume you are doing), trying using command prompt to run the command below. I have used PowerShell in the past and it is just easier to use command prompt - I wont go into details about the PowerShell issues.

Also, in the Configuration.xml, the path to download/install from needs to be full path, it can not be a relative path - again this will cause all sorts of problems, so just use a full path. Also like in CarstenBuscher batch, make sure the folder exists!

setup.exe /configure Configuration.xml
Answered 09/20/2020 by: rileyz
Red Belt

This content is currently hidden from public view.
Reason: Member has been banned from the site commercial For more information, visit our FAQ's.
0

There are lot of issue that we have seen while office install show error :


1. Reboot might be pending 

2. There is conflict between the flavor of office you are trying to install with existing installed application ( 64 office component vs 32 bit )

and so on ...


You should try to look at logs that get created and see what reason it might be failing for and then install application .

Also have to change logging from current to create logs for application install :


<Logging Level="Off" />  --> <Logging Path="%temp%" />

Answered 09/24/2020 by: rock_star
4th Degree Black Belt

0

Try and run the setup manually from an alternate internet connection, or using ISP supplied DNS server settings, and not one of the free ones. See if that works. We had been using on site windows domain controllers, pointing at 1.1.1.1 as our forwarding dns server for unresolved lookups, but found things would work when we used an alternate internet connection with ISP supplied DNS settings.


Put it down to the free external provider not geo-locating the machines correctly, and as such, was getting the wrong Microsoft CDN addresses sent to the machine, which it couldn't connect to. Changed our dns forwarding settings to our ISP and things started working again. Had previous experience with the google DNS servers doing the same thing not geolocating our corporate website properly. We had diferent versions of the website depending on where in the world you where. Change to ISP provided DNS and things started behaving. 

Answered 09/25/2020 by: Norlag
White Belt

This content is currently hidden from public view.
Reason: Member has been banned from the site commercial For more information, visit our FAQ's.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ