Microsoft KB Archive/140901

= Err Msg: Could Not Decode This Setup (.cab) File... =

Article ID: 140901

Article Last Modified on 5/7/2007

-

APPLIES TO


 * Microsoft Windows 98 Standard Edition
 * Microsoft Windows 95
 * Microsoft Windows 98 Second Edition

-



This article was previously published under Q140901



SYMPTOMS
When you try to install Windows 95 or Windows 98, or install a component that requires copying files from the original Windows disks or CD-ROM, you may receive an error message similar to one of the following messages:
 * Setup has detected the following decoding error: "Could not decode this setup (.CAB) file." Setup will attempt to recover from this situation, click OK to continue.
 * Setup (.cab) file error Setup has detected the following decoding error: Setup has detected a corrupt setup (.cab) file. Setup will attempt to recover from this situation.

When you click OK, Setup either proceeds or generates the same error message again.

When you are installing Windows 98 Second Edition, the error message reads:

Setup cannot copy all of the files from your Windows 98 CD. Clean the Windows 98 CD with a soft cloth, return it to the CD-ROM drive, and then click OK. If you receive this message again, read the CAB Errors section of the Setup.txt file. This file is in the Win98 directory of your Windows 98 CD.



CAUSE
This behavior can occur for any of the following reasons:


 * Your CD-ROM drive is not functioning properly. The CD-ROM may vibrate too much for the laser to accurately read the data. With the higher spin rates of modern CD-ROM drives, slight damage to a CD-ROM can affect the CD-ROM drive's ability to read a CD-ROM properly.
 * Your computer is over-clocked. Extracting files from the Windows 95/98 cabinet files is memory intensive. If your computer is over-clocked beyond the default settings, it can contribute to decoding errors. Computers that are not over-clocked but are having a cooling problem can also experience decoding errors.
 * Your computer has bad or mismatched RAM or cache. For example, you are using EDO and non-EDO RAM, or you are using different RAM speeds. Even if Windows seems to be running without problems, the additional stress of extracting files and accessing the disk may contribute to decoding errors.
 * Your computer has Bus Mastering or Ultra DMA enabled in the BIOS and in Device Manager. The data may be moving too quickly for the system to keep up.
 * You are using a third-party memory manager.
 * There is a virus on your computer.
 * A plug and play device cannot be detected correctly.
 * Your Windows 95/98 CD-ROM or disks are damaged.
 * Your computer's CPU is overheating as a result of faulty CMOS settngs, a malfunctioning CPU fan, or improper heat dissipation. For example, the heat sink on the CPU is not correctly cooling the CPU.
 * The internal or external cache on the processor or main board is going bad. This is most noticeable when Setup has this problem during file copy phase.
 * You have Norton Autoprotect enabled.NOTE: If this is the case, clear the Norton Autoprotect check box in the Startup group item in Msconfig and contact Symantec about a fix.



RESOLUTION
To resolve this error message, follow these steps. If one step does not resolve the problem, try the next step.

 Remove the CD-ROM from the CD-ROM drive, rotate it one-quarter to one- half a turn, reinsert the CD-ROM into the drive, and then click OK. Use real-mode CD-ROM drivers. If you are unable to locate the real-mode CD-ROM drivers for your CD-ROM drive, try using the CD-ROM drivers on the Windows 98 Startup Disk. The Windows 98 Startup disk provides support for most types of CD-ROM drives, including integrated device electronics (IDE) and small computer system interface (SCSI) CD-ROM drives. Run Windows Setup from MS-DOS. Try to slow down your computer. To slow down your computer, use any or all of the following methods:  Change your computer's CMOS settings. Bus mastering, external/internal cache, RAM settings/timings, and other settings contribute to the speed at which your computer runs. For information about how to change these settings, consult the documentation that is included with your computer.  Copy the contents of the Win95 or Win98 folder on the CD-ROM to an empty folder on your hard disk, and then run Windows Setup from that folder. If you are unable to copy the Win95 or Win98 folder on the CD-ROM to you hard disk, the CD-ROM may be damaged.</li> Restart your computer. For Windows 95, press the F8 key when you see the "Starting Windows 95" message, and then choose Step-By-Step Confirmation from the Startup menu.

For Windows 98, press and hold down the CTRL key after your computer completes the Power On Self Test (POST), and then choose Step-by-Step Confirmation from the Startup menu. For more information about Windows 98 startup, see the following article in the Microsoft Knowledge Base:

178548 No "Starting Windows 98" Message at Startup

Press Y at each prompt except the following prompts:

Process your startup device drivers (CONFIG.SYS)?

Process your startup command file (AUTOEXEC.BAT)?

If this resolves the issue, isolate the conflict with a terminate-and- stay-resident (TSR) program or real-mode device driver using the Step- by-Step Confirmation function.</li> Check your computer for a virus using virus-detection software.</li> Run Windows 98 Setup using the following command:

setup /c This switch bypasses running SMARTDrive.</li>  Using an MS-DOS based text editor (such as EDIT.COM), view the contents of SETUPLOG.TXT (located in the root of your boot drive). Look for the line which refers to the cabinet file (.CAB) that was accessed and manually extract all the files from that cabinet file to an empty folder on the hard drive, then copy any remaining files from the Win98 folder on the CD-ROM to the same folder on the hard drive.

Usually, there are many duplicate entries in SETUPLOG.TXT that may resemble the following: <pre class="fixed_text"> CAB-Ben->CloseCabinet on ERROR 11 SUMB:Setup (.CAB) File Error:Setup has detected the following decoding error 'Setup has detected a corrupt Setup (.CAB) file.'. Setup will attempt to recover from this situation. Click OK to     continue.:OK DCE:C:\WIN95\SYSTEM\PRECOPY\\BASE5.CAB=2 DCE:remaining=0

CAB-Ben->CloseCabinet on ERROR 8 SUMB:Setup (.CAB) File Error:Setup has detected the following decoding error 'Setup has detected a corrupt Setup (.CAB) file.'. Setup will attempt to recover from this situation. Click OK to     continue.:OK DCE:F:\WIN98\\WIN98_37.CAB=13 DCE:remaining=0 </li> If you are still receiving a decoding error in Windows 98, you can manually extract all the Windows 98 files from the Windows 98 cabinet files on the CD-ROM to your hard disk, and then run Windows 98 Setup from the hard disk. It requires approximately 300 MB of hard disk space to extract the Windows 98 files. You can use the Ext.exe utility to extract the Windows 98 files. This utility is located on the Windows 98 startup disk and in the \Oldmsdos folder on the Windows 98 CD-ROM. To manually extract the Windows 98 files, follow these steps: <ol style="list-style-type: lower-alpha;"> Insert your Windows 98 Startup disk in the floppy disk drive, and then restart your computer.

NOTE: If you do not have a Windows 98 Startup disk, you need to obtain one from any Windows 98-based computer. To create a Windows 98 Startup disk on a functional Windows 98-based computer, follow these steps: <ol> Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.</li> On the Startup Disk tab, click Create Disk, and then follow the instructions on the screen.</li></ol> </li> At the command prompt, type ext .</li> When you are prompted for the location of the cabinet files, type the path to the folder that you created in step 4.</li> When you are prompted for the files to extract, type *.* to extract all files.</li> When you are prompted for the location to which the files are to be extracted, type in the path to the folder you created in step 4. Setup is designed to look for the existence of a file before it is extracted from the cabinet file.

Note that this does not extract the files in the Precopy1.cab and Precopy2.cab cabinet files.</li> After all the files have been extracted, run Setup from MS-DOS in the folder that contains the setup files.</li></ol> </li></ol>

NOTE: You may need to remove plug and play devices from your computer to troubleshoot any plug and play conflicts.

<div class="moreinformation_section">

MORE INFORMATION
Windows 98 Setup attempts to recover from the decoding error by re-seeking the CD-ROM and attempting to extract the files to a different location. Setup tries up to 128 times to re-seek on a random location on the CD-ROM to start the file copy process again. This is logged in the Setuplog.txt file and you may notice CD-ROM and hard disk activity, but very little progress during Setup. If Setup is unable to extract the files after 128 retries, the decoding error message is displayed again.

Note that this behavior can also be caused by a dirty CD-ROM. You may want to try cleaning the CD-ROM and then running Windows Setup again.

Additional query words: w98settop w98sesettop98 setup.cab hwcds

Keywords: kberrmsg kbhardware kbprb kbsetup kbtshoot KB140901

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.