Office 365 logo

Office 365 - 2016

Install any Office 2016 product silently

Description

• Silently installs Office, can be run against user workstations as they are logged in and using the device.
• Will only be noticed if they have prior Office versions running, as the installation will terminate them.
• Can be used on top of Office 2013 products, will upgrade them in place assuming they were of the Office 365 variants.
• Windows only
• Can be set to x86 or x64, and to any supported language.
• No need to have user credentials, once the software installs, it will prompt the user for credentials on first run to activate. Requires Office 365 licensing.

This procedure is built around the Microsoft Office Click 2 Run toolkit, as documented here: https://support.microsoft.com/en-us/help/2842297/product-ids-that-are-supported-by-the-office-deployment-tool-for-click

NOTE: There is an incompatibility between Office 2016 and Project / Visio 2013. There is no workaround other than switching to Project / Visio 2016. This is a Microsoft issue, not a failing with the script.

UPDATE NOTES:
4.27.18: Added verbose logging and free space checking. Procedure will fail if the system has less than the needed 3gb of free space on the OS Volume. When the procedure is first installed, if it has any issues, please check the logs, they include troubleshooting steps for the most common issues.
5.16.18: Updates 7zip and the C2R toolkits to the latest versions.

Developer
  • Name: Quinn Van Order
  • Company: SWAT Systems
  • Website: http://www.swatsystems.com/
  • Contact Developer
  • Summary
  • Office 365 - 2016
  • 46 Downloads
  • Released on November 2nd, 2017
  • Reviews
    Gravatar for samuel@finkeltron.com
    by samuel@finkeltron.com on January 15th, 2018

    The instructions were unclear at first but developer was quick to help. Procedure works perfectly.

    Gravatar for Oliver Heymanns
    by Oliver Heymanns on December 6th, 2017

    Nice Script, works perfectly and saves a lot of time. For Information, we deploy Office 2016 german Version.

    Discussion
    Gravatar for samuel@finkeltron.com
    samuel@finkeltron.com about 1 year ago

    I get error
    Script Summary: Failed THEN in step 5 (Line 14)

    Gravatar for Quinn Van Order
    Quinn Van Order about 1 year ago

    Hey Samuel, line 14 is one of the writefile commands. When this occurs, it generally means the component files it relies upon cannot be found. As per the installation instructions please verify that you have placed the components in a directory named "O365" within the Kaseya shared files directory, and that the write file commands are correctly pointed at said components. If you used a different folder name, you can simply alter the writefile commands to point in the right direction.

    Gravatar for samuel@finkeltron.com
    samuel@finkeltron.com about 1 year ago

    It's all working now that the instructions are a bit more clear. Thank you.

    Gravatar for samuel@finkeltron.com
    samuel@finkeltron.com about 1 year ago

    It's all working now that the instructions are a bit more clear. Thank you.

    Gravatar for John Rutkowski
    John Rutkowski 11 months ago

    Got a Success on the Script but no Office Pro Plus. Office 2013 32 is installed

    Gravatar for Quinn Van Order
    Quinn Van Order 11 months ago

    Hey John, That is interesting! I will reach out to you directly, but I have a suspicion that the situation here is something along the lines of "User had a box copy of office 2013 installed, and it included either Projects or Visio". In that case, this procedure will complete, but office will fail to install, as there is a system breaking incompatibility between those 2 office products and the Click2Run version of office 2016. A planned future revision of this script will log when it hits this eventuality. When testing the script for the first time, it may be wise to throw it against a vanilla setup, just to make sure the core functionality is there.

    I will email you directly to get to the bottom of this!
    -Q

    Gravatar for John Rutkowski
    John Rutkowski 11 months ago

    Thanks for the speedy reply. The existing copy is Open Value licenses version, no Project or Visio, I looked. I'll thorw an Uninstall command at the beginning

    Gravatar for John Rutkowski
    John Rutkowski 11 months ago

    Thanks for the speedy reply. The existing copy is Open Value licenses version, no Project or Visio, I looked. I'll thorw an Uninstall command at the beginning

    Gravatar for Quinn Van Order
    Quinn Van Order 11 months ago

    Hey John, I have never encountered that flavor of office, so its possible this is an edge case I had not accounted for. Worst case, removing the previous office prior to deployment should solve your issue. That said, if your use case is entirely or predominately with machines in this configuration, I would be happy to update this script to account for this situation.

    Gravatar for John Rutkowski
    John Rutkowski 11 months ago

    I set the CONFIGURATION.XML View value to FULL just to see where it gets to, so far the progress bar sits with just a small red bit,

    Gravatar for John Rutkowski
    John Rutkowski 11 months ago

    The is the Microsoft licensed version before Office365 came into existence. Open Value, Open Business are the other names. I have used the Deployment tool, I know it works, but somethings is amiss.

    Gravatar for Quinn Van Order
    Quinn Van Order 11 months ago

    Interesting, so all the moving parts are doing what they should be doing, it almost sounds like a networking issue, if the c2r toolkit is running but is unable to grab the files, I would investigate if you have any network schenanagins in play that may interrupt it phoning home to microsoft. I would advise you setup a tester machine with a fresh copy of windows, and run the script against that just to verify its working in a best case scenario. Testing a new script acquisition against a production machine may send you down a rabbit hole!

    Gravatar for Reinier Onestinghel
    Reinier Onestinghel 8 months ago

    Hi Quinn, would your Agent Procedure also work for MacOS clients?

    Gravatar for Joseph Mayes
    Joseph Mayes 3 months ago

    Hi Quinn, I am having an issue where the Procedure completes but gives an  error in logs: "10/10/2018 18:11:43.820 SETUP (0x1108) 0xf20 Click-To-Run anhmp Medium Prereq::ShowPrereqFailure: A Prereq check has failed. We can't install  The following product(s) can’t be installed at the same time:   O365ProPlusRetail  "

    Tried uninstalling Office 2010 also before running the script. End goal is to install Office 365 Pro Plus to be ready for business user sign in and activation...


    10/10/2018 18:11:43.820 SETUP (0x1108) 0xf20 Click-To-Run General Telemetry ckvrc Medium ChannelValidator::GetIncomingChannel {"MachineId": "47953fe06217d844be1f6571df88c977", "SessionID": "3077907d-3dfe-4e5a-8266-3ad2b646d771", "GeoID": 244, "Ver": "16.0.10827.20150", "C2RClientVer": "0.0", "ContextData": "Incoming channel type: monthly."} BCD1C001-BA37-4307-AEEB-F68B995105CD

    10/10/2018 18:11:43.820 SETUP (0x1108) 0xf20 Click-To-Run General Telemetry ckvre Medium ChannelValidator::GetErrorMessageBodyParam {"MachineId": "47953fe06217d844be1f6571df88c977", "SessionID": "3077907d-3dfe-4e5a-8266-3ad2b646d771", "GeoID": 244, "Ver": "16.0.10827.20150", "C2RClientVer": "0.0", "ContextData": "Blocking apps: O365ProPlusRetail]"} BCD1C001-BA37-4307-AEEB-F68B995105CD

    10/10/2018 18:11:43.820 SETUP (0x1108) 0xf20 Click-To-Run anhmp Medium Prereq::ShowPrereqFailure: A Prereq check has failed. We can't install  The following product(s) can’t be installed at the same time:   O365ProPlusRetail    https://officeredir.microsoft.com/r/rlidOfficeWebHelp?p1=OCSAC2RClickToRun&ver=16&clid=1033&helpid=%2221-BOOTSTRAPPER_PREREQ-mismatched_channel_internal%22&app=webview BCD1C001-BA37-4307-AEEB-F68B995105CD

    10/10/2018 18:11:43.820 SETUP (0x1108) 0xf20 Click-To-Run aoh88 Medium RunPrereqs::HandleStateAction Prereq check has failed. BCD1C001-BA37-4307-AEEB-F68B995105CD

    10/10/2018 18:11:43.820 SETUP (0x1108) 0xf20 Click-To-Run General Telemetry aoh9b Medium HandlePrereqFailure::HandleStateAction {"MachineId": "47953fe06217d844be1f6571df88c977", "SessionID": "3077907d-3dfe-4e5a-8266-3ad2b646d771", "GeoID": 244, "Ver": "16.0.10827.20150", "C2RClientVer": "0.0", "ContextData": "HandlePrereqFailure::HandleStateAction: Fatal failure. Showing UI and quitting bootstrapper."} BCD1C001-BA37-4307-AEEB-F68B995105CD

    10/10/2018 18:11:43.820 SETUP (0x1108) 0xf20 Click-To-Run General Telemetry aoh9g Medium TryShowUI::HandleStateAction {"MachineId": "47953fe06217d844be1f6571df88c977", "SessionID": "3077907d-3dfe-4e5a-8266-3ad2b646d771", "GeoID": 244, "Ver": "16.0.10827.20150", "C2RClientVer": "0.0", "ContextData": "Failure has occured, admin has disabled failure UI."} BCD1C001-BA37-4307-AEEB-F68B995105CD

    10/10/2018 18:11:43.820 SETUP (0x1108) 0xf20 Click-To-Run aoh72 Medium ExitBootStateMachine::HandleStateAction: Bootstrapper workflow exiting with result: 0x0 BCD1C001-BA37-4307-AEEB-F68B995105CD

    10/10/2018 18:11:43.820 SETUP (0x1108) 0xf20 Click-To-Run General Telemetry arqpm Medium wWinMain {"MachineId": "47953fe06217d844be1f6571df88c977", "SessionID": "3077907d-3dfe-4e5a-8266-3ad2b646d771", "GeoID": 244, "Ver": "16.0.10827.20150", "C2RClientVer": "0.0", "ContextData": "AdminBootstrapper::Main: Installation came back with 1603."} BCD1C001-BA37-4307-AEEB-F68B995105CD

    Gravatar for Louis Sorace
    Louis Sorace 3 months ago

    Quinn,

    I had a question regarding tailoring this script for a single version of office, I am trying to incorporate it into a master script to automate our computer deployments, unfortunately when calling the procedure into another one I don't get the prompt to select the version. Any advice here would be appreciated.

    Louis

    Gravatar for Bryan Donahue
    Bryan Donahue 4 days ago

    Hello, 

    Everything has been working great with this procedure up until recently. The procedure is finishing Successful but Office is not installed on the client. Did not notice any problems in the log. We have made no changes to the procedure since it was originally setup in July 2018. Has anything changed recently?

    Gravatar for Valdes Help Desk
    Valdes Help Desk 4 days ago

    I concur with Bryan Donahue, ours also stopped working within the last 10 days or so. 

    Gravatar for Doug Herring
    Doug Herring 4 days ago

    Ditto to Bryan and Valdes. Recently purchased and cannot get working.
    Sent message to creator via this site and no response in a few days.