This step-by-step article describes how to use the Microsoft
Office installation log files to troubleshoot Office Setup
issues.
Occasionally a problem occurs with Office Setup and you may
not receive an error message. Even if you receive an error message, you may
have to use an installation log file as one of your tools to determine the
issue.
This article discusses several techniques to interpret the
information in Office installation log files. The topics are listed in the
order that you want to use each technique. This article does not cover every
situation that you may experience, but it discusses several examples where the
Setup issue is resolved by interpreting a Setup log file.
Many
articles in the Microsoft Knowledge Base that relate to installation errors
also include sections of log files that help you confirm that the article
describes the same issue that you are experiencing.
How to create a log file
Office Setup automatically creates log files in your \Temp
folder. The log files have names that are similar to the following:
Collapse this tableExpand this table
| Log file for | Log file name
|
| Setup.exe | Microsoft Office Setup(####).txt |
| Windows Installer (System Files Update) | Microsoft
Office Setup(####)_Task(0001).txt |
| Windows Installer (Office installation) | Microsoft
Office Setup(####)_Task(0002).txt |
The #### characters in the log file names are numbers
that start with 0001. They increment by one each time that you run Setup.
Therefore, the log file that has the highest number is the log file for the
most recent time that you ran Setup.
Note You may have only a Microsoft Windows Installer log file for the
Office installation. In this situation, the Windows Installer log file for the
Office installation has Task(0001) appended to the log file instead of
Task(0002).
How to interpret log files
Depending on the problem that you are experiencing, you may have
to view the Setup log file or the Windows Installer log file for the Office
installation.
Setup log files
The log file for the Setup.exe file is very short because the
number of tasks that Setup.exe performs is limited to tasks like the following:
By default, Setup creates a local installation source in Office, but only when you install Office from the CD or a compressed CD image. If
sufficient hard disk space exists on the local computer, Setup caches the whole
installation source by default. Windows Installer uses this local installation
source to install Office, and the local source remains available for repairing,
reinstalling, or updating Office later. Users can install features on demand or
run Setup in maintenance mode to add new features. Because Setup creates the
local installation source by default, you do not have to set any additional
options. Setup creates the local installation source in the following hidden
folder on users' computers:
drive\Msocache\Downloadcode
By
default, Setup caches the whole source in Office. If the user's computer
does not have sufficient disk space, Setup caches installation file for
only the selected features. Setup retains the local installation source after
the installation is complete.
The following information may be
contained in the Setup log:
- Listing of files to be copied to the \MSOCACHE folder:
Files to Download:
File: FILES\WINDOWS\INF\AER_1033.ADM (DW20.ADM_1033)
File: FILES\PFILES\COMMON\MSSHARED\DW\DW20.EXE (DW20.EXE_0001)
File: FILES\PFILES\COMMON\MSSHARED\DW\DWDCW20.DLL (DWDCW20.DLL)
File: FILES\PFILES\COMMON\MSSHARED\DW\1033\DWINTL20.DLL (DWINTL20.DLL_0001_1033)
File: FILES\PFILES\COMMON\MSSHARED\DW\DWTRIG20.EXE (DWTRIG20.EXE)
File: FILES\PFILES\MSOFFICE\OFFICE11\OCLEAN.DLL (OCLEAN.DLL_1033)
File: FILES\PFILES\MSOFFICE\OFFICE11\OCLNCORE.OPC (OCLNCORE.OPC_1033)
File: FILES\PFILES\MSOFFICE\OFFICE11\OCLNCUST.OPC (OCLNCUST.OPC_1033)
File: FILES\PFILES\MSOFFICE\OFFICE11\1033\OCLNINTL.OPC (OCLNINTL.OPC_1033)
File: FILES\PFILES\MSOFFICE\OFFICE11\OFFCLN.EXE (OFFCLN.EXE_1033)
File: FILES\SETUP\OSE.EXE (OSE.EXE)
File: PRO11.MSI (PRO11.MSI)
File: FILES\PFILES\MSOFFICE\OFFICE11\1033\PSS10O.CHM (PSS10O.CHM_1033)
File: FILES\PFILES\MSOFFICE\OFFICE11\1033\PSS10R.CHM (PSS10R.CHM_1033)
File: FILES\PFILES\MSOFFICE\OFFICE11\1033\SETUP.CHM (SETUP.CHM_1033)
File: SKU011.XML (SKU011.XML_0002_1033)
File: A2561405.CAB (A2561405.CAB)
File: A3561405.CAB (A3561405.CAB)
File: A4561405.CAB (A4561405.CAB)
File: AV561403.CAB (AV561403.CAB)
File: CC561401.CAB (CC561401.CAB)
- Confirmation of Local Install Source settings:
Using Local Cache Drive of already installed product: C:\.
Found enough space on drive "C:\" to cache all feature cabinets.
(CDCACHE=AUTO) - There is enough space to cache some or all of the image. Drive for this download is C:\
- Confirmation of completed task:
Package was: E:\5614.0_o11pro_CBXS_ENG\PRO11.MSI.
Setting Package to: C:\MSOCache\All Users\90000409-6000-11D3-8CFE-0150048383C9\PRO11.MSI.
Done with CD Caching, cached MSI to: C:\MSOCache\All Users\90000409-6000-11D3-8CFE-0150048383C9\PRO11.MSI
For additional information about the Local Install Source
feature, click the following article number to view the article in the Microsoft Knowledge Base:
830168Â
(http://kbalertz.com/Feedback.aspx?kbNumber=830168/
)
Frequently Asked Questions About
the Local Install Source Feature
If you suspect problems with the command-line
properties and switches that you are using, these items are also 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 is included in the Setup log:
Launch Setup
9/22/03 1:49:46 PM
companyname="my company" /qb
Detected Windows Info:
PlatformId = 2
MajorVersion = 4
MinorVersion = 0
Setup path: \\server\share\2003_Admin\SETUP.EXE
Adding property...companyname="my company"
Recognized command line switch: /qb
-and-
Office-specific properties added: companyname="my company"
General properties added: LAUNCHEDFROMSETUP=1 SETUPEXEPATH=\\server\share\2003_Admin\
Writing Task:
D:\WINNT\System32\msiexec.exe
/I \\server\share\2003_Admin\PRO11.MSI
METRICSSOURCE="\\server\share\2003_Admin companyname=""my company"" /qb"
companyname="my company" LAUNCHEDFROMSETUP=1
SETUPEXEPATH=\\server\share\2003_Admin\ /qb
Note Setup.exe does not actually use these command-line switches and
properties; it just passes them to the Msiexec.exe file (the Windows
Installer).
If the log file for Setup.exe ends in text that is similar
to the following (return code: 1603), there was a problem with the Windows
Installer portion of the installation:
9/22/03 3:34:27 PM Chained install return code: 1603
Shutting down chained setup processing.
Set Verbose logging for subsequent setup.
***** Setup exits
9/22/03 3:34:27 PM
(return = 1603)
In this case, you must review the Windows Installer
log files for the Office installation.
Windows Installer log files
The Windows Installer log files are significantly larger than the
Setup log file and can appear to be unreadable at first. However, the following
guidelines can help you narrow down the issue:
Verbose log files
All the techniques that are listed in the "Windows Installer Log
Files" section can be used on verbose log files. However, verbose logging
increases Setup times. Only use verbose logging if you are having Setup
problems that cannot be diagnosed with a default log file.