« C:\Program Files\Common Files\microsoft
shared\ClickToRun\OfficeClickToRun.exe » scenario=Repair
DisplayLevel=True RepairType=QuickRepair
à adapter selon le tableau ci-dessous:
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
|
https://blogs.technet.microsoft.com/odsupport/2014/08/12/office-click-to-run-command-lines-to-automate-a-quick-and-online-repair-in-office-2013/
Aucun commentaire:
Enregistrer un commentaire