Office 2007 Silent Repair and Uninstall Scripts

L

Loc750

"\\server\share\Office12\setup.exe /repair ProPlus" will repair Office 2007,
but it requires user input at the end to press OK and then to reboot. Back in
the msi days I'd use /qn REBOOT="ReallySuppress" to make repairs silent and
not reboot for SMS. Is there a way to make /repair silent and if possible not
reboot? The same goes for /uninstall. I looked at "Setup command-line options
for the 2007 Office system" at
http://technet2.microsoft.com/Offic...4c01-41d1-8b52-3a2a2da8f7311033.mspx?mfr=true
but it didn't have any silent or no reboot switches.
 
B

Bob Buckland ?:-\)

Hi Loc,

In addition to the Setup.exe switches for Office 2007, you may need to also use a customized Config.xml file, with an entry there
to set the Interface (UI) display level along these lines:

==============
<Configuration Product="ProPlus">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" />
</Configuration>
===============

For information on the Config.xml 'switches'/settings this portion of the Microsoft Office 2007 Resource Kit (ORK2007) may be
helpful:
http://technet2.microsoft.com/Office/f/?en-us/library/e16af71c-fed4-40da-a886-95e596c3999e1033.mspx

Let us know if this works for you please.
=================
"\\server\share\Office12\setup.exe /repair ProPlus" will repair Office 2007,
but it requires user input at the end to press OK and then to reboot. Back in
the msi days I'd use /qn REBOOT="ReallySuppress" to make repairs silent and
not reboot for SMS. Is there a way to make /repair silent and if possible not
reboot? The same goes for /uninstall. I looked at "Setup command-line options
for the 2007 Office system" at
http://technet2.microsoft.com/Offic...4c01-41d1-8b52-3a2a2da8f7311033.mspx?mfr=true
but it didn't have any silent or no reboot switches.>>
--

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 
L

Loc750

According to your link, I do not need CompletionNotice, SuppressModal,
NoCancel, or AcceptEULA since Display Level is set to None, so I tried
<Configuration Product="ProPlus">
<Display Level="None" />
<Setting Id="Reboot" Value="Never" />
</Configuration>

Neither the repair (setup.exe /repair ProPlus) or uninstall (setup.exe
/uninstall ProPlus) are silent and both want to reboot. I tried uninstalling
and reinstalling and got the same result. I had already set the Display
Element settings in the Display level section of the Office Customization
Tool (OCT), but there is also the Setting Element. I went back and took a
second look at Modify Setup properties and added SETUP_REBOOT and set it to
Never. The OCT says Modify Setup properties settings only apply to new
installs, so again I uninstalled and reinstalled. The result is the same they
are not silent and both want to reboot.

I’m thinking that Config.xml and the OCT’s .msp only apply to installs
because I’ve never had a problem installing Office 2007 silently and without
reboot in either .bat scripts or SMS advertisements.

Loc750
 
B

Bob Buckland ?:-\)

Hi Loc750,

In your sample command lines you don't appear to be calling the specific config.xml file.

For a repair you generally shouldn't need to reaccept the EULA.

The Installation .msp file generally would be for initial installation.

=================
According to your link, I do not need CompletionNotice, SuppressModal,
NoCancel, or AcceptEULA since Display Level is set to None, so I tried
<Configuration Product="ProPlus">
<Display Level="None" />
<Setting Id="Reboot" Value="Never" />
</Configuration>

Neither the repair (setup.exe /repair ProPlus) or uninstall (setup.exe
/uninstall ProPlus) are silent and both want to reboot. I tried uninstalling
and reinstalling and got the same result. I had already set the Display
Element settings in the Display level section of the Office Customization
Tool (OCT), but there is also the Setting Element. I went back and took a
second look at Modify Setup properties and added SETUP_REBOOT and set it to
Never. The OCT says Modify Setup properties settings only apply to new
installs, so again I uninstalled and reinstalled. The result is the same they
are not silent and both want to reboot.

I'm thinking that Config.xml and the OCT's .msp only apply to installs
because I've never had a problem installing Office 2007 silently and without
reboot in either .bat scripts or SMS advertisements.

Loc750 >>
--

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 
L

Loc750

After repeatedly abusing my poor test system I found a way to silently repair
or uninstall Office 2007 without rebooting.
Using this config.xml
<Configuration Product="ProPlus">
<Display Level="None" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>
I can script/SMS advertise
setup.exe /config \\server\share\office12\ProPlus.WW\config.xml /repair
ProPlus
or
setup.exe /config \\server\share\office12\ProPlus.WW\config.xml /uninstall
ProPlus

Thanks for all your help Bob :)

Chris
 
J

Jerrold

This information has been very helpful for me. The question I have is: What
is the minimum set of source files I need to perform the uninstall? I don't
want our users to need access to all 400+MB of the source files just to
perform a silent uninstall of the package.
 
B

Bob Buckland ?:-\)

Hi Chris,

Sometimes my 'production' and 'test systems' start to seem very much the same <g>.

There is a risk in blocking the reboot though. In some cases, there are files being 'held' that won't be processed until the
reboot,

===================
After repeatedly abusing my poor test system I found a way to silently repair
or uninstall Office 2007 without rebooting.
Using this config.xml
<Configuration Product="ProPlus">
<Display Level="None" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>
I can script/SMS advertise
setup.exe /config \\server\share\office12\ProPlus.WW\config.xml /repair
ProPlus
or
setup.exe /config \\server\share\office12\ProPlus.WW\config.xml /uninstall
ProPlus

Thanks for all your help Bob :)

Chris>>
--

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 
B

Bob Buckland ?:-\)

Hi Jerrold,

I'm not sure I'm clear on what you're looking for in this case. Office 2007 has a required deployment of the Local Installation
Source (LIS) to the root \MSOcache folder and the actial install occurs from the local Install Source on each machine, so users do,
by that, have access to th source files (well at least their machines do <g>).
If you're uninstalling then you may also want to remove the LIS at that point if you're not going to reinstall later.
=================
This information has been very helpful for me. The question I have is: What
is the minimum set of source files I need to perform the uninstall? I don't
want our users to need access to all 400+MB of the source files just to
perform a silent uninstall of the package.>>

--

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 
L

Loc750

Yeah by default I set SMS to reboot the computer once the Advertisement is
run, and I reboot when running the scripts manually, but sometimes a user is
in the middle of a lot and just can't reboot, so I'm really glad Microsoft
includes the no reboot option even though computers are happier when they
reboot.

Chris
 
X

xxxxxxxxxxxxxxxxxxxx

Do Not Download This! This Script Deleted Half My Computer An
**ruined** My Wireless Networking Card For Some Reason, And I Had T
Completely Reinstall My OS! I Lost 100GB Of Data Out Of 200GB And I Hav
A 500GB Hard Drive Also Now I Can't Install Certain Programs Becaus
Even After A Clean Reinstall If I Install Certain Programs My Compute
Turns Into A Bunch Of Glitches Again And I Have To Take Out Th
Battery!!!! Do Not Install The Script!!!

DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
DO NOT INSTALL THE SCRIPT!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top