Microsoft KB Archive/928467

From BetaArchive Wiki
Knowledge Base


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

Article ID: 928467

Article Last Modified on 10/15/2007



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



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%


Additional query words: OFF2007 Office2007 Office 2007

Keywords: kbtshoot kbsetup kbprb kbpubtypekc kbexpertiseinter kbinstallation KB928467