PROBLEM:

For several years we have uninstalled Office using a command like:

\\cal-s2\office365$\Office365ProPlus\setup.exe /uninstall ProPlus /config \\cal-s2\office365$\uninstall-Office365ProPlus.xml

but it now errors out with:

Office Deployment Tool
SETUP [mode] [path]
SETUP /download [path to configuration file]
SETUP /configure [path to configuration file]
SETUP /packager [path to configuration file] [output path]
SETUP /customize [path to configuration file]
/download Downloads files to create an Office installation source
/configure Adds, removes, or configures an Office installation
/packager Produces an Office App-V package from an Office installation source
/customize Applies settings for Office applications

This indicates that the /UNINSTALL switch no longer functions and that /CONFIGURE is what must now be used to remove apps.

SOLUTION:

You can still use the Office Deployment Tool Setup.exe (which you can source directly from Microsoft HERE)

\\<server path>\setup.exe /configure \\<server path>\uninstall-Office365ProPlus.xml

so with UNC paths, mine looks like:

\\cal-s2\office365$\Office365ProPlus\setup.exe /configure \\cal-s2\office365$\uninstall-Office365ProPlus.xml

with uninstall-Office365ProPlus.xml containing

<Configuration>
<Display Level="None" AcceptEULA="True" />
<Property Name="FORCEAPPSHUTDOWN" Value="True" />
<Remove>
<Product ID="O365ProPlusRetail">
</Product>
</Remove>
</Configuration>

View Comments

Published by
Ian Matthews

This website uses cookies.