If you try to download your Office setup files with the command setup.exe /download configuration.xml with the configuration file you created in Office Deployment Tool you may get the following error:
Couldn't install
We're sorry, we had a problem installing your Office program(s).
Is your internet connection working? Do you have enough free space on your main hard drive?
Please try installing again after you've checked the above.
Error Code: 30088-1007 (0)
This special error happens most time because you edit your file with notepad and this save the file with format ANSI. But the file needs format UTF-8.
Simply open the file with Notepad2, Notepad++ or similar and change the format to UTF-8 and save it again. Now the download will most likely work.
Build Configuration "Helper"
You can create a configuration.xml file for Office Deyployment with https://config.office.com/
Setup Shortcut with relative path
As you know, normally there are no relative paths in Windows Shortcuts.
Assume you have a local or network folder with the Deployment Tool setup.exe, your configuration file, and the office installation files.
Normally, you enter a source-path into the configuration.xml file to add your installation source. This one is used by the installer. But maybe you just want to use the setup files from that folder you just are in or where you just copied your files. So in this case you have to remove the source-path information from your configuration.xml file BUT you always have to open a command line with setup.exe /configure configuration.xml. Would'nt it be easier with a dynamic shortcut? Yes it would. So here is how you can create this shortcut:
This code already has some settings for office
<Configuration ID="myofficesetup1">
<Add OfficeClientEdition="32" Channel="PerpetualVL2019" ForceUpgrade="TRUE">
<Product ID="Standard2019Volume">
<Language ID="de-de" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="OneDrive" />
</Product>
<Product ID="ProofingTools">
<Language ID="de-de" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="PinIconsToTaskbar" Value="FALSE" />
<Property Name="SCLCacheOverride" Value="0" />
<Property Name="AUTOACTIVATE" Value="FALSE" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Property Name="DeviceBasedLicensing" Value="0" />
<Updates Enabled="TRUE" />
<AppSettings>
<User Key="software\microsoft\office\16.0\access\security" Name="vbawarnings" Value="4" Type="REG_DWORD" App="access16" Id="L_VBAWarningsPolicy" />
<User Key="software\microsoft\office\16.0\access\security" Name="blockcontentexecutionfrominternet" Value="1" Type="REG_DWORD" App="access16" Id="L_BlockMacroExecutionFromInternet" />
<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\excel\security" Name="blockcontentexecutionfrominternet" Value="1" Type="REG_DWORD" App="excel16" Id="L_BlockMacroExecutionFromInternet" />
<User Key="software\microsoft\office\16.0\excel\security\fileblock" Name="xlsmandxltmfiles" Value="4" Type="REG_DWORD" App="excel16" Id="L_Excel2007AndLaterMacroEnabledWorkbooksAndTemplates" />
<User Key="software\microsoft\office\16.0\excel\options" Name="disableboottoofficestart" Value="1" Type="REG_DWORD" App="excel16" Id="L_DisableOfficeStartExcel" />
<User Key="software\microsoft\office\16.0\onenote\options\other" Name="measurementunit" Value="1" Type="REG_DWORD" App="onent16" Id="L_DefaultunitofmeasurementusedinOneNote" />
<User Key="software\microsoft\office\16.0\onenote\options\other" Name="runsystemtrayapp" Value="0" Type="REG_DWORD" App="onent16" Id="L_AddOneNoteicontonotificationarea" />
<User Key="software\microsoft\office\16.0\outlook\search" Name="defaultsearchscope" Value="2" Type="REG_DWORD" App="outlk16" Id="L_SetDefaultSearchScope" />
<User Key="software\microsoft\office\16.0\outlook\preferences" Name="disableattachmentpreviewing" Value="1" Type="REG_DWORD" App="outlk16" Id="L_DisableAttachmentPreviewing" />
<User Key="software\microsoft\office\16.0\outlook\options\calendar" Name="workday" Value="254" Type="REG_DWORD" App="outlk16" Id="L_Workweek" />
<User Key="software\microsoft\office\16.0\outlook\options\calendar" Name="weeknum" Value="1" Type="REG_DWORD" App="outlk16" Id="L_Calendarweeknumbers" />
<User Key="software\microsoft\office\16.0\outlook\options\calendar" Name="disableweather" Value="1" Type="REG_DWORD" App="outlk16" Id="L_DisableWeather" />
<User Key="software\microsoft\office\16.0\outlook\options\mail" Name="blockextcontent" Value="1" Type="REG_DWORD" App="outlk16" Id="L_Blockexternalcontent" />
<User Key="software\microsoft\office\16.0\outlook\security" Name="donttrustinstalledfiles" Value="1" Type="REG_DWORD" App="outlk16" Id="L_Applymacrosecuritysettings" />
<User Key="software\microsoft\office\outlook\socialconnector" Name="runosc" Value="0" Type="REG_DWORD" App="outlk16" Id="L_TurnOffOutlookSocialConnector" />
<User Key="software\microsoft\office\outlook\socialconnector" Name="unmanagedinfobars" Value="1" Type="REG_DWORD" App="outlk16" Id="L_DoNotShowSocialNetworkInfoBars" />
<User Key="software\microsoft\office\outlook\socialconnector" Name="disablecontactdownload" Value="1" Type="REG_DWORD" App="outlk16" Id="L_BlockSocialNetworkContactSynchronization" />
<User Key="software\microsoft\office\16.0\outlook\message" Name="disablereadingpanecompose" Value="1" Type="REG_DWORD" App="outlk16" Id="L_DisableReadingPaneCompose" />
<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\security" Name="blockcontentexecutionfrominternet" Value="1" Type="REG_DWORD" App="ppt16" Id="L_BlockMacroExecutionFromInternet" />
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="disableboottoofficestart" Value="1" Type="REG_DWORD" App="ppt16" Id="L_DisableOfficeStartPowerPoint" />
<User Key="software\microsoft\office\16.0\publisher\preferences" Name="disableboottoofficestart" Value="1" Type="REG_DWORD" App="pub16" Id="L_DisableOfficeStartPublisher" />
<User Key="software\microsoft\office\16.0\ms project\security" Name="vbawarnings" Value="4" Type="REG_DWORD" App="proj16" Id="L_VBAWarningsPolicy" />
<User Key="software\microsoft\office\16.0\ms project\options\general" Name="disableboottoofficestart" Value="1" Type="REG_DWORD" App="proj16" Id="L_DisableOfficeStartProject" />
<User Key="software\microsoft\office\16.0\visio\security" Name="blockcontentexecutionfrominternet" Value="1" Type="REG_DWORD" App="visio16" Id="L_BlockMacroExecutionFromInternet" />
<User Key="software\microsoft\office\16.0\visio\security" Name="vbawarnings" Value="4" Type="REG_DWORD" App="visio16" Id="L_VBAWarningsPolicy" />
<User Key="software\microsoft\office\16.0\visio\application" Name="disableboottoofficestart" Value="1" Type="REG_DWORD" App="visio16" Id="L_DisableOfficeStartVisio" />
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />
<User Key="software\microsoft\office\16.0\word\security" Name="blockcontentexecutionfrominternet" Value="1" Type="REG_DWORD" App="word16" Id="L_BlockMacroExecutionFromInternet" />
<User Key="software\microsoft\office\16.0\word\options" Name="disableboottoofficestart" Value="1" Type="REG_DWORD" App="word16" Id="L_DisableOfficeStartWord" />
</AppSettings>
<Logging Level="Standard" Path="%temp%" />
</Configuration>