Share via

Installing and Removing Visio Standard 2016 with a configuration file

Anonymous
2022-11-21T12:57:12+00:00

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>

Microsoft 365 and Office | Visio | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2022-11-22T15:00:39+00:00

    Dear Arash,

    Thanks for your time and understanding.

    You may refer to the suggestions in this similar thread:

    MS VISIO 2016 script uninstallation --- Setup /Uninstall <Prod - Microsoft Community

    Check the last 3 replies from Kent_M123,  Mike_F_979 and  sgustafsonKC.

    If you still cannot uninstall Visio Standard 2016 by using configuration file, we sincerely recommend you try to contact Microsoft Online Support, as the support team over there has higher permission than us, they can remotely and directly help you check your configuration file, collect logs when it doesn't work for uninstalling Visio, they will involve more resource to help you find working command. This would be the most efficient way in handling this case for you.

    You can contact Microsoft Online Support via this page, firstly describe the question and click Get help, then click Contact Support, select Product and service (Other Products), Confirm, then you will get a link to chat with a support agent in your web browser.

    Thanks for your understanding and cooperation! I hope that you are keeping safe and well.

    Sincerely,

    Tina | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-11-21T14:51:54+00:00

    Dear Arash,

    We appreciate you post back and clarify your requirement.

    Please allow us some time and we will check from our side and see if there is any way that can use a configuration file to remove Visio.

    We will post back as soon as we get any update.

    Your patience and understanding will be highly appreciated.

    Have a nice day!

    Sincerely,

    Tina | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-11-21T14:33:06+00:00

    Dear Tina,

    Thank you for replying. I know I can Uninstall Visio by removing it from Appwiz.cpl (Programs and Features).

    The thing is..I'm trying to make this work with a Powershell script, the same way you can exclude Office apps in a configuration file and having them removed when running that config file.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-11-21T14:17:38+00:00

    Dear Arash,

    Greetings! Thank you for posting in Microsoft Community.

    As per your description, you want to remove Visio by using .xml file without touching the other Office apps but it won't work.

    We'd like to help you. Please let us cooperate and please don't worry, we can work together and try to narrow down and resolve the situation.

    Generally, Visio app is not contained in Office suit (Word, Outlook, OneNotes, Excel, Powerpoint).

    We can remove/uninstall it from Control Panel>Programs>Uninstall a program, right click Visio product and choose Uninstall, as shown below.

    May I know if you can find your Visio product from the programs list? If yes, can you uninstall it from there?

    If our understanding of the scenario is not consistent with yours, feel free to point it out, we will continue helping you.

    I hope you keep safe and healthy always!

    Sincerely,

    Tina | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments