Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Windows 98 SE in-depth questions

- - - - -

  • Please log in to reply
41 replies to this topic

#1
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

Ahoy,

 

I've been trying to play around with my Windows 98 CD recently, and I found some things that I want to do with it. So here are a few questions! :P

 

1) I've specifically disabled the license agreement in MS BATCH 98. Why does it still show the dialog?

 

2) How do you slipstream U98SESP3 properly? I have tried it with infInstall, Windows identified itself as ME after copying the files and rebooting, and crashed halfway throughout hardware detection.

 

2.5) When I install U98SESP3 *manually*, it cannot find some files (regardless of what machine I try it on, they're always the same, e.g. TRIEDIT.DLL). If I keep hammering "OK", it will copy them just fine... However, if I use INFEX.EXE it does it properly. Now the question is either: "How can I fix this problem?" or "How can I automate the use of INFEX.EXE and have it install SP3?".

 

3) Speaking of which, I'm including a lot of drivers in my installation (or rather, want to). It has the annoying problem that many drivers share the same file names for system files. What would you think is the best way of fixing that?

 

4) The 2nd setup phase consists mostly of hardware detection. After I do some file copying / management using RunOnce in MSBATCH.inf, I want to trigger this setup step from a batch file or a VB6/C++ program. Is this possible or can I otherwise make it redetect ALL hardware? (Preferrably not by deleting the entire ENUM key in the registry...)

 

5) Is there a way to make Windows look in specific folders for drivers automatically (like, a list of directory it searches in in the registry that I can just add all my driver folders too in post-install batch scripts?)

 

6) Also, What is the correct registry key for RunOnce? HKLM\Software\Microsoft\RunOnce or HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce?

 

That should cover me for now =P

 

Cheers.




How to remove advertisement from MSFN

#2
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,331 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

1 - MSBATCH.INF requires some manually added parameters that the "MSBATCH 98" program doesn't add. These are more OEM-oriented and the program doesn't do them "properly".

 

Here is a "sample" that would need modified. Compare it to yours. It also indicates a method of adding Drivers.

http://www.msfn.org/...-install/page-2

 

2 - I have no clue as to Slipstreaming the USP. I haven't actually tested it yet, even though I have the file.

 

3/4/5 - See -1- above

 

6 - The second way (also see -1- above)

 

HTH


Edited by submix8c, 30 April 2014 - 06:30 AM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#3
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

5361c9cc9477d.png

 

The same command executed after setup works fine... any ideas?



#4
Drugwash

Drugwash

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,259 posts
  • Joined 21-June 06
  • OS:98SE
  • Country: Country Flag

The initial version of advpack.dll is too old and misses the API mentioned in the error box, while during setup it is being replaced with a newer one that allows the command to be executed...? Dunno, just guessing.

Find Dll Details here, run it, drag both versions of advapi.dll onto it and check the Exports section.

 

If I'm right, you may have to slipstream the newer library onto the installation media to be used instead of the old one. Don't ask me how to do that, slipstreaming is not my expertise.


Edited by Drugwash, 30 April 2014 - 11:34 PM.


#5
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,331 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

May I ask (in addition to the post suggestion by Drugwash above)...

5361c9cc9477d.png

 

The same command executed after setup works fine... any ideas?

...WHAT command?

 

As to Drugwash's suggestion, -however- the slipstream works, test it out by simply placing it in the WIN98/Install folder before CD/DVD "burn (or whatever method you use). -Usually- a given file in the Install Folder overrides one within a CAB file.

 

At first opportunity, I'll do a test case to see what the problem may be as it only runs under 98SE(?).

 

edit - odd! According to this

(yes, I "spoiled" it due to potential forum "problems")

Instructions:

Prerequisites:

Minimum 64 MB of RAM for Main Updates.
160 MB free hard disk space for (ALL) options.


Installation Guide:
(* = Optional)

[1] Install Windows 98 Second Edition (with or without 98lite).*
[2] Install all drivers for your hardware.
[3] Install Internet Explorer (any version).*
[4] Install latest DirectX 9c.*
[5] Install latest Service Pack 3.x (Main Updates).*
[6] Install optional components of Service Pack 3.x.*
[7] Install MS Office.*
[8] Install KernelEx, 98SE2ME, Revolution Pack.*
even though this

http://www.htasoft.com/u98sesp/

clearly indicates "Semi-slipstreaming support" (whatever that means).


Edited by submix8c, 01 May 2014 - 08:43 AM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#6
Drugwash

Drugwash

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,259 posts
  • Joined 21-June 06
  • OS:98SE
  • Country: Country Flag

I've performed a comparison between the versions of advpack.dll on the 98SE CD and SP3 v3.33. The difference is the former is linked to ntdll.dll while the latter links to msvcrt.dll. Oddly (or not), I couldn't unpack msvcrt.dl_ from the 98SE CD, which seems to be compressed with the old Diamond ot something (header says SZDD, didn't look it up). Therefore I can't check if it exports the required APIs.

 

Also, the newer advpack.dll from SP3 calls a few extra APIs in kernel32.dll and user32.dll, compared to the old one. Dunno if that's part of the problem. Thing is, both of them export LaunchInfSection so the problem may be somewhere else. Unfortunately I don't have the means to debug this. :(



#7
loblo

loblo

    Oldbie

  • Member
  • PipPipPipPipPip
  • 761 posts
  • Joined 12-January 10
  • OS:ME
  • Country: Country Flag

 I couldn't unpack msvcrt.dl_ from the 98SE CD, which seems to be compressed with the old Diamond ot something (header says SZDD, didn't look it up). Therefore I can't check if it exports the required APIs.  :(

 

Presumably you can use expand.exe to decompress this file.



#8
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,331 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

HUH???

Why would it be there on a "raw" (untouched) 98SE CD? It's actually UNCOMPRESSED inside of WIN98_63.CAB.

 

Something funny going on here. Is that after your "slipstream"? (working on this "problem" now.)

 

I repeat - WHAT command? Is this something that you've added via RunOnce?


Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#9
dencorso

dencorso

    Iuvat plus qui nihil obstat

  • Supervisor
  • 5,954 posts
  • Joined 07-April 07
  • OS:98SE
  • Country: Country Flag

Donator

A tool that can extract SZDD archives? :P

#10
Drugwash

Drugwash

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,259 posts
  • Joined 21-June 06
  • OS:98SE
  • Country: Country Flag

 

 I couldn't unpack msvcrt.dl_ from the 98SE CD, which seems to be compressed with the old Diamond ot something (header says SZDD, didn't look it up). Therefore I can't check if it exports the required APIs.  :(

 

Presumably you can use expand.exe to decompress this file.

 

I had tried that at the least, seeing it was right next to the said file. Won't budge.

 

HUH???

Why would it be there on a "raw" (untouched) 98SE CD? It's actually UNCOMPRESSED inside of WIN98_63.CAB.

No idea. My files are actually on HDD, I've copied them over years ago when working with soporific on one of his projects. Timestamp is Jan 31 1999 while most other files and cabs are April 24 1999. It jumped at me first, didn't bother to search the cabs as I presumed it must be there for a reason and while being there it might actually be used sometime in the process.

 

Thank you, Den, haven't got the time to search around - I'm a little bit swamped right now. I'll see what UnSzdd can do.

Anyway, since a compressed file (presumably) belongs to the installation and might be used in the process, there should at least theoretically be a tool to uncompress such file right in that package/media. Possibly bundled inside some other executable.



#11
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

Coming along nicely now, thanks to your MSBATCH tips. DX9 gets installed automatically, as well as SP3 and NUSB... I did that by writing a registry key to "Run" (not runonce, that would be executed by setup and thus wouldn't work), that installs NUSB, which in turn adds a RunOnce that executes SP3 setup using an AutoIt script and INFEX.EXE. So far so good. Now for the drivers.

 

If I use the custom driver folder stuff, It detects NO devices at all. Seriously, all devices in device manager are unknown devices.

 

If I tack "C:\WINDOWS\INF" and "C:\WINCD" (my win cd folder) on to it, I get a MSGSVR32 error in COMMCTRL.DLL during setup.


Edited by oerg866, 01 May 2014 - 03:57 PM.


#12
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,331 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

I'll provide a little assist with your Source files later (will edit this Post). NOW we know why you have that file. Please note that I was also one that assisted soporific on two projects. (See Autopatcher 98SE thread, and note that the MSBATCH is from UBCD98SE and that thread has been removed.)

 

Rationale? Simply a "clean" source, since USP specifically states the Install Sequence AND Requirements (NO OTHER UPDATE PACKS). You COULD have some extraneous files in it. ;)

 

edit - Drivers are are different subject. I'll try to help, since the UBCD thread is gone (do NOT ask why, just accept it). The Driver Packages from the Vendor would need "unpacked AND certain INF files may need modified for the MSBATCH to find them AND the general method is to COPY them to HDD (from CD) for the MSBATCH to point to. There is a method via a BAT file (AFAICR).

 

edit2 - Lucky you! Here they are (archived from Soporific/MDGx website)!

Spoiler

This is the Original Driver Pack thread here -

http://www.msfn.org/...ows-959898seme/

NOTE that the Installation STILL requires the "method". We'll get to that but this will give you an idea (the files are self-extracting RAR's).

Attached Files


Edited by submix8c, 02 May 2014 - 08:24 AM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#13
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","OtherDevicePath",,"C:\WINCD\DRIVER\_USB0;C:\WINCD\DRIVER\ATARAID0;C:\WINCD\DRIVER\ATARAID1;C:\WINCD\DRIVER\ATARAID2;C:\WINCD\DRIVER\AUDIO0;C:\WINCD\DRIVER\AUDIO1;C:\WINCD\DRIVER\AUDIO2;C:\WINCD\DRIVER\AUDIO3;C:\WINCD\DRIVER\AUDIO4;C:\WINCD\DRIVER\CHIPSET0;C:\WINCD\DRIVER\GFX0;C:\WINCD\DRIVER\GFX1;C:\WINCD\DRIVER\GFX2;C:\WINCD\DRIVER\LAN0"

 

This is the registry entry btw....

 

When this is inserted, even if I only use one test path, the installation crashes... And also if I do this registry entry after installation, it crashes too when i do "Update Driver" on something...
 


Edited by oerg866, 02 May 2014 - 08:49 AM.


#14
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,331 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

OK...

First - RAID??? On 98SE???

Second - ONLY a Driver can be installed this way - NOT any accompanying Support Programs (eg Nvidia Control Panel). Support Programs MUST be installed via RunOnce (after reboot) -OR- Manually! An example of this is Audio for ALC Package has BOTH the Driver AND the SoundManagerSoftware/AVrack that I had to extract them separately.

Third - What the heck do you have with so MANY combos? IF any Driver File/Module has a SAME NAME, then you WILL get a Mix-And Match and FAILURE!

 

Take a look at the "README.TXT" file in the link I gave for some more specifics on the INF mods necessary.

 

Also, it would be REALLY nice to know WHAT is showing up as "Unknown Device" and/or those with "?" next to them in Devicer Manager in ADDITION to what your Hardware is. "Install Crashes" doesn't tell me anything. Working "in the dark" here...

 

Slightly O/T - I used my personal UBCD ISO/CD in a VM and it works flawlessly.


Edited by submix8c, 02 May 2014 - 09:07 AM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#15
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

RAID - yeah, why not? a lot of RAID controllers support Win9x :P

 

I'll get back to the other questions in a moment...



#16
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

Here's an example. The audioPCI device from VMware has drivers for win9x. These are in C:\WINCD\DRIVER\AUDIO5

 

The inf file looks like this:

; 5880, 1371, 1373
; Sound Blaster AudioPCI 128
;
; Created : 9/15/96  jjc
; modfied : 10/29/98 dws
; modfied : 12/22/98 bay
; modfied : 07/26/99 der
;
[Version]
; needed for MS joystick files
layoutfile=layout.inf
Signature="$CHICAGO$"
Class=MEDIA
provider=%Creative%
[ClassInstall]
AddReg=Class.AddReg
[Class.AddReg]
HKR,,,,%MediaClassName%
HKR,,Icon,,1
HKR,,Installer,,mmci.dll
[Manufacturer]
%MfgName%=CREATIVE
[CREATIVE]
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_13711274   ; Concert AC97 PCI board
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_4f438086   ; Intel OC440LX
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_52438086   ; Intel RC440BX
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_57538086   ; Intel WS440BX
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_42498086   ; Intel BI440ZX
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_424c8086   ; Intel BL440ZX
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_425a8086   ; Intel BZ440ZX
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_464a8086   ; Intel FJ440ZX
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_43418086   ; Intel Cayman
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_56438086   ; Intel Vancouver
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_53528086   ; Intel SunRiver
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_4D4F8086   ; Intel Monteal
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_46498086   ; Intel Fire Island
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_43438086   ; Intel Cape Cod
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371&SUBSYS_8054107B   ; Gateway Tabor2
%DEV_1371.DeviceDesc%=DEV1371.Device,PCI\VEN_1274&DEV_1371                   ; Concert AC97 PCI board
%SSC-Legacy.DeviceDesc%=SSC_Legacy_Device, VIRTUAL\SSC-Legacy
%ENSJoy.DeviceDesc%=ENSJoy.Device, VIRTUAL\*PNPB02F
[PreCopySection]
HKR,,NoSetupUI,,1
;---------------------------------------------------------------;
[DEV1371.Device]
UpdateAutoBat=Soundscape.UpdateAutoBat
DelFiles=Soundscape.DeleteList
CopyFiles=sscncrt.SystemCopyList,sscncrt.SetupCopyList,sscncrt.WinDirCopyList,sscncrt.HelpDirCopyList,sscncrt.DOSCopyList,sscncrt.IosubsysCopyList
AddReg=WAVE.AddReg, MIXER.AddReg, E4080.AddReg, sscncrt.AddReg, A3D.AddReg, DriverInfo.AddReg
[SSC_Legacy_Device]
AddReg=SSC_Legacy_Device.AddReg
[ENSJoy.Device]
CopyFiles=MSJSTICK.CopyList
AddReg=JOYSTICK.AddReg, MSJSTICK.AddReg
UpdateInis=MSJSTICK.UpdateInis
[Soundscape.UpdateAutoBat]
CmdDelete=SSINIT.EXE
;---------------------------------------------------------------;
[Soundscape.DeleteList]
sndscape.drv,,
vsndscp.386,,
sscape.cpl,,
sndscape.hlp,,
concert.vxd,,
[sscncrt.SystemCopyList]
sbpci.vxd,,
sbpci9x.drv,,
sbpcir16.dll,,
a3d.dll,,
ac3api.dll,,
; wavesets
;default.ecw,eapci2m.ecw,
eapci2m.ecw,,
eapci4m.ecw,,
eapci8m.ecw,,
[sscncrt.SetupCopyList]
sbsetup.exe,,
clnutl32.dll,,
clnutl16.dll,,
clnutil.dll,,
iwlang.dll,,
sbsetup.ini,,
sbpcir32.dll,,
[sscncrt.WinDirCopyList]
starter.exe,,
ensmix32.exe,,
enscfg32.exe,,
mixres32.dll,,
[sscncrt.HelpDirCopyList]
sbpci9x.hlp,,
[sscncrt.IosubsysCopyList]
ensqio.vxd,,
[sscncrt.DOSCopyList]
mt32.exe,,
sbinit.com,,
sblegacy.exe,,
sbload.exe,,
sbmixer.exe,,
sbtest.exe,,
sbpci.bin,,
sbcfg.exe,,
sbpci.INI,,
[MSJSTICK.CopyList]
vjoyd.vxd,,
msjstick.drv,,
;---------------------------------------------------------------;
[E4080.AddReg]
HKR,Drivers\wave\sbpci9x.drv,Description,,%DEV_1371.DeviceDesc%
HKR,Drivers\mixer\sbpci9x.drv,Description,,%DEV_1371.DeviceDesc%
HKR,Drivers\aux\sbpci9x.drv,Description,,%DEV_1371.DeviceDesc%
HKR,Drivers\midi\ENSONIQ_Synth,Description,,%ENSxxxx.InternalMIDI%
HKR,Drivers\midi\ENSONIQ_Out,Description,,%ENSxxxx.ExternalMIDI%
[sscncrt.AddReg]
HKR,,Driver,,sbpci.vxd
HKR,Drivers\wave\sbpci9x.drv,,,
HKR,Drivers\wave\sbpci9x.drv,Driver,,sbpci9x.drv
HKR,Drivers\mixer\sbpci9x.drv,,,
HKR,Drivers\mixer\sbpci9x.drv,Driver,,sbpci9x.drv
HKR,Drivers\aux\sbpci9x.drv,,,
HKR,Drivers\aux\sbpci9x.drv,Driver,,sbpci9x.drv
HKR,Drivers\midi\ENSONIQ_Synth,Driver,,sbpci9x.drv
HKR,Drivers\midi\ENSONIQ_Synth,External,1,00,00,00,00
HKR,Drivers\midi\ENSONIQ_Synth,NumPorts,1,02,00,00,00
HKR,Drivers\midi\ENSONIQ_Synth,Port,1,00,00,00,00
HKR,Drivers\midi\ENSONIQ_Out,Driver,,sbpci9x.drv
HKR,Drivers\midi\ENSONIQ_Out,External,1,01,00,00,00
HKR,Drivers\midi\ENSONIQ_Out,NumPorts,1,02,00,00,00
HKR,Drivers\midi\ENSONIQ_Out,Port,1,01,00,00,00
HKR,Drivers,SubClasses,,"wave,midi,aux,mixer"
HKR,,EnumPropPages,,"sbpci9x.drv,DrvEnumPropPages"
; adds the URL to the driver about box
HKLM,Software\"Creative Tech"\SBPCI,URL,,%URL%
; this key tells the driver that the DOS files are installed
HKLM,Software\"Creative Tech"\SBPCI,%sbpcikey%,,"%24%\%DOSDir%"
; adds keys for our wavesets
HKLM,Software\"Creative Tech"\Waveset,current,1,00,00,00,00
HKLM,Software\"Creative Tech"\Waveset\0000,Filename,,"%11%\eapci2m.ecw"
HKLM,Software\"Creative Tech"\Waveset\0000,Title,,"2 MB General MIDI"
HKLM,Software\"Creative Tech"\Waveset\0001,Filename,,"%11%\eapci4m.ecw"
HKLM,Software\"Creative Tech"\Waveset\0001,Title,,"4 MB General MIDI"
HKLM,Software\"Creative Tech"\Waveset\0002,Filename,,"%11%\eapci8m.ecw"
HKLM,Software\"Creative Tech"\Waveset\0002,Title,,"8 MB General MIDI"
;Things that run on startup
HKLM, Software\Microsoft\Windows\CurrentVersion\Run, SBPCISetup, ,"%24%\%DOSDir%\sbsetup.exe"
HKLM, Software\Microsoft\Windows\CurrentVersion\Run, SystemTray, , "SysTray.ExE"
; uninstall entry for Add-Remove Programs
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\SBPCIUnInstall,DisplayName,,"Creative PCI Audio Drivers"
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\SBPCIUnInstall,UninstallString,,"%24%\%DOSDir%\sbsetup.exe -u"
[WAVE.AddReg]
HKR,,DevLoader,,mmdevldr.vxd
HKR,Drivers,,,
HKR,Drivers,MIGRATED,,0
HKR,Drivers\midi,,,
HKR,Drivers\wave,,,
HKR,Drivers\mixer,,,
HKR,Drivers\aux,,,
[SSC_Legacy_Device.AddReg]
HKR,,DeviceDriver,,sbpci.vxd
HKR,,DevLoader,,*CONFIGMG
HKR,,SBEmu,1,01
HKR,,EnumPropPages,,"sbpci9x.drv,DrvEnumLegacyPages"
[A3D.AddReg]
HKCR,A3D,,,"A3d Object"
HKCR,A3D\CLSID,,,"{D8F1EEE0-F634-11CF-8700-00A0245D918B}"
HKCR,CLSID\{D8F1EEE0-F634-11CF-8700-00A0245D918B},,,"A3D Object"
HKCR,CLSID\{D8F1EEE0-F634-11CF-8700-00A0245D918B}\InprocServer32,,,"A3D.DLL"
HKCR,CLSID\{D8F1EEE0-F634-11CF-8700-00A0245D918B}\InprocServer32,"ThreadingModel", ,"Apartment"
[DriverInfo.AddReg]
; This section is added to all INFs to add registry entries for Driver Info.
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,Description,,%DriverDescription%
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,CurrentVer,,%DriverOEMVersion%
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,Ver_%DriverOEMVersion%,,%DriverVersionID%
;---------------------------------------------------------------;
[JOYSTICK.AddReg]
HKR,,DevLoader,,mmdevldr.vxd
HKR,Drivers,MIGRATED,,0
HKR,Drivers\joystick,,,
[MSJSTICK.AddReg]
HKR,,Driver,,vjoyd.vxd
HKR,Drivers\joystick\msjstick.drv,Description,,%ENSJoy.DeviceDesc%
HKR,Drivers\joystick\msjstick.drv,Driver,,msjstick.drv
HKR,Drivers,SubClasses,,"joystick"
[MSJSTICK.UpdateInis]
system.ini,drivers,"joystick="
;---------------------------------------------------------------;
[DestinationDirs]
sscncrt.WinDirCopyList   = 10
DefaultDestDir           = 11            ; LDID_SYS
sscncrt.SystemCopyList   = 11            ; LDID_SYS
MSJSTICK.CopyList        = 11            ; LDID_SYS
sscncrt.IosubsysCopyList = 12            ; LDID_IOS
sscncrt.HelpDirCopyList  = 18
sscncrt.SetupCopyList    = 24,%DOSDir%   ; LDID_APPS + DOSDir
sscncrt.DOSCopyList      = 24,%DOSDir%   ; LDID_APPS + DOSDir
[SourceDisksNames]
1=%DriverDisk1%,,0000-0000
[SourceDisksFiles]
sbpci9x.drv    =1
sbpcir16.dll   =1
sbpci.vxd      =1
sbpci9x.hlp    =1
a3d.dll        =1
ensqio.vxd     =1
ac3api.dll     =1
; setup files
sbsetup.exe    =1
clnutil.dll    =1
clnutl32.dll   =1
clnutl16.dll   =1
iwlang.dll     =1
sbsetup.ini    =1
sbpcir32.dll   =1
; DOS files
mt32.exe       =1
sbinit.com     =1
sblegacy.exe   =1
sbload.exe     =1
sbmixer.exe    =1
sbtest.exe     =1
sbpci.bin      =1
sbcfg.exe      =1
sbpci.ini      =1
; mixer files
starter.exe    =1
ensmix32.exe   =1
enscfg32.exe   =1
mixres32.dll   =1
; wavesets
eapci2m.ecw    =1,..\..\common\wavesets
eapci4m.ecw    =1,..\..\common\wavesets
eapci8m.ecw    =1,..\..\common\wavesets
;---------------------------------------------------------------;
[Strings]
Creative              ="Creative"
MfgName               ="Creative"
DEV_1371.DeviceDesc   ="Creative Sound Blaster AudioPCI 128"
SSC-Legacy.DeviceDesc ="Sound Blaster AudioPCI 128 Legacy Device"
ENSJoy.DeviceDesc     ="Creative Gameport Joystick"
DOSDir                ="SBPCI"
sbpcikey              ="SBPCI Path"
DriverDisk1           ="Creative Sound Blaster AudioPCI 128 Driver Disk"
ENSxxxx.ExternalMIDI  ="SB AudioPCI 128 External MIDI Port"
ENSxxxx.InternalMIDI  ="SB AudioPCI 128 Internal Synth"
MediaClassName        ="Sound, video and game controllers"
V_CLSWAVEFORM         ="Audio"
V_CLSMIDI             ="MIDI"
V_CLSMIXER            ="Mixer"
V_CLSAUX              ="Auxiliary"
V_GENERAL             ="General MIDI Instrument"
URL                   ="http://www.ensoniq.com"
; Driver Information Entries
DriverMfgr            ="Creative"
DriverVersionID       ="4.06.1167"
DriverOEM             ="Creative"
DriverFamily          ="Audio"
DriverProduct         ="SB AudioPCI 128"
DriverDescription     ="Creative Sound Blaster AudioPCI 128"
DriverOEMVersion="5.40"

Does the INF need to be modified? I would assume not....

 

My test string looks like this:

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","OtherDevicePath",,"C:\WINCD\DRIVER\AUDIO5"

 

Even with this, it crashes for some reason.... By the logic I gather from this, windows will lookk in that directory, find the inf, and install the drivers. The files are all in that folder as well. So no modification would be needed, right?

 

I have read somewhere that backslashes must be written like this: "\\"... If i do that, it doesn't crash, but it doesn't find the driver either ._.


Edited by oerg866, 02 May 2014 - 09:58 AM.


#17
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

OK, I do need to edit the INFs. But, partial success has been achieved!!! The paths must end in \ !! that was the problem... So C:\WINCD\DRIVER\AUDIO5\ works. Now I am presented with this:

 

http://img.ctrlv.in/...63c29b84e10.png

 

I will fix all the INFs up using a script, and BAM, should work nicely. :D



#18
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,331 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

Ummm... do you have a CR/LF (press <enter>) after that line? There IS a reason that they are there between each Section of MSBATCH.INF. Also note the ";" delimiter between each path. Again, my sample works flawlessly, as well as the instructions for editing the INF files. USE <ENTER> (CR/LF) BEFORE EACH NEXT "SECTION"!

 

HTH


Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#19
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

yes, of course. Just like your MSBATCH example :P

 

Also, WIP...

 

5363e5f2a066f.png



#20
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

OK, that was a false alarm. it STILL doesn't work, the thing above must have been a coincidence... ****. The setup ran through, it detected no hardware (only yellow ujnknown devices) and attempting to install anything resulted in a crash...



#21
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

Self-Facepalm ^ 9001

 

The offending driver was in AUDIO3... It was the REALTEK AC97 driver v4.06... Anyone know what the last working version for 9x is?

 

Cheers.



#22
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,331 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

INFPREP.EXE? Is that one of your "creations"? :unsure: Sorry, but I don't know what that is... Is that a "renamed" INFINST.EXE?

 

I thought I made it clear what the "rules" are about manually altering the INF files to correctly install on FIRST REBOOT?

 

Realtek AC97 is kind of "generic" isn't it? It IS "just" the INF + related modules, right? (I happen to have that EXACT file).

From here - http://218.210.127.1...3&GetDown=false

Here's WDM_A405 and WDM_A406, but they are EXE files that will need "unpacked" (WinRAR, WinZIP, 7Zip, whatever) -

ftp://files.3dnews.ru/pub/drivers/SOUND/realtek/

 

edit - Also scroll down - this APPEARS to be the FULL "older" package (Rack App and all) -

http://www.msfn.org/...mj-motherboard/

 

...and google this

realtek "5.10.0"
for more "potential" FULL packages.

 

HTH


Edited by submix8c, 03 May 2014 - 02:57 PM.

Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#23
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

I have all the full packages, I have a mirror of the realtek FTP...

 

 

INFPREP.EXE? Is that one of your "creations"? :unsure: Sorry, but I don't know what that is... Is that a "renamed" INFINST.EXE?

 

It is my own creation. It modifies all the INF files to have SourceDisksFiles point to the correct directories.

 

Sometimes it works, sometimes it doesn't. I have now put all INFs in same directory, numbering them (of course, still keeping the necessary files in separate directories). But only added the REG entry OtherDevicePath *after* install to experiment.

 

To make ti clears: the drivers were put in C:\Wincd\D and their relevant files are in D\A0, D\A1, etc. - This is marked properly in every inf file by my tool INFPREP.EXE.

 

Now to test:

 

Tried manually searching for drivers: Crash.

 

Got rid of INFs until I found the one causing it. Took it out, took others back. Tried searching again. Works.

 

Rebooted. Tried searching again: Crash.

 

This is so stupid. Windows bug??

 

Small amounts of INFs work, like what you have. I have 220 INF files,  and it doesn't.


Edited by oerg866, 03 May 2014 - 03:32 PM.


#24
submix8c

submix8c

    Inconceivable!

  • Patrons
  • 4,331 posts
  • Joined 14-September 05
  • OS:none specified
  • Country: Country Flag

Would you kindly give the EXACT procedure for Install? I'm getting confused as you -seemingly- are randomly changing the method and files/folders in an attempt to make it "work".

 

WHAT do you mean "crash"? "Like what you have"? What does that mean?

 

Please provide your MSBATCH.INF (x-out the Product Key) and several INF files, along with the corresponding DIR listing for the "several" INF's (including the sub-dirs) mainly the "failing" ones. ZIP (or whatever) them first and attach the ZIP file to your next post. You are DEFINITELY doing something wrong! Again, I've used this method many times.


Someday the tyrants will be unthroned... Jason "Jay" Chasteen; RIP, bro!

Posted Image


#25
oerg866

oerg866

    Newbie

  • Member
  • 45 posts
  • Joined 02-June 10
  • OS:98SE
  • Country: Country Flag

There is no need... I already figured it out. the Driver information database (C:\WINDOWS\INF\DRVIDX.BIN) will cause a general protection fault when read if it is larger than 2 MB... I just checked, I kept taking INFs away, and it started working when it went below 2MB.

 

I checked using INFmon. When reading the file, I t always crashes when at offset 2094813, attempting to read 65457 further bytes....

 

It's just not going to happen... Probably yet another thing R. Loew has to write a patch for (I'd buy it! :P)

 

I can somewhat mitigate this by discarding all SUBSYS specifications and just go with the PCI\VEN_xxxx&DEV_xxxx  IDs....

 

It's also why it started working when I took away the Realtek driver. It has several DOZENS of inf files, with huge lists of PCI IDs that Windows tries to make an entry in DRVIDX.BIN for... Lots of wasted space.


Edited by oerg866, 03 May 2014 - 04:53 PM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users