Office 2010 uninstall using config.xml

Hello All,

I am uninstalling Office 2010 in order to upgrade to Office 2013.

I am using the config.xml file for the uninstall of Office 2010.

Following is the content of xml file :

-  <Configuration Product="ProPlus">    <Display Level="none" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />

  <SettingId="SETUP_REBOOT" Value="never" />

   </configuration>

The above xml file uninstall the product but does not give a prompt for the reboot.

I have also tried the "Setup_Reboot" Value="Always" as well but no luck.

Please suggest to use the correct combination that should uninstall the product silently and then gives a prompt to reboot the system. 

An urgent help will be much appreciated.

Thanks in Advance.


June 17th, 2015 8:12am

Hi Manu,

Based on your description, you wonder to restart computer after uninstalling Office in your computer.

<Configuration Product="ProPlusSub">

   <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />

   <Setting Id="SETUP_REBOOT" Value="Never" />

</Configuration>

The settings in the config.xml file cause the following to occur when you uninstall:

  • No dialog boxes or error messages are displayed.
  • The computer DOESNT restart after you finish uninstalling.

Now please modify the wrong syntax to this syntax:

<SettingId="SETUP_REBOOT" Value="Always" />

This syntax is to suppress restart your computer after installing.

SETUP_REBOOT:   Determines how Setup restarts the computer after installation. You MUST use all uppercase letters, SETUP_REBOOT.

  • AutoAlways:   Always trigger a restart. Do not prompt the user.
  • Always:   Always prompt for a restart at the end of SETUP.
  • IfNeeded:   Prompt for a restart at the end of Setup, if Setup requires a restart. (Default)
  • AutoIfNeeded:   Begin a restart, if Setup requires a restart. Do not prompt the user.
  • Never:   Never trigger or prompt for a restart.

More information about Config.xml file reference for Office please read this article:

https://technet.microsoft.com/en-us/library/cc179195.aspx

If you need to know how to Upgrade to Office 365 ProPlus from Office Professional Plus 2010, please read this article:

https://technet.microsoft.com/en-us/library/dn921831.aspx

Hope its helpful.

Regards,

George Zhao
TechNet Community Support

Free Windows Admin Tool Kit Click here and download it now
June 18th, 2015 3:01am


Now please modify the wrong syntax to this syntax:

<SettingId="SETUP_REBOOT" Value="Always" />

Appreciate your help George. Thanks a lot for same.

I have already tried this but the system still reboots after the uninstall of Office 2010 proplus finishes.

I somehow need a prompt on the screen right after the uninstall is finished so that users should not loose their unsaved work in other applications.


  • Edited by Manu21 15 hours 51 minutes ago missed
June 18th, 2015 11:35am


Now please modify the wrong syntax to this syntax:

<SettingId="SETUP_REBOOT" Value="Always" />

Appreciate your help George. Thanks a lot for same.

I have already tried this but the system still reboots after the uninstall of Office 2010 proplus finishes.

I somehow need a prompt on the screen right after the uninstall is finished so that users should not loose their unsaved work in other applications.


  • Edited by Manu21 Thursday, June 18, 2015 3:39 PM missed
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2015 3:34pm

Hello All,

Sorry for replying late. The issue got fixed once I set the 'CompletionNotice='Yes' along with <Setting Id="SETUP_REBOOT" Value="Always" />

Now I am getting the prompt for reboot once the setup finishes uninstalling Office 2010.

So the final config.xml file looks like:

<Configuration Product="ProPlusSub">

   <Display Level="none" CompletionNotice="Yes" SuppressModal="yes" AcceptEula="yes" />

   <Setting Id="SETUP_REBOOT" Value="Always" />

</Configuration>

Thanks George for guiding towards the right way.

  • Marked as answer by Manu21 22 hours 43 minutes ago
July 6th, 2015 4:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics