Hi

I'm trying to set an unattended install of Office 2007.
I've tried msome features like :

- msiexec"," /X{90120000-0011-0000-0000-0000000FF1CE} /qn REBOOT=REALLYSUPPRESS but the uninstall is not clean, it miss many things (registry entrie, files, icons..) and always reboot !

- setup.exe /uninstall Proplus (like written in the doc) but that silent uninstall needs User input : "Are you sure you want to uninstall ?", "Close" the windows when done, and "Yes" or "No" to reboot.

Anyone got a solution nor ideas ?

thanks a lot
0 Comments   [ + ] Show Comments

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.

Answers

0
research the use of the Config.XML

Info for 2007 can be found here... http://itninja.com/link/downloads-and-documentation1
Answered 05/09/2007 by: gmorgan618
Blue Belt

Please log in to comment
0
Thanks it help !

I just understand what all topics says !

I create a uninstall.xml file :

<Configuration Product="ProPlus">
<Display Level="none" CompletionNotice="NO" SuppressModal="yes" AcceptEula="yes" />
<Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" />
<Setting Id="Reboot" Value="Never" />
<Setting Id="SETUP_REBOOT" Value="NEVER" />
<OptionState Id="ProductFiles" State="Local" Children="force" />
</Configuration>

and run setup.exe /config uninstall.xml /uninstall Proplus

And it works very well !

Thansk a lot.
Answered 05/09/2007 by: orlith
Orange Senior Belt

Please log in to comment
0
I have my config file setupthe same way and I'm getting an error that says:

"The Setup configuration file \\server\gold\apps\office2k7\uninstall.xml is not valid. Run Setup again without using a Setup configuration file, or fix the configuration file."

Not sure what to look for. This is pretty new to me for a simple uninstall.
Answered 06/20/2008 by: cl3tUs
Senior Yellow Belt

Please log in to comment
0
ORIGINAL: cl3tUs
Not sure what to look for.
Nor me, but I would *guess* that your XML is incorrectly formatted, more specifically, it's probably missing a closing 'marker'.

XML is essentially the same as HTML, i.e. every tag (element, node, whatever) needs a closing tag. For example, in HTML, if you use [bold], you need to end the emboldening with [/bold]. Note that I'm using '[' rather than '<' in order to not screw up any formatting on *this* page. In XML, lots of people (including Microsoft) use the shortcut (i.e. lazy) method of closing, i.e. with just a slash. When they mix the two (full and lazy) it just confuses newcomers. In your file, for example, the 'Configuration' tag is closed properly (with '/Configuration') but 'OptionState' is not.. I'd walk through the file and add proper closing tags then re-test.
Answered 06/23/2008 by: VBScab
Red Belt

Please log in to comment
0
I have an opening and the closing on the config, but not sure if those other items need to be closed. I ended up just running the ProPlus in the ProPlus.WW folder with the uninstall switch, problem is that now, it wants to reboot, even with the /norestart switch applied, but that's okay with us because with best practice, we like to reboot after certain program install/uninstalls.
Answered 06/23/2008 by: cl3tUs
Senior Yellow Belt

Please log in to comment
0
I am using the following command-line in an attempt to uninstall Office
Standard 2007 silently:

\\server\share\folder1\folder2\folder3\setup.exe /config \\server\share\folder1\folder2\folder3\Standard.WW\config_silent.xml /uninstall Standard

I receive a Yes/No prompt asking "Are you sure you want to remove Microsoft Office Standard 2007 from your computer?" The config_silent.xml file contains the following:

<Configuration Product="Standard">
<!-- <Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" /> -->
<!-- <Setting Id="Reboot" Value="Never" /> -->
<!-- <Setting Id="SETUP_REBOOT" Value="Never" /> -->
</Configuration>

Can someone help me get rid of this prompt so that I can automate the uninstall silently?
Answered 07/09/2008 by: TXTechie
Senior Yellow Belt

Please log in to comment
0
ORIGINAL: TXTechie

I am using the following command-line in an attempt to uninstall Office
Standard 2007 silently:

\\server\share\folder1\folder2\folder3\setup.exe /config \\server\share\folder1\folder2\folder3\Standard.WW\config_silent.xml /uninstall Standard

I receive a Yes/No prompt asking "Are you sure you want to remove Microsoft Office Standard 2007 from your computer?" The config_silent.xml file contains the following:

<Configuration Product="Standard">
<!-- <Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" /> -->
<!-- <Setting Id="Reboot" Value="Never" /> -->
<!-- <Setting Id="SETUP_REBOOT" Value="Never" /> -->
</Configuration>

Can someone help me get rid of this prompt so that I can automate the uninstall silently?


Your XML file has all the important lines commented out with the <!-- and --> tags, try the following :

<Configuration Product="Standard">
<Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>

Regards,

Spartacus
Answered 07/09/2008 by: spartacus
Black Belt

Please log in to comment
0
Your XML file has all the important lines commented out with the <!-- and --> tags, try the following :

<Configuration Product="Standard">
<Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>

Regards,

Spartacus


Thank you very much, Spartacus - you are correct! I guess it pays to learn some XML basics. [8D]

TX Techie
Answered 07/09/2008 by: TXTechie
Senior Yellow Belt

Please log in to comment
0
Sorry for hacking this but can i accomplish this without uninstalling outlook 2007 from the machine? I want to uninstall everything else but outlook can someone help me what would be the script or if i can define what features to uninstall instead of teh full office 2007? Please advise

My script for ProPlus

<Configuration Product="ProPlus">
<Display Level="None" CompletionNotice="No" SuppressModal="Yes" AcceptEula="Yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>
Answered 03/25/2011 by: chichora123
Fourth Degree Green Belt

Please log in to comment
0
chichora: I have an idea... What if you go to the Office 2k7 setup.exe file and run "setup.exe /admin" in a command prompt? You may be able to edit a configuration to not include anything but Outlook 2k7, then, run the setup file as if you were installing Office 2k7and have it use that config file and it should (hopefully) remove all other products.

I'm curious to see if it works. I've not been in this work for a bit now, but still have a strong passion for it. Boyd.Gross@Chickasaw.net is my e-mail. I can check that faster than the forum if you want to message me.
Answered 03/25/2011 by: cl3tUs
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity