Good Morning.
I am writing a script to uninstall MS Office 2007 Enterprise & other versions of Office from PCs in our organization.
The main requirement is Uninstallation should be silent & should not restart PC after uninstallation.

I have tried following option. The only problem i am facing is that the script is not able to block RESTART after uninstallation.

Using msiexec -
MsiExec.exe /x {90120000-0030-0000-0000-0000000FF1CE} /quiet /norestart
MsiExec.exe /x {90120000-0030-0000-0000-0000000FF1CE} /qn REBOOT=ReallySuppress

This option is MOST preferred as i just need to push the batch file ( which is hardly in some kbs ) in remote PC & initiate the execution of the script.

Pls do reply...
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


script to uninstall MS Office 2007

uninstall Office 2007 without rebooting.
Using this config.xml
<Configuration Product="ProPlus">
<Display Level="None" />
<Setting Id="SETUP_REBOOT" Value="Never" />
I can script/SMS advertise
setup.exe /config \\server\share\office12\ProPlus.WW\config.xml /repair
setup.exe /config \\server\share\office12\ProPlus.WW\config.xml /uninstall

Answered 05/21/2009 by: goldeneye
Senior Yellow Belt

Please log in to comment
Dear Friend.
I have copied the complete MS office 2007 setup to the client machine, replaced the contents of config.xml file as given by you & run the command
setup.exe /config c:\ms office 2007\config.xml /uninstall enterprise.
This successfully uninstalled MS office & the restart was prevented.

In our environment, we have a Remote mngt tool residing in all endpoints through which we will be pushing the script & then run it.

I wanted to know what files are needed to be pushed to end-point for successful uninstallation of MS Office. It is not possible to push complete MS Office setup to end-point & carry out the uninstallation.

Pls help.
Answered 05/23/2009 by: ScriptApp
Senior Yellow Belt

Please log in to comment
if you call the file uninstall.xml, then it can reside with your install source (wherever that is).
If you modify whatever installation path you use to run the uninstall and specify uninstall.xml, you should be all good.
Answered 05/23/2009 by: DeployTech
Orange Senior Belt

Please log in to comment