Microsoft Knowledge Base Email Alertz

Chained commands do not run after the installation of a 2007 Office suite or program fails

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 928467 - Last Review: September 13, 2011 - Revision: 2.0

Chained commands do not run after the installation of a 2007 Office suite or program fails

SYMPTOMS

You create a customized Config.xml file for the chained installation of a 2007 Microsoft Office suite. The Config.xml file includes a set of command-line instructions to copy the setup log files to a central share. If the setup chain fails during the installation, the setup log files are not copied to the central share. Instead, the files remain on the computer on which the Setup program failed. Additionally, other commands that are specified in the Config.xml do not run.

WORKAROUND

To work around this issue, create a batch file that acts as wrapper. The following sample InstallOffice.bat file will copy the setup log files to the central share and will run the installation of the chain setup of the 2007 Office suite.

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
md \\<server>\<share>\logs\%COMPUTERNAME%
echo Now Installing Microsoft Office 2007 >> \\<server>\<share>\logs\%COMPUTERNAME%\installstatus.txt
call \\<server>\<share>\office\setup.exe /config \\<server>\<share>\office\quietsetup.xml
echo Microsoft Office 2007 completed with a return code of %ERRORLEVEL% >> \\<server>\<share>\logs\%COMPUTERNAME%\installstatus.txt
echo Finished Installing Microsoft Office 2007 >> \\<server>\<share>\logs\%COMPUTERNAME%\installstatus.txt
copy %temp%\SetupExe*.log \\<server>\<share>\logs\%COMPUTERNAME%

APPLIES TO
  • Microsoft Office Professional Plus 2007
  • Microsoft Office Enterprise 2007
  • Microsoft Office Ultimate 2007
  • Microsoft Office Access 2007
  • Microsoft Office Excel 2007
  • Microsoft Office InfoPath 2007
  • Microsoft Office OneNote 2007
  • Microsoft Office Outlook 2007
  • Microsoft Office PowerPoint 2007
  • Microsoft Office Publisher 2007
  • Microsoft Office Word 2007
  • Microsoft Office Project Professional 2007
  • Microsoft Office Project Standard 2007
  • Microsoft Office Visio Professional 2007
  • Microsoft Office Visio Standard 2007
Keywords: 
kbsetup kbinstallation kbexpertiseinter kbtshoot kbprb kbpubtypekc KB928467
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate