The information in this article applies to:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SUMMARY
Office creates two log files during the installation process, one for Setup.exe and one for the Windows Installer. The log files are created in your \Temp folder and have names similar to the following
where <edition> is the edition of Office you are installing.The #### characters in the log file names are numbers beginning with 0002. They 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. The logging options for the Setup.exe log file cannot be modified. However, you can customize the logging options for the Windows Installer log file. The "More Information" section of this article describes all of the available logging options for the Windows Installer. MORE INFORMATIONThe following table lists all of the available logging options that can be used in conjunction with the /l switch of the Windows Installer.
Windows Installer LoggingWhen you run Office Setup, the Windows Installer has some default logging options already turned on, piwae, as specified in the [Logging] section of the Setup.ini file. These default logging options can be overridden by using a custom command line or by modifying the Setup.ini. You must unhide the Setup.ini file.Verbose LoggingIf you want to create a very detailed Windows Installer log file, you can use the verbose parameter v for the /l switch. To do this, use the following command-line to run Office setup:<path>\setup.exe /l*v c:\Officelog.txtThe above command line will create the verbose log file, Officelog.txt on the root of C drive. You can specify any path and filename for this log file. Because verbose logging increases set up times, you should only use the above command line if you are having setup problems that can't be diagnosed with a default log file. Custom Logging OptionsThere are two ways to customize the logging parameters used to create a Windows Installer log file, use a custom command-line, or modify the Setup.ini file.Custom Command LineYou can use any combination of parameters with the /l switch. The only requirement for this switch is that you also specify a path and filename for your log file. When you use the /l switch on the command line, the default Windows Installer log file is not created in the \Temp folder. The default Setup.exe log file will still be created in the \Temp folder.A sample command-line might look like: <path>\setup.exe /lme! c:\customlog.txt Modifying the Setup.iniThe Setup.ini contains a [Logging] section that can be modified to create a custom set of logging options. To change the default logging parameters from piwae, modify the Type= line in the Setup.ini. For example, you could change this line to read:Type=icewarmupIf you modify the Setup.ini at the root of your administrative installation, you will not need a custom command line. However, if your modified Setup.ini is renamed, or in a location other than the root of your Office installation, you will have to use a command line similar to the following to reference the new settings file: <path>\setup.exe /settings \\<servername>\<share>\CustomSetup.iniwhere <path> is the path to setup, <servername> is the server, and <share> is the share on the server. Turning Off Logging for the Windows InstallerTo turn off Windows Installer logging, remove or comment out the Type= line in the [Logging] section of the Setup.ini; the log file for Setup.exe will still be created in your \Temp folder.If you use the /l switch on the command line and do not use any logging parameters, the default logging parameters piwae will be used. You still must specify a log file path and name. Maintenance Mode or Install on First Use LoggingWARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD). When you run Office Setup after Office has already been installed, or if Setup runs because a feature is being installed on demand (it was originally set to Installed on First Use), or you click Detect and Repair on the Help menu, no logging takes place. If you want to log either of these two situations, you can enable logging by making the following changes in the registry:
HKEY_LOCAL_MACHINE\Software If you click Detect and Repair on the Help menu in any Office program, logging is not turned on. To log this procedure, use the steps to modify the registry provided earlier in this article. Additional query words: OFF2000
Keywords : |
Last Reviewed: September 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |