Windows NT Setup Fails to Install OEM Network Driver

ID: Q156606


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0


SYMPTOMS

During Windows NT 4.0 Setup network adapter installation, if you choose Select From List, then Have Disk, and you are using a third-party OEM network card device driver disk for installation, the following error will occur when you try to copy the OEM files from the installation disk:

An error has occurred:
Unable to open the file:D:\i386\OEM_FILE_NAME
-or- If you performed a winnt /B installation
Unable to open the file:$win_nt$.~ls\i386\OEM_FILE_NAME

A Non-critical error has occurred. you may retry the operation, Ignore it, or exit the entire setup operation.


CAUSE

The OEM installation oemsetup.inf file was incorrectly written to list themselves as an NT shipped component, Windows NT 4.0 Setup process inadvertently overwrites the user input local variable $(SRCDIR) called for by the Oemsetup.inf file with the default Windows NT source path.


WORKAROUND

To work around this problem ask the OEM vendor for an updated oemsetup.inf file or perform either of the following:

  • Complete the installation by choosing to install the Microsoft Loopback adapter, then add OEM Network adapter after NT is installed.


-or-
  • Replace $(SRCDIR) with A:\ in the Oemsetup.inf file located on the OEM installation disk, as in the following example. See the lines marked "<--- here" for the necessary changes. These changes allow the network card installation to work during setup.
    
       [Install-Option]
           set STF_VITAL = ""
    
           ifstr(i) $(AddCopy) == "YES"
    
    
          AddSectionFilesToCopyList Files-$(Option) A:\ <----- here
        $(!STF_WINDOWSSYSPATH)\drivers
        endif
    
           ifstr(i) $(DoCopy) == "YES"
    
    
              set !STF_NCPA_FLUSH_COPYLIST = TRUE
              CopyFilesInCopyList
    
           endif
    
           Exit
    
       [Install-Update]
          set STF_VITAL        = ""
          set STF_OVERWRITE    = "VERIFYSOURCEOLDER"
          ;set STF_VERSION     = "YES"
    
          AddSectionFilesToCopyList Files-$(Option) A:\ <--- here
       $(!STF_WINDOWSSYSPATH)\drivers
       AddSectionFilesToCopyList Files-Inf A:\ $(!STF_WINDOWSSYSPATH) <- here
          set !STF_NCPA_FLUSH_COPYLIST = TRUE
          CopyFilesInCopyList
    
          exit
    
       [Install-Dll]
          set STF_VITAL        = ""
       AddSectionFilesToCopyList Files-Dll A:\ $(!STF_WINDOWSSYSPATH) <- here
          CopyFilesInCopyList
          exit 


Every network card Oemsetup.inf file will be different; however, it should contain similar logic to prompt the user for the input source, then pass that source to $(SRCDIR) local variable. Hardcoding the entry $(SRCDIR) to be A:\ ensures the path is useable and not overwritten.

Additional query words: prodnt

Keywords : kb3rdparty kbsetup kbbug4.00 ntsetup ntdriver
Version : 4.0
Platform : winnt
Issue type :


Last Reviewed: January 23, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.