AppDeploy.com

 


Silent Uninstall of Office 2007

Click here to associate this thread with a Package KB article.
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [AppDeploy Forums] >> Package Development >> Silent Uninstall of Office 2007 Page: [1]
Login
Message << Older Topic   Newer Topic >>
Silent Uninstall of Office 2007 - 5/9/2007 11:11:41 AM   
orlith

 

Posts: 3
Score: 0
Joined: 3/8/2004
Status: offline
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

Post #: 1
RE: Silent Uninstall of Office 2007 - 5/9/2007 12:29:21 PM   
gmorgan618

 

Posts: 150
Score: 16
Joined: 7/7/2006
From: Washington, D.C.
Status: offline
research the use of the Config.XML

Info for 2007 can be found here... http://www.appdeploy.com/packages/detail.asp?id=771

(in reply to orlith)
Post #: 2
RE: Silent Uninstall of Office 2007 - 5/9/2007 1:10:49 PM   
orlith

 

Posts: 3
Score: 0
Joined: 3/8/2004
Status: offline
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.

(in reply to gmorgan618)
Post #: 3
RE: Silent Uninstall of Office 2007 - 6/20/2008 3:51:54 PM   
cl3tUs

 

Posts: 13
Score: 0
Joined: 6/20/2008
From: Oklahoma
Status: offline
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.


(in reply to orlith)
Post #: 4
RE: Silent Uninstall of Office 2007 - 6/23/2008 3:56:17 AM   
VBScab


Posts: 6623
Score: 190
Joined: 9/5/2006
From: London, UK
Status: offline
quote:

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.


_____________________________

- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. PMs and personal emails will be ignored.

(in reply to cl3tUs)
Post #: 5
RE: Silent Uninstall of Office 2007 - 6/23/2008 9:12:56 AM   
cl3tUs

 

Posts: 13
Score: 0
Joined: 6/20/2008
From: Oklahoma
Status: offline
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.

(in reply to orlith)
Post #: 6
RE: Silent Uninstall of Office 2007 - 7/9/2008 12:40:20 PM   
TXTechie

 

Posts: 8
Score: 0
Joined: 7/9/2008
Status: offline
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?

(in reply to cl3tUs)
Post #: 7
RE: Silent Uninstall of Office 2007 - 7/9/2008 1:03:14 PM   
spartacus

 

Posts: 408
Score: 41
Joined: 2/4/2004
From: Warrington, United Kingdom
Status: offline
quote:

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

_____________________________

La mort ne surprend point le sage Il est toujours prêt à partir.

(in reply to TXTechie)
Post #: 8
RE: Silent Uninstall of Office 2007 - 7/9/2008 2:25:18 PM   
TXTechie

 

Posts: 8
Score: 0
Joined: 7/9/2008
Status: offline
quote:

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. 

TX Techie

(in reply to spartacus)
Post #: 9
Page:   [1]
All Forums >> [AppDeploy Forums] >> Package Development >> Silent Uninstall of Office 2007 Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.047