I have been using .xml file A to install Visio Standard 2016 (+ Word, Outlook, OneNotes, Excel, Powerpoint, Teams, OneDrive and Access) which works perfectly.
But when I try to remove Visio without touching the other apps, using .xml file B or C, it won't work.
My goal is being able to install and remove Visio Standard 2016 without touching the other '+ apps which I named up here'.
Any tips/advice/feedback please?
XML File A:
<Configuration ID="36de***f05e">
<Add Version="MatchInstalled">
<Product ID="VisioStdXVolume" PIDKEY="XXXX-XXXX-XXXX-XXXX-XXXX">
<Language ID="MatchOS" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="Publisher" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Property Name="DeviceBasedLicensing" Value="0" />
<Property Name="SCLCacheOverride" Value="0" />
<Property Name="AUTOACTIVATE" Value="1" />
<Updates Enabled="TRUE" />
<AppSettings>
<Setup Name="Company" Value="Test" />
<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\\powerpoint\\options" Name="defaultformat" Value="27" Type="REG\\_DWORD" App="ppt16" Id="L\\_SavePowerPointfilesas" />
<User Key="software\\microsoft\\office\\16.0\\word\\options" Name="defaultformat" Value="" Type="REG\\_SZ" App="word16" Id="L\\_SaveWordfilesas" />
</AppSettings>
<Display Level="None" AcceptEULA="TRUE" />
</Configuration>
XML File B:
<Configuration>
<Remove>
<Product ID="VisioStdXVolume">
<Language ID="MatchOS" />
</Product>
</Remove>
</Configuration>
XML File C:
<Configuration ID="36deb***c70f05e">
<Info Description="Configuratie voor het deïnstalleren van Visio 2016 Standard" />
<Add Version="MatchInstalled">
<Product ID="VisioStdXVolume" PIDKEY="XXXX-XXXX-XXXX-XXXX-XXXX">
<Language ID="MatchOS" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="Publisher" />
<ExcludeApp ID="VisioStdXVolume" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Property Name="DeviceBasedLicensing" Value="0" />
<Property Name="SCLCacheOverride" Value="0" />
<Property Name="AUTOACTIVATE" Value="1" />
<Updates Enabled="TRUE" />
<AppSettings>
<Setup Name="Company" Value="Test" />
<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\\powerpoint\\options" Name="defaultformat" Value="27" Type="REG\\_DWORD" App="ppt16" Id="L\\_SavePowerPointfilesas" />
<User Key="software\\microsoft\\office\\16.0\\word\\options" Name="defaultformat" Value="" Type="REG\\_SZ" App="word16" Id="L\\_SaveWordfilesas" />
</AppSettings>
<Display Level="None" AcceptEULA="TRUE" />
</Configuration>