PRB: Bad Cfgdir Variable Prompts for User Intervention (194942)
The information in this article applies to:
- Microsoft OEM Preinstall Kit (OPK) 98
This article was previously published under Q194942 SYMPTOMS
During the preinstallation of Windows 98 the following lines might appear
during file copy process from the CDROM drive:
=======================================================================
Cabinet W98.dta
Extracting c:\windows\inf\layout.cd
File Not Found - C:\factonly\Modelx\Oeminfo.ini
0 file(s) copied
File Not Found - C:\factonly\Modelx\Autoexec.usr
0 file(s) copied
File Not Found - C:\factonly\Modelx\Config.usr
0 file(s) copied
File Not Found - C:\factonly\Modelx\Oemaudit.inf
0 file(s) copied
File Not Found - C:\factonly\Modelx\Logo.sys
0 file(s) copied
File Not Found - C:\factonly\Modelx\Enduser.inf
0 file(s) copied
======================================================================
File not found - c:\factonly\ModelX\drvcopy.inf
0 file(s) copied
File not found - c:\factonly\ModelX\msbacth.inf
0 file(s) copied
SETINI :Error - Value not set
1 file(s) copied
File not found - \config.usr
File not found - \autoexec.usr
Unable to clean - \autoexec.bat
Unable to clean - \config.sys
=======================================================================
These lines might also appear just before Setup enters the GUI-mode phase.
At this point user intervention is required to complete Windows 98 setup.
CAUSE
The "CFGDIR" environment variable is not set correctly in the Autoexec.Bat
portion of the "Real-Mode Lines For FACTORY screen" in the Windows 98
Pre-installation Wizard.
RESOLUTION
On the "Real-Mode Lines for FACTORY screen" of the OPK wizard, edit the
following three lines in Autoexec.bat in the [Network Logon] section:
REM syntax set source=p:
REM syntax set cfgdir= ModelX
REM syntax LH MSCDEX.EXE /D:mscd001 /L:p
Remove the "REM syntax" on the left side for these three lines, and replace
the default values with your settings.
The source is the CD-ROM drive letter.
CfgDir is the configuration set name. For example, if you put in "Test" as
your configuration name in the "Select your Installation Mode Screen," you
need to replace "ModelX" with "Test".
LH MSCDEX.EXE /D:mscd001 /L:p "p" is the same drive letter as the source
statement.
STATUS
This behavior is by design.
MORE INFORMATION
IMPORTANT: When the "CFGDIR" environment variable is set incorrectly, Setup
will not boot to Audit Mode of the Windows 98 Pre-installation
automatically. Setup will prompt for user intervention during the pre-
installation process.
It is critical that you correctly set the source and CfgDir variables and
the CD-ROM command line in the factory Autoexec.bat. Do not leave a
trailing backslash or spaces after either source or CfgDir. Do not forget
the colon ":" after the drive letter in the source.
The source variable tells the pre-load process where to find the files it
needs to complete the preinstall process. If this is not set correctly, a
host of errors can occur.
Ensure that there is no colon ":" after the drive letter for the CD-ROM
drive on the Mscdex.exe command line. Also ensure that you do not leave any
trailing spaces at the end of the "Set CfgDir" line as well.
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbprb kbSBK KB194942 |
---|
|