A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Office » Setup, Installing & Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Office 2007 Silent Repair and Uninstall Scripts



 
 
Thread Tools Display Modes
  #1  
Old February 21st, 2007, 08:03 PM posted to microsoft.public.office.setup
Loc750
external usenet poster
 
Posts: 4
Default Office 2007 Silent Repair and Uninstall Scripts

"\\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/Office....mspx?mfr=true
but it didn't have any silent or no reboot switches.
  #2  
Old February 22nd, 2007, 05:40 AM posted to microsoft.public.office.setup
Bob Buckland ?:-\)
external usenet poster
 
Posts: 5,766
Default Office 2007 Silent Repair and Uninstall Scripts

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...3999e1033.mspx

Let us know if this works for you please.
=================
"Loc750" wrote in message ...
"\\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/Office....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*


  #3  
Old February 22nd, 2007, 08:17 PM posted to microsoft.public.office.setup
Loc750
external usenet poster
 
Posts: 4
Default Office 2007 Silent Repair and Uninstall Scripts

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 ?:-)" wrote:

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...3999e1033.mspx

Let us know if this works for you please.
=================
"Loc750" wrote in message ...
"\\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/Office....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*



  #4  
Old February 23rd, 2007, 12:56 PM posted to microsoft.public.office.setup
Bob Buckland ?:-\)
external usenet poster
 
Posts: 5,766
Default Office 2007 Silent Repair and Uninstall Scripts

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.

=================
"Loc750" wrote in message ...
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*


  #5  
Old February 26th, 2007, 09:48 PM posted to microsoft.public.office.setup
Loc750
external usenet poster
 
Posts: 4
Default Office 2007 Silent Repair and Uninstall Scripts

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 ?:-)" wrote:

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.

=================
"Loc750" wrote in message ...
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*



  #6  
Old February 28th, 2007, 07:52 PM posted to microsoft.public.office.setup
Jerrold
external usenet poster
 
Posts: 3
Default Office 2007 Silent Repair and Uninstall Scripts

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.

"Loc750" wrote:

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 ?:-)" wrote:

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.

=================
"Loc750" wrote in message ...
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*



  #7  
Old March 1st, 2007, 12:38 AM posted to microsoft.public.office.setup
Bob Buckland ?:-\)
external usenet poster
 
Posts: 5,766
Default Office 2007 Silent Repair and Uninstall Scripts

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,

===================
"Loc750" wrote in message ...
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*


"Bob Buckland ?:-)" wrote:

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.

=================
"Loc750" wrote in message ...
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*





  #8  
Old March 1st, 2007, 12:42 AM posted to microsoft.public.office.setup
Bob Buckland ?:-\)
external usenet poster
 
Posts: 5,766
Default Office 2007 Silent Repair and Uninstall Scripts

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.
=================
"Jerrold" wrote in message ...
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*



  #9  
Old March 1st, 2007, 02:14 PM posted to microsoft.public.office.setup
Loc750
external usenet poster
 
Posts: 4
Default Office 2007 Silent Repair and Uninstall Scripts

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

"Bob Buckland ?:-)" wrote:

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,

===================
"Loc750" wrote in message ...
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*


"Bob Buckland ?:-)" wrote:

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.

=================
"Loc750" wrote in message ...
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*






  #10  
Old March 22nd, 2009, 01:52 PM posted to microsoft.public.office.setup
xxxxxxxxxxxxxxxxxxxx
external usenet poster
 
Posts: 1
Default Office 2007 Silent Repair and Uninstall Scripts


Do Not Download This! This Script Deleted Half My Computer And
**ruined** My Wireless Networking Card For Some Reason, And I Had To
Completely Reinstall My OS! I Lost 100GB Of Data Out Of 200GB And I Have
A 500GB Hard Drive Also Now I Can't Install Certain Programs Because
Even After A Clean Reinstall If I Install Certain Programs My Computer
Turns Into A Bunch Of Glitches Again And I Have To Take Out The
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!!!!


--
xxxxxxxxxxxxxxxxxxxx
------------------------------------------------------------------------
xxxxxxxxxxxxxxxxxxxx's Profile: http://forums.techarena.in/members/84328.htm
View this thread: http://forums.techarena.in/office-setup/688989.htm

http://forums.techarena.in

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:55 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.