Skip to content

Instantly share code, notes, and snippets.

@hacker1024
Last active May 12, 2024 00:23
Show Gist options
  • Save hacker1024/1bca04a88caa67fe8fd33b708a5fa5f7 to your computer and use it in GitHub Desktop.
Save hacker1024/1bca04a88caa67fe8fd33b708a5fa5f7 to your computer and use it in GitHub Desktop.
My ideal Office configuration. Installs Word, PowerPoint, Excel, Publisher, OneNote with the preview channel, along with versions of Visio and Project that can be otained through Azure for Students.
  1. Download the Office Deployment Tool

    # winget install -e Microsoft.OfficeDeploymentTool
    # https://github.com/microsoft/winget-pkgs/pull/105205
  2. Install Office

    & 'C:\Program Files\OfficeDeploymentTool\setup.exe' /configure office_configuration.xml
<Configuration ID="c80ac960-9d31-48d3-a370-deb701cb08c0">
<Add OfficeClientEdition="64" Channel="CurrentPreview" MigrateArch="TRUE">
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="Outlook" />
<ExcludeApp ID="Teams" />
<ExcludeApp ID="Bing" />
</Product>
<Product ID="VisioPro2021Retail" PIDKEY="">
<Language ID="en-us" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="Outlook" />
<ExcludeApp ID="Teams" />
<ExcludeApp ID="Bing" />
</Product>
<Product ID="ProjectPro2021Retail" PIDKEY="">
<Language ID="en-us" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="OneDrive" />
<ExcludeApp ID="Outlook" />
<ExcludeApp ID="Teams" />
<ExcludeApp ID="Bing" />
</Product>
</Add>
<Property Name="FORCEAPPSHUTDOWN" Value="FALSE" />
<Property Name="AUTOACTIVATE" Value="1" />
<Updates Enabled="TRUE" />
<RemoveMSI />
<AppSettings>
<Setup Name="Company" Value="Joshua Leivenzon" />
<User Key="software\microsoft\office\16.0\common\languageresources" Name="installlanguage" Value="3081" Type="REG_DWORD" App="office16" Id="L_PrimaryEditingLanguage" />
<User Key="software\microsoft\office\16.0\common\languageresources" Name="preferrededitinglanguage" Value="en-AU" Type="REG_DWORD" App="office16" Id="L_PrimaryEditingLanguage" />
<User Key="software\microsoft\office\16.0\excel\options" Name="developertools" Value="1" Type="REG_DWORD" App="excel16" Id="L_DisplayDeveloperTab" />
<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />
<User Key="software\microsoft\office\16.0\outlook\options" Name="developertools" Value="1" Type="REG_DWORD" App="outlk16" Id="L_DisplayDeveloperTab" />
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="developertools" Value="1" Type="REG_DWORD" App="ppt16" Id="L_DisplayDeveloperTab" />
<User Key="software\microsoft\office\16.0\publisher\preferences" Name="developertools" Value="1" Type="REG_DWORD" App="pub16" Id="L_DisplayDeveloperTab" />
<User Key="software\microsoft\office\16.0\ms project\settings" Name="developertools" Value="1" Type="REG_DWORD" App="proj16" Id="L_DisplayDeveloperTab" />
<User Key="software\microsoft\office\16.0\visio\application" Name="developertools" Value="1" Type="REG_DWORD" App="visio16" Id="L_DisplayDeveloperTab" />
<User Key="software\microsoft\office\16.0\word\options" Name="developertools" Value="1" Type="REG_DWORD" App="word16" Id="L_DisplayDeveloperTab" />
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />
</AppSettings>
<Display Level="Full" AcceptEULA="TRUE" />
</Configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment