robie2011
4/30/2014 - 2:03 PM

Office Installation

Office Installation

<Configuration Product="SingleImage">

   <!-- Level ===> Setup displays the Welcome screen, the Product Key (PIDKEY) page (if needed), the End-User License Agreement (EULA) page (if needed), a progress bar, and the completion notice (if allowed).  -->
   <!-- CompletionNotice ===> Display end notice after installation -->
   <!-- SuppressModal ===>Setup does not display error messages and other dialog boxes that might interrupt the installation -->
   <!-- NoCancel  ===> disable the cancel button (X in upper-right corner of the progress dialog) -->
   <!-- AcceptEula===> The End-User License Agreement is accepted on behalf of the user. Setup does not display the EULA page.  -->
   <Display Level="Basic" CompletionNotice="no" SuppressModal="no" NoCancel="yes" AcceptEula="yes" />

   <!-- Set installation Key -->  
   <PIDKEY Value="12345-12345-12345-12345-12345" />
      
   <USERNAME Value="Installer" />
   <COMPANYNAME Value="Company Name" />

     
   <!-- Setup writes installation information to the log file. -->
   <Logging Type="standard" Path="%temp%" Template="Microsoft Office Single Image Setup(*).txt" />

     <!-- Programms which are installed or not -->
   <OptionState Id="ACCESSFiles" State="Absent" Children="force" />
   <OptionState Id="EXCELFiles" State="Local" Children="force" />
   <OptionState Id="OneNoteFiles" State="Local" Children="force" />
   <OptionState Id="OUTLOOKFiles" State="Local" Children="force" />
   <OptionState Id="PPTFiles" State="Local" Children="force" />
   <OptionState Id="PubPrimary" State="Absent" Children="force" />
   <OptionState Id="SHAREDFiles" State="Local" Children="force" />
   <OptionState Id="TOOLSFiles" State="Local" Children="force" />
   <OptionState Id="WORDFiles" State="Local" Children="force" />
   
</Configuration>
start /wait setup.exe /config config.xml