Article ID: 259420 - Last Review: April 17, 2006 - Revision: 2.0 OFF2000: How to Use a Log File to Troubleshoot SR-1 Update ProblemsThis article was previously published under Q259420 On This PageSUMMARY
If a problem occurs with the installation of the Microsoft Office 2000 Service Release 1 (SR-1) Update, an error message may or may not appear. In either case, using log file can help you troubleshoot the issue. This article discusses a few techniques for interpreting the information in the SR-1 update log files. The topics are listed in the order in which you want to use each technique. This article does not cover every situation you may encounter, but it discusses several examples in which the update issue is resolved by interpreting a log file. MORE INFORMATIONDefault Log FilesBy default, Office Setup creates two log files during the installation, one for Setup.exe and one for the Windows Installer (Msiexec.exe). The log files are created in your \Temp\SR1Patch folder and have names similar to the following:Log file for Log file name --------------------------------------------------------------- Setup.exe Office 2000 SR-1 Setup(####).txt Windows Installer Office 2000 SR-1 Setup(####)_MsiExec.txt If you want to customize the way that the SR-1 update creates log files, use one or more of the command-line switches that are available for Setup.exe of the update. Command-Line SwitchesYou can run the SR-1 update from the command line if you want to control such features as detection mode or log file generation. The following table lists the relevant logging command-line options that are supported by the SR-1 update Setup program.
Switch Description
------------------------------------------------------------------------
/L1 Logging level 1. Adds details to the log file for each
step of the Setup process for SR-1. This option does not
turn on Windows Installer logging.
The default is to create the Setup log file in the
\Temp\SR1Patch folder named:
Office 2000 SR-1 Setup(####).txt
/L2 Logging level 2. This is the default logging setting for
the SR-1 update. It adds the same details as the /L1
switch. In addition, it adds details on the process
that the Windows Installer carries out.
The default is to create log files in the \Temp\SR1Patch
folder named:
Office 2000 SR-1 Setup(####).txt
Office 2000 SR-1 Setup(####)_MsiExec.txt
/V Verbose logging. Includes a log entry for each feature
and component that the installation package installs.
The verbose logging switch must be used in conjunction
with either logging level 1 or logging level 2.
{log filename} A specific log file name you can specify in combination
with the /L1 or /L2 switch. You need to use quotation
marks around the file name if there are spaces within
the name that you specify at run time.
255260
(http://support.microsoft.com/kb/255260/EN-US/
)
OFF2000: Setup Command-Line Switches for Office 2000 SR-1 Update
Switches in DetailAs stated in the earlier section about command-line switches, several logging switches can be used with Setup.exe:/L1: This creates a log file for Setup.exe only (by default in the \Temp\SR1Patch folder). For example, the following command line:
f:\setup.exe /L1 c:\logfiles\setuplog.txt
creates a Setup log file called "setuplog.txt" in the c:\logfiles folder. Because the /L1 switch was used, the log file for the Windows Installer is not created./L2: This creates log files for both Setup.exe and the Windows Installer (by default in the \Temp\SR1Patch folder). If you use the following command line:
f:\setup.exe /L2
you get both default log files in your \Temp\SR1Patch folder./V: This turns on (enables) verbose logging and can be used with either /L1 or /L2. You cannot use /V by itself. If you use the following command line:
f:\setup.exe /V
you get both log files in your \Temp\SR1Patch folder. But the Windows Installer log file is a verbose log file."log file name": You can specify your own log file name to be used with either /L1 or /L2. You need to enclose the path\filename of your log file with quotation marks if you have any spaces in the path or log file name. If you use the following command line:
f:\setup.exe /L2 c:\Logfiles\Sr1log.txt
you get the following two log files in the c:\Logfiles folder:
Sr1log.txt
The first log, Sr1log.txt, is the log for Setup.exe, and the second log, Sr1log_MsiExec.txt is the log for the Windows Installer.Sr1log_MsiExec.txt NOTE: If you use the /V switch along with a custom log file name, you must put the /V switch after the file name. For example, the following command line is the correct syntax:
f:\setup.exe /L2 c:\logfiles\setuplog.txt /V
How to Create the Log FilesIf you want to apply the customized logging options for the SR-1 update, do one of the following:If You Unsuccessfully Applied the SR-1 UpdateIf you ran the SR-1 update on your computer and it failed, you should have many of the downloaded files in your \Temp\SR1Patch folder. In this case, follow these steps to implement customized logging options:
If You Did Not Run the SR-1 UpdateIf you did not run the SR-1 update, or if you ran it previously but Setup.exe is not in the \Temp\SR1Patch folder, follow these steps:
How to Troubleshoot with Log FilesAs with the installation of Office 2000, a verbose log file is always the best log file to use for troubleshooting. However, you can resolve many issues with a non-verbose log file.How to Read the Log for Setup.exeThe Setup log file [that is, Office 2000 SR-1 Setup(0001).txt] is a great place to begin your troubleshooting. It can tell you the following:
Successful LoggingOne of the most important parts of reading Setup log files is the line that begins with the text "Patch applied". If the entire update process is successful, this line in the Setup log file will be:
Patch applied (0).
This line is followed by:
Searching installed products.
All the patches were installed successfully.
Microsoft Office 2000 SR-1 setup has completed successfully.
Your Setup log file can also contain the following:
Patch applied (1604).
This line is followed by about 20 more log lines. Eventually you should see the following:
All the patches were installed successfully.
Microsoft Office 2000 SR-1 setup has completed successfully.
The 1604 value on this line should be considered the same error message that is listed in the following Microsoft Knowledge Base article:229683
(http://support.microsoft.com/kb/229683/EN-US/
)
OFF2000: Listing of Errors Installing the Windows Installer
Action 17:02:24: ForceReboot
Action ended 17:02:24: ForceReboot. Return value 4.
The return value of 4 indicates that the Windows Installer has queued itself up to continue after your computer is restarted.Logging Failures in the Setup Log FileIt is important to know what a failed install looks like, in terms of the log file. If the update fails at any stage, you see a different error number on the "Patch applied" line. For example:
Patch applied (1603).
In this example, the 1603 error number equates to:
ERROR_INSTALL_FAILURE 1603 Fatal error during installation.
The error number listed on this line typically is 1603 anytime that the update process fails. Because the 1603 error is a generic failure error, you must open the corresponding Windows Installer log file to get the exact error and then troubleshoot based on that error number. See the next section, "Windows Installer Logging," for more information about how to read Windows Installer log files.The "Patch applied" line in the Setup log file can show error numbers other than 1603. If you get a different error number (such as 1619), please see the following Knowledge Base article for information about the Windows Installer error message.: 229683
(http://support.microsoft.com/kb/229683/EN-US/
)
OFF2000: Listing of Errors Installing the Windows Installer
Windows Installer LoggingIf you receive an error message during the SR-1 update process, you should look at the Windows Installer log file; for example, Office 2000 SR-1 Setup(0001)_MsiExec.txt. Even if it is not a verbose log file, you can still diagnose and solve many problems. If practical, a verbose log file is always the best source of information for troubleshooting Windows Installer issues.When looking at a Windows Installer log file, you must use the same techniques described in the following Knowledge Base article: 237957
(http://support.microsoft.com/kb/237957/EN-US/
)
OFF2000: How to Use an Office 2000 Setup Log File to Troubleshoot Setup Problems
If you receive a Windows Installer error message during the update process, the error message will probably include an error number. For example, if you receive an error 2371, you may see the following text in a non-verbose log file: Action 14:18:32: PatchFiles. Internal Error 2371: Please contact product support for assistance. Action ended 14:33:15: InstallExecute. Return value 3. MSI (c) (FB:DB): Executing op: PatchApply(PatchName=excel.exe,TargetName=C:\Program Files\Microsoft Office\Office\EXCEL.EXE,PatchSize=1092915,TargetSize=7155757,PerTick=0,IsCompressed=1,FileAttributes=5121,PatchAttributes=0) 1: C:\Program Files\Microsoft Office\Office\EXCEL.EXE 2: C:\Program Files\Microsoft Office\Office\ MSI (c) (FB:DB): Note: 1: 2318 2: C:\Config.Msi\PF9212.TMP MSI (c) (FB:DB): Note: 1: 2302 2: 0 MSI (c) (FB:DB): Note: 1: 2371 2: C:\Program Files\Microsoft Office\Office\EXCEL.EXE 3: -1072807676 Internal Error 2371: Please contact product support for assistance. Action ended 15:39:53: InstallExecute. Return value 3.
You can also use the "return value" to help narrow down the source of the problem. If you ever locate return value 3 in a log file, you are very close to the text that indicates when the problem occurred. In all cases, a line that contains return value 3 indicates a failed action. See the two log file examples listed earlier to see how this appears in a log file. You can also search for "return value 2". This indicates that you canceled out of the update prematurely. The following text was taken from a verbose log file where the Windows Installer displayed a prompt for the SR-1 CD: Please insert the disk: Microsoft Office 2000 SR-1 Premium Please insert the disk: Microsoft Office 2000 SR-1 Premium Are you sure you want to cancel? Please insert the disk: Microsoft Office 2000 SR-1 Premium Are you sure you want to cancel? Action ended 18:03:38: InstallExecute. Return value 2. 258526
(http://support.microsoft.com/kb/258526/EN-US/
)
OFF2000: Error Message: Please Insert the Disk: Microsoft Office 2000 SR-1...
How to Create Log File When You Update an Admin Installation of Office 2000 to SR-1/SR-1aYou can create a log file while you update an administrative installation of Office 2000 to SR-1/SR-1a. Use a command line similar to the following to create a verbose log while updating an administrative of Office 2000 to Office 2000 SR-1/SR-1a:
msiexec /a Admin Path\Data1.msi /p Source Path\data1.msp
shortfilenames=1 /L*V C:\verboselog.txt
where Admin Path is the path to your administrative installation point
for Office 2000, and Source Path is the path to Data1.msp. The path to
Data1.msp varies, according to the following table.
SR-1/SR-1a Source Path to Data1.msp ------------------------------------------------------------ Data1.exe download C:\Sr1admin SR-1/SR-1a Update CD <CD-ROM drive>\Admin For additional information about updating an administrative install to Office 2000 SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base: 257983
(http://support.microsoft.com/kb/257983/EN-US/
)
OFF2000: How to Obtain and Apply the SR-1/SR-1a Update to Administrative Installations
Additional Troubleshooting InformationIf you cannot decipher the problem from the Setup or the Windows Installer log files, and you are still having problems running the SR-1 update, please try the following:Reinstall Office
Update the Windows Installer to Version 1.1Follow these steps only if you are using Microsoft Windows 95, Microsoft Windows 98, or Microsoft Windows NT 4.0. Windows Installer version 1.1 is already installed on Microsoft Windows 2000.
| Article Translations
|
Back to the top
