OFF2000: How to Use an Office 2000 Setup Log File to Troubleshoot Setup Problems

ID: Q237957


The information in this article applies to:


SUMMARY

Occasionally a problem occurs with Office Setup, and an error message may or may not appear. In either case, you may need to use a Setup log file as one of your tools to narrow down the issue.

This article discusses a few techniques for interpreting the information contained in Setup log files. The topics are listed in logical order of when you want to attempt each technique. This article does not cover every situation you may encounter but does discuss several examples in which the Setup issue was resolved by interpreting a Setup log file.


MORE INFORMATION

Creating a Log File

By default, Office Setup creates two log files during the installation process, one for Setup.exe and one for the Windows Installer (Msiexec.exe). The log files are created in your \Temp folder and have names similar to the following:

Log file for                   Log file name
-----------------------------------------------------------------------

Setup.exe           Office 2000 <edition> Setup(####).txt
Windows Installer   Office 2000 <edition> Setup(####)_MsiExec.txt 
where <edition> is the edition of Office you are installing. For example, these files may be:
Office 2000 Premium Setup(0002).txt
Office 2000 Premium Setup(0002)_MsiExec.txt
The #### characters in the log file names are numbers beginning with 0002 and increment by 2 if you have to run Setup multiple times. So the log file with the highest number is the log file for the last time you ran Setup.

If you want to create a very detailed Windows Installer log file, you can use the verbose parameter v for the /L switch. If you create a verbose log, however, the default Setup log becomes an abbreviated version and the default Windows Installer log file is not created.

For more information about Setup logging options, please see the following article in the Microsoft Knowledge Base:
Q230861 OFF2000: How to Customize Office Setup Logging Options

Interpreting Log Files

Depending on the problem you are experiencing, you may need to view the Setup log, the Windows Installer log, or a verbose log.

Setup Log Files

The log file for Setup.exe is very short compared with the Windows Installer log file. This is because the number of tasks performed by Setup.exe is limited to items like: One job of Setup.exe is to install the Windows Installer. If this process fails, Setup.exe cannot hand over control to Msiexec.exe, the main Windows Installer executable. The following are some of the error messages you may receive during Setup when there is a problem installing the Windows Installer:
Installing this product requires the Windows Installer. An error occurred when installing or upgrading the Windows Installer.
-or-
The Windows installer on your system was updated. You need to reboot to complete this update. After your system restarts, re-run setup to continue Microsoft Office 2000 setup.
In this case, you should look at the Setup log first. If you receive either of these errors, you may see text similar to the following in the log, respectively:
Package to install:
E:\data1.msi
Loading MSI Library....
C:\WINDOWS\SYSTEM\MSI.DLL
.. failed, error = 1157
Pre-released IE 5 is not installed
E:\msi\instmsi.exe /q /r:n
E:\msi\instmsi.exe /q /r:n exit status = 1620
This call to Instmsi.exe failed because the line that follows a successful running of Instmsi.exe should be Loading MSI Library....

-or-
Trying to get version of G:\OFFICE2000\CD1_ADMIN_IMAGE\msi\instmsi.exe .. failed, error = 3
This action failed to get the version of Instmsi.exe on a network share. There may have been network problems, Instmsi.exe may be corrupted on the network share, or you may have a software conflict with Setup.

NOTE: If you do not have Msi.dll on your computer when you run Setup.exe, you will always see error = 1157 in the Setup log file. This can be ignored in most cases, as the next step in Setup is to run Instmsi.exe, which installs Msi.dll and the other Windows Installer files.

For more information about these issues, please see the following articles in the Microsoft Knowledge Base:
Q229819 OFF2000: Error Installing or Upgrading the Windows Installer
If you suspect problems with the command-line properties and switches you are using, these items will also be listed in the Setup log file. For example, if you use the following command line to run Setup:
f:\Setup.exe companyname="my company" /qb
the following text will be included in the Setup log:
Launch Setup
7/27/99
7:37:11 AM
companyname="my company" /qb
Adding property...companyname="my company"

Recognized command line switch: qb
-and-
C:\WINDOWS\SYSTEM\msiexec.exe /qb /I F:\data1.msi /Lpiwae
"C:\WINDOWS\TEMP\Office 2000 Premium Setup(0002)_MsiExec.txt"
companyname="my company"
Launching MsiExec....
Successfully launched MsiExec....
NOTE: Setup.exe does not really use these command-line switches and properties, it just passes them on to Msiexec.exe (the Windows Installer).

If you don't see any problems/errors in the Setup log and the log ends with:
Successfully launched MsiExec....
then you need to take a look at the Windows Installer log.

Windows Installer Log

The log for the Windows Installer is significantly larger than the log for Setup and can appear to be unreadable at first. However, the following guidelines will help you narrow down the issue.

Creating Verbose Logs

All of the techniques listed in the "Windows Installer Log" section can be used on verbose log files. However, verbose logging increases Setup times, so you should only use verbose logging if you are having Setup problems that cannot be diagnosed with a default log file.

Additional query words: OFF2000


Keywords          : kbdta 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: August 3, 1999