Pretty sure I must have made a mistake, I think the issue was with Adpu160m.inf itself, as I got it from Adaptec.
It has a signature of "$Windows 95$" which installing from Windows 98 seemed to be ok with, but the Windows 98 installer really didn't like it. Once I changed it to "$Chicago$" it worked when I added it with infinst. On real hardware, my fancy AHA-3960D Ultra 160 PCI-X SCSI card was seen and properly added in Windows before first boot.
My next step was adding Intel Pro 100/1000 ethernet drivers, and that went off without a hitch. Also using infinst.
I proceeded to extract the contents of the Intel Chipset Drivers 6.3.0.1007 installer, infinst_enu.exe, and used the "/A" parameter with the setup.exe file within to get the INF files out. Intel sticks them into a folder for you in Programs when you do that.
I was able to use infinst to add all the Intel chipset drivers. When adding INFs for core chipset drivers, it would complain about not being able to find some of the files mentioned in the INFs, but I recognized a lot of them (and Googled the rest) as Windows 98 system files. I assumed that the drivers would have access to those files after install. It failed, because of a largely unrelated obstacle. Apparently, the maximum size for a .inf file is 64kb (or maybe just under)
Just as doshea suggested
doshea wrote on 2025-07-15, 10:57:
Regarding the errors you're seeing, I have a vague memory that there might be a size limit for some setup .INF file, but I couldn't find anything in my notes. It may well be that the limit is for Windows 3.1 - I've automated quite a few different old installs and don't remember where I saw this. However, I suspect that the phase of install you're seeing those in is one where it's 16-bit, so perhaps there's a 64K limit on the size of the .INF file there? I could be completely wrong though. I'd check old TechNet articles for you if I had time.
And infinst had made "machine.inf" larger than that, by repeatedly commenting out the same piece of the inf file. Each INF I added I think, added a comment in that file, in front of the last inf's comment, which caused it to blow past 64kb. Removing those comments (and what they were commenting out) brought the file well into the acceptable size range. infinst also did that to varying extents in different ich#core.inf and ich#corm.inf files, so I also trimmed those down, making all my .inf files from adding the Intel chipset drivers smaller than 45kb or so. Seems like a lot of space gain, especially for machine.inf, but it worked.
After those wins, I decided to try nusb36e again. I did not integrate "NODRIVER.INF," but am not sure that made a difference. infinst complained that some files that I did not recognize were missing and mentioned in the inf. I erred on skipping. I only integrated the files mentioned in the INF files, I did no swapping of any other files like explorer.exe. It worked better than it did before by using infinst, it didn't break the setup at all, but there were issues with the drivers failing to load, again. Same error "The NTKERN.VXD device loader(s) for this device could not load the device driver. (Code 2)." on some of the USB devices, and my flashdrive didn't work. I have always used nusb36e, but I remembered somewhere in the back of my head, that some people objected to how much 36 changed (something about how much of the Server 2003 USB stack it uses?), and preferred nusb33e. I don't have any sort of purity objection to that, but maybe the Windows 9x setup did?
So I tried nusb33e.exe. This time, I integrated "NODRIVER.INF" and ignored the files it mentioned that infinst couldn't find, hoping that it would work out in a fully setup Windows 98 setup. Otherwise essentially exactly the same process. It worked! First boot, and boom, everything is good in device manager.
I don't get the add/remove devices options in the taskbar, but my USB 2.0 flashdrive just works on first boot after install. I wonder if I could create a simplified nusb installer, that runs at the very end of setup, that does some of the file replacements (like to explorer.exe) the full installer does that I am not replicating. Or maybe upgrade to nusb36e (using it's full installer), potentially? A batch script to copy the files perhaps? I haven't exactly made up my mind on how I want to setup the rest of the pieces for USB, but I am kind of hopeful I can get it to work.
After USB, I am hoping to integrate Via 4in1, ALi chipset drivers, and Microsoft Intellivision 5 button wheel mouse drivers. My end goal is to have a Windows 98 install that isn't just unattended, but essentially only requires installing video and sound drivers after first boot.