BOOTLOG.TXT, DETLOG.TXT, SETUPLOG.TXT & DETCRASH.LOG
Windows 95 Setup creates several log files: BOOTLOG.TXT, DETLOG.TXT, NETLOG.TXT, and SETUPLOG.TXT, plus DETCRASH.LOG if Setup fails. The following sections describe these files.
Basically, there are three points at which the computer might stop or stall during Windows 95 Setup: before, during, or after hardware detection.
· If Setup fails before hardware detection, Windows 95 Setup recovers by reading SETUPLOG.TXT to determine where the system stalled, what to redo, and what to skip.
· If Setup fails during hardware detection, the DETCRASH.LOG file is created, containing information about the detection module that was running and the I/O port or memory resources it was accessing when the failure occurred.
When the detection process finds this file, it automatically runs in Safe Recovery mode to verify all the devices already in the Registry and then skips all detection modules up to the failed module. Safe Recovery then skips detection and any attempts to configure the failed module, in effect skipping the action that caused the failure. Then, Safe Recovery continues the detection process, starting with the next module. If the detection process is completed successfully, DETCRASH.LOG is deleted.
DETCRASH.LOG can be read only by Setup. For information about the text equivalent of this information, see "DETLOG.TXT.
· Sometimes the detection process causes some devices to quit working (such as a CD-ROM drive or a network connection). If you rerun Setup, Safe Recovery recognizes that the detection process has already been completed successfully and assumes that all the necessary hardware information is in the Registry. Therefore, it skips the detection process completely at this point and continues the installation process.
SETUPLOG.TXT: The Setup Log File
The SETUPLOG.TXT file is an ASCII text file that contains Windows 95 Setup information created during the installation process. While Windows 95 is being installed, corresponding entries are written to SETUPLOG.TXT, listing information about the specific steps, their sequence, and the error conditions encountered. This file is used by Setup for recovery in case of setup failure, and it can also be used for troubleshooting errors that occur during the installation process.
Setup uses the information in SETUPLOG.TXT to ensure that the installation does not fail twice because of the same problem. If you restart Windows 95 Setup after a setup process fails, Setup reviews the contents of SETUPLOG.TXT to determine which steps completed successfully. If SETUPLOG.TXT indicates that a process started but does not indicate that the process completed, then that part of the installation process is skipped and the next part is processed. Even if Setup encounters devices that cause several installation attempts, the installation process will always progress and skip the modules that failed.
SETUPLOG.TXT is stored on the computers root directory. Information is added to the file according to the order of the steps of the installation process. If an error occurs during installation, you can determine the probable cause of the error by examining the entries at the end of SETUPLOG.TXT.
Tip for Verifying System Files
With Windows 3.x, it was not easy to recover files, such as a component file that was accidentally deleted or a system file that was corrupted. You either had to use the Expand utility to copy the file, or you had to reinstall Windows 3.x to restore the lost file. SETUPLOG.TXT is part of the Windows 95 solution to verifying the integrity of installed components.
If you run Windows 95 Setup after Windows 95 is already installed, Setup prompts you either to reinstall Windows 95 or simply to verify installed components. If you want to verify installed components, Setup examines SETUPLOG.TXT and reruns the installation process without completely copying all operating system components. Windows 95 verifies the integrity of files installed during Setup with the files on the Windows 95 installation disks. If the integrity check fails due to a missing or corrupted file on the computer, Setup automatically reinstalls that file.
DETLOG.TXT: The Hardware Detection Log File
The DETLOG.TXT file contains a record of whether a specific hardware device was detected and identifies the parameters for the detected device.
During Windows 95 Setup, after the information gathering phase, Setup begins hardware detection, which can also occur when you use the Add New Hardware option in Control Panel to add a new device. Both Windows 95 Setup and Device Manager use SYSDETMG.DLL, which contains all the detection modules for each device class and specific devices.
Windows 95 loads detection modules based on information in MSDET.INF that points to specific INF files for each device class, from which information is retrieved and written to the Registry. The device class installers are DLLs that work with Device Manager to install, configure, and remove devices or classes of devices in the system. Device Manager generates a list of compatible drivers for the device from the appropriate INF file. For information about using Device Manager to configure device drivers, and for information about the device classes used to identify logical device types, such as display, keyboard, and network adapters, see Chapter 19, "Devices."
By creating an updated DETLOG.TXT file every time the detection process runs, the detection module tracks the detected devices and the I/O port addresses used. Any existing DETLOG.TXT is renamed DETLOG.OLD. If the detection process causes Setup to stall or the computer to lock up, then a binary file named DETCRASH.LOG is created. DETLOG.TXT is an ASCII text file created only for users to read; Windows 95 Setup reads the binary information in DETCRASH.LOG. Any changes made to DETLOG.TXT are not passed to DETCRASH.LOG.
The DETLOG.TXT file can be found in the root directory of the startup drive after Windows 95 is installed. The entries in DETLOG.TXT are placed in the order of the hardware information discovered as each step of the detection process is carried out.
BOOTLOG.TXT: The Boot log file for the startup process.
The BOOTLOG.TXT file contains a record of the current startup process for starting Windows 95. This file is created during Setup when the Windows 95 operating system is first started from Windows 95 Setup. This file shows the Windows 95 components and drivers loaded and initialized, and the status of each.
When you use the F8 option for interactive system startup, you can choose to create a boot log during system startup. You can also use the /b switch to create a boot log when running WIN.COM from the command line to isolate configuration problems.
Date last updated: 12/04/04