Scripting Question

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

09/15/2020 146 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.



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

    <Product ID="O365ProPlusRetail">

      <Language ID="en-us" />

      <Language ID="MatchPreviousMSI" />

      <ExcludeApp ID="Groove" />

      <ExcludeApp ID="Lync" />

      <ExcludeApp ID="OneNote" />



  <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" />


    <IgnoreProduct ID="InfoPath" />

    <IgnoreProduct ID="InfoPathR" />

    <IgnoreProduct ID="PrjPro" />

    <IgnoreProduct ID="PrjStd" />

    <IgnoreProduct ID="SharePointDesigner" />

    <IgnoreProduct ID="VisPro" />

    <IgnoreProduct ID="VisStd" />



    <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" />


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

  <Logging Level="Off" />


1 Comment   [ + ] Show comment


  • 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?

All Answers


I use this Batch to install O365

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
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


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

You can get rid of it, in a simple way. You just have to reinsatll the office, and then use it wisely
Answered 09/21/2020 by: Sanjeev9910
Senior White Belt


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
White Belt

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