PRB: Bad Cfgdir Variable Prompts for User InterventionID: Q194942
|
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
=======================================================================
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.
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
This behavior is by design.
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.
Keywords : kbOPK kbWinOS98
Version :
Platform :
Issue type : kbprb
Last Reviewed: March 6, 1999