Skip to content

Instantly share code, notes, and snippets.

@robie2011
Created April 30, 2014 14:03
Show Gist options
  • Save robie2011/11427986 to your computer and use it in GitHub Desktop.
Save robie2011/11427986 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment