Background

The June 2014 release (build 15.0.4623.1003 and later versions) of Office Click-to-Run from Office 365 allows you to automate both a quick and online repair of Office 2013.

Note - if using an Office build lower than 15.0.4569.1007 you will need to use integratedoffice.exe to perform a Quick Repair.  Further information on using integratedoffice.exe can be found here, Automating Quick Repairs in Office 365 ProPlus.


More Information

OfficeClicktoRun.exe is the executable that will allow you to automate a repair in Office 2013.  This executable will reside in one of the following locations based on the version of the Operating System:

64-bit OS:
C:\Program Files\Microsoft Office 15\ClientX64

32-bit OS:
C:\Program Files\Microsoft Office 15\ClientX86

Here is the list of variables that can be used with OfficeClickToRun.exe:

Variable 

Possible Values 

Description 

scenario

 

Repair

 

Mandatory

platform

 

x86 | x64

 

Need to specify the platform version of Office.  x86 is for the 32-bit version of Office. x64 is for the 64-bit version of Office. Mandatory

culture

ll-cc

Need to specify the language identifier for the version of Office that is installed .  If multiple languages are installed, just need to specify one of the languages and not all.  For example, if English Office is installed the ll-cc value will be en-us.  See here for the full list of Office language identifiers. Mandatory

forceappshutdown

True | False

 

If set to True will close all Office applications prior to running the Repair.  If Office applications are open and forceappshutodwn is not used or set to False, the Repair will fail. Optional

RepairType 

QuickRepair | FullRepair 

This specifies if the user is going to run a Quick repair (QuickRepair) or an Online Repair (FullRepair).  Note - if running an Online repair, all Office applications will be reinstalled and will override any settings made in the configuration.xml file. Optional

DisplayLevel 

True | False 

Setting the DisplayLevel to True will show a full UI and setting it to False will make the UI silent. Optional


For example, to do a silent Online Repair, run the following command from an elevated command prompt:

"C:\Program Files\Microsoft Office 15\ClientX64\OfficeClickToRun.exe" scenario=Repair platform=x86 culture=en-us RepairType=FullRepair DisplayLevel=False


Related Information

For more information on the build versions of Office 2013 Click-to-Run, please see the following KB article
Microsoft Office 2013 Click-to-Run virtualization