代码一:
<Configuration> <Info Description="" /> <Add OfficeClientEdition="64" Channel="PerpetualVL2019" AllowCdnFallback="TRUE" ForceUpgrade="TRUE"> <Product ID="ProPlus2019Volume"> <Language ID="zh-cn" /> <ExcludeApp ID="Groove" /> <ExcludeApp ID="OneNote" /> <ExcludeApp ID="OneDrive" /> <ExcludeApp ID="Publisher" /> <ExcludeApp ID="Access" /> <ExcludeApp ID="Lync" /> </Product> </Add> <Property Name="SharedComputerLicensing" Value="0" /> <Property Name="PinIconsToTaskbar" Value="TRUE" /> <Property Name="SCLCacheOverride" Value="0" /> <Updates Enabled="TRUE" /> <RemoveMSI All="TRUE" /> <AppSettings> <Setup Name="Company" Value="Tom" /> </AppSettings> </Configuration>
代码二:
<Configuration ID="dbfc07d9-193c-4fe3-956f-66e0a22a74a6"> <Add OfficeClientEdition="64" Channel="PerpetualVL2019" ForceUpgrade="TRUE"> <Product ID="ProPlus2019Volume"> <Language ID="MatchOS" /> <ExcludeApp ID="Access" /> <ExcludeApp ID="Groove" /> <ExcludeApp ID="Lync" /> <ExcludeApp ID="OneDrive" /> <ExcludeApp ID="OneNote" /> <ExcludeApp ID="Outlook" /> <ExcludeApp ID="Publisher" /> </Product> </Add> <Property Name="SharedComputerLicensing" Value="0" /> <Property Name="PinIconsToTaskbar" Value="TRUE" /> <Property Name="SCLCacheOverride" Value="0" /> <Property Name="AUTOACTIVATE" Value="FALSE" /> <Updates Enabled="TRUE" /> <RemoveMSI /> </Configuration>