In daily maintenance, multiple computers need to install Office, but office contains a lot of components (excel/word/ppt/outlook/access, etc.), some are not needed, by default, Office is installed by default, one adjustment is too troublesome, After finding the data, the corresponding solution was found.
Method:
Use Notepad to open the Microsoft_office_2010\proplus.ww\config.xml file under the installation directory and modify it as follows (install Excel\word\ppt\outlook only by default)
<ConfigurationProduct= "ProPlus"> <Display Level= "full"CompletionNotice= "Yes"SuppressModal= "No"AcceptEula= "Yes" /> <!--<logging type= "standard" path= "%temp%" template= "Microsoft Office Professional Plus Setup (*). txt"/> - <!--<username value= "Customer"/> - <!--<companyname value= "MyCompany"/> - <!--<installlocation value= "%ProgramFiles%\Microsoft Office"/> - <!--<lis cacheaction= "cacheonly"/> - <!--<lis sourcelist= "\\server1\share\office;\\server2\share\office"/> - <!--<distributionpoint location= "\\server\share\Office"/> - <!--<optionstate id= "optionID" state= "absent" children= "force"/> - <optionstateId= "WORDFiles" State= "Local"Children= "Force" /> <optionstateId= "EXCELFiles" State= "Local"Children= "Force" /> <optionstateId= "OUTLOOKFiles" State= "Local"Children= "Force" /> <optionstateId= "PPTFiles" State= "Local"Children= "Force" /> <optionstateId= "AccessFiles" State= "Absent"Children= "Force" /> <optionstateId= "Visiopreviewerfiles" State= "Absent"Children= "Force" /> <optionstateId= "Pubprimary" State= "Absent"Children= "Force" /> <optionstateId= "Onenotefiles" State= "Absent"Children= "Force" /> <optionstateId= "Xdocsfiles" State= "Absent"Children= "Force" /> <optionstateId= "Groovefiles" State= "Absent"Children= "Force" /> <optionstateId= "Sharedfiles" State= "Local"Children= "Force" /> <optionstateId= "Toolsfiles" State= "Local"Children= "Force" /> <!--<setting id= "Setup_reboot" value= "ifneeded"/> - <!--<command path= "%windir%\system32\msiexec.exe" args= "/I \\server\share\my.msi" quietarg= "/q" chainposition= " After "execute=" Install "/> -</Configuration>
By observing, it is not difficult to find that the key in State,local is the default installation, absent is not installed.
The following is a configuration file for Office 2013
<ConfigurationProduct= "ProPlus"> <Display Level= "full"CompletionNotice= "Yes"SuppressModal= "No"AcceptEula= "Yes" /> <!--<logging type= "standard" path= "%temp%" template= "Microsoft Office Professional Plus Setup (*). txt"/> - <!--<username value= "Customer"/> - <!--<companyname value= "MyCompany"/> - <!--<installlocation value= "%ProgramFiles%\Microsoft Office"/> - <!--<lis cacheaction= "cacheonly"/> - <!--<lis sourcelist= "\\server1\share\office;\\server2\share\office"/> - <!--<distributionpoint location= "\\server\share\Office"/> - <!--<optionstate id= "optionID" state= "absent" children= "force"/> - <optionstateId= "WORDFiles" State= "Local"Children= "Force" /> <optionstateId= "EXCELFiles" State= "Local"Children= "Force" /> <optionstateId= "OUTLOOKFiles" State= "Local"Children= "Force" /> <optionstateId= "PPTFiles" State= "Local"Children= "Force" /> <optionstateId= "AccessFiles" State= "Absent"Children= "Force" /> <optionstateId= "Visiopreviewerfiles" State= "Absent"Children= "Force" /> <optionstateId= "Pubprimary" State= "Absent"Children= "Force" /> <optionstateId= "Onenotefiles" State= "Absent"Children= "Force" /> <optionstateId= "Xdocsfiles" State= "Absent"Children= "Force" /> <optionstateId= "GrooveFiles2" State= "Absent"Children= "Force" /> <optionstateId= "Lynccorefiles" State= "Absent"Children= "Force" />><optionstateId= "Sharedfiles" State= "Local"Children= "Force" /> <optionstateId= "Toolsfiles" State= "Local"Children= "Force" /> <!--<setting id= "Setup_reboot" value= "ifneeded"/> - <!--<command path= "%windir%\system32\msiexec.exe" args= "/I \\server\share\my.msi" quietarg= "/q" chainposition= " After "execute=" Install "/> -</Configuration>
View Code
Microsoft Office 2010/2013 Installation Component presets