To Add or Remove Components in MS Office 2007 Pro you can use this command:
setup.exe /config Add_remove_comp.xml /modify "ProPlus"
where Add_remove_comp.xml is a modified XML file which contains Office components and "ProPlus" is MS Office 2007 version.
Example:
*configuration product="ProPlus">
*Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
*Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" />
*PIDKEY Value="Office ser no" />
*USERNAME Value="user name" />
*COMPANYNAME Value="Company name" />
*INSTALLLOCATION Value="%programfiles%\Microsoft Office" />
*OptionState Id="ACCESSFiles" State="Absent" />
*OptionState Id="EXCELFiles" State="Absent" />
*OptionState Id="GrooveFiles" State="Absent" />
*OptionState Id="OneNoteFiles" State="Absent" />
*OptionState Id="OUTLOOKFiles" State="Local" Children="force" />
*OptionState Id="PPTFiles" State="Absent" />
*OptionState Id="PubPrimary" State="Absent" />
*OptionState Id="WORDFiles" State="Local" Children="force" />
*OptionState Id="VisioPreviewerFiles" State="Local" Children="force" />
*OptionState Id="XDOCSFiles" State="Local" Children="force" />
*OptionState Id="SHAREDFiles" State="Local" Children="force" />
*OptionState Id="TOOLSFiles" State="Local" Children="force" />
*Setting Id="Reboot" Value="Never" />
*Configuration>
Copy these lines into xml file and instead * at the begining of each line put "<"
You can customize our Office 2007 installation using State="Local" Children="force" for components that you want to be installed or State="Absent" for applications that you want to be removed or not installed.
No comments:
Post a Comment