I have a 1394 WDM driver for Windows 98 SE and I need to write a device
setup application to setup the driver.

As somebody mentioned before in this list, the SetupCopyOEMInf function
won't do the work in Windows 98. What's more, I can't just go into the
registry to setup everything, because I don't know the device registry entry
before the device is actually plugged into the system (PnP driver). Is there
any way or any API in Windows 98 that works like SetupCopyOEMInf in 2000/XP?

I also tried to manually copy everything myself. I copy the INF file to
%windir%\inf\Other directory, and copy my 1394 driver to
%windir%\system32\drivers directory. When I first plug in a device, the
system install the driver for my device automatically!!! I also noticed that
every file in windows\inf\Other directory has the same name pattern:
Provider name followed by the original name of INF file. So I guess there
must be some way to let Windows 98 copy the driver file and INF to the right
directories. Any one has any idea of what this API is?

Thanks and regards,

Zhen

Re: Windows 98 device setup application by Zhen

Zhen
Wed Nov 19 13:17:41 CST 2003

Please anyone help me!

"Zhen" <zhenx@initio.com> wrote in message
news:H6xub.11068$fB1.1509@newssvr29.news.prodigy.com...
> I have a 1394 WDM driver for Windows 98 SE and I need to write a device
> setup application to setup the driver.
>
> As somebody mentioned before in this list, the SetupCopyOEMInf function
> won't do the work in Windows 98. What's more, I can't just go into the
> registry to setup everything, because I don't know the device registry
entry
> before the device is actually plugged into the system (PnP driver). Is
there
> any way or any API in Windows 98 that works like SetupCopyOEMInf in
2000/XP?
>
> I also tried to manually copy everything myself. I copy the INF file to
> %windir%\inf\Other directory, and copy my 1394 driver to
> %windir%\system32\drivers directory. When I first plug in a device, the
> system install the driver for my device automatically!!! I also noticed
that
> every file in windows\inf\Other directory has the same name pattern:
> Provider name followed by the original name of INF file. So I guess there
> must be some way to let Windows 98 copy the driver file and INF to the
right
> directories. Any one has any idea of what this API is?
>
> Thanks and regards,
>
> Zhen
>
>



Re: Windows 98 device setup application by Ray

Ray
Wed Nov 19 14:40:43 CST 2003

I don't know of any single or simple Win98 API that will do a silent
software-first installation of a device driver (as far as I know, Win9x
was only designed to install drivers using the Add New Hardware wizard
when the device is first plugged in, or later via an installer).

On the other hand, it sounds like you have already figured out how to
use the "CopyFile" API to do what you need to do...

Zhen wrote:

> Please anyone help me!
>
> "Zhen" <zhenx@initio.com> wrote in message
> news:H6xub.11068$fB1.1509@newssvr29.news.prodigy.com...
>
>>I have a 1394 WDM driver for Windows 98 SE and I need to write a device
>>setup application to setup the driver.
>>
>>As somebody mentioned before in this list, the SetupCopyOEMInf function
>>won't do the work in Windows 98. What's more, I can't just go into the
>>registry to setup everything, because I don't know the device registry
>
> entry
>
>>before the device is actually plugged into the system (PnP driver). Is
>
> there
>
>>any way or any API in Windows 98 that works like SetupCopyOEMInf in
>
> 2000/XP?
>
>>I also tried to manually copy everything myself. I copy the INF file to
>>%windir%\inf\Other directory, and copy my 1394 driver to
>>%windir%\system32\drivers directory. When I first plug in a device, the
>>system install the driver for my device automatically!!! I also noticed
>
> that
>
>>every file in windows\inf\Other directory has the same name pattern:
>>Provider name followed by the original name of INF file. So I guess there
>>must be some way to let Windows 98 copy the driver file and INF to the
>
> right
>
>>directories. Any one has any idea of what this API is?
>>
>>Thanks and regards,
>>
>>Zhen
>>
>>
>
>
>

--
../ray\..

Re: Windows 98 device setup application by Zhen

Zhen
Wed Nov 19 16:34:45 CST 2003

"Ray Trent" <rat@synaptics.com.spamblock> wrote in message
news:OcaIo1trDHA.1364@TK2MSFTNGP10.phx.gbl...
> On the other hand, it sounds like you have already figured out how to
> use the "CopyFile" API to do what you need to do...

Yes, maybe the "Add new hardware wizard" is doing the same thing, execpt
adding a vendor name to the INF file name.

Another question is: is there any subsitute in Win9x that will do the same
job as UpdateDriverForPlugAndPlayDevices in Win2k/Xp?
How do I update an already installed device driver in Win9x?

Thanks,

Zhen


>
> Zhen wrote:
>
> > Please anyone help me!
> >
> > "Zhen" <zhenx@initio.com> wrote in message
> > news:H6xub.11068$fB1.1509@newssvr29.news.prodigy.com...
> >
> >>I have a 1394 WDM driver for Windows 98 SE and I need to write a device
> >>setup application to setup the driver.
> >>
> >>As somebody mentioned before in this list, the SetupCopyOEMInf function
> >>won't do the work in Windows 98. What's more, I can't just go into the
> >>registry to setup everything, because I don't know the device registry
> >
> > entry
> >
> >>before the device is actually plugged into the system (PnP driver). Is
> >
> > there
> >
> >>any way or any API in Windows 98 that works like SetupCopyOEMInf in
> >
> > 2000/XP?
> >
> >>I also tried to manually copy everything myself. I copy the INF file to
> >>%windir%\inf\Other directory, and copy my 1394 driver to
> >>%windir%\system32\drivers directory. When I first plug in a device, the
> >>system install the driver for my device automatically!!! I also noticed
> >
> > that
> >
> >>every file in windows\inf\Other directory has the same name pattern:
> >>Provider name followed by the original name of INF file. So I guess
there
> >>must be some way to let Windows 98 copy the driver file and INF to the
> >
> > right
> >
> >>directories. Any one has any idea of what this API is?
> >>
> >>Thanks and regards,
> >>
> >>Zhen
> >>
> >>
> >
> >
> >
>
> --
> ../ray\..



Re: Windows 98 device setup application by Tim

Tim
Wed Nov 19 17:30:14 CST 2003

"Zhen" <zhenx@initio.com> wrote:
>
>I have a 1394 WDM driver for Windows 98 SE and I need to write a device
>setup application to setup the driver.
>...
>I also tried to manually copy everything myself. I copy the INF file to
>%windir%\inf\Other directory, and copy my 1394 driver to
>%windir%\system32\drivers directory. When I first plug in a device, the
>system install the driver for my device automatically!!! I also noticed that
>every file in windows\inf\Other directory has the same name pattern:
>Provider name followed by the original name of INF file. So I guess there
>must be some way to let Windows 98 copy the driver file and INF to the right
>directories. Any one has any idea of what this API is?

If copying the files directly works, I suggest you simply DO that. The
recipe you describe is correct. There is no more WHQL for the 16-bit
systems, so it's not like there is any "big brother" making sure you follow
the rules directly.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Re: Windows 98 device setup application by Zhen

Zhen
Wed Nov 19 17:54:58 CST 2003

Great! Thanks a lot.

Zhen

"Tim Roberts" <timr@probo.com> wrote in message
news:s5vnrvo10jdbseg9di7460okkq58pp23v6@4ax.com...
>
> If copying the files directly works, I suggest you simply DO that. The
> recipe you describe is correct. There is no more WHQL for the 16-bit
> systems, so it's not like there is any "big brother" making sure you
follow
> the rules directly.
> --
> - Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.



Re: Windows 98 device setup application by Ray

Ray
Wed Nov 19 18:06:36 CST 2003

Depends on what you mean by "Win9x". I believe UDFPAPD was added in
Win98 SE (don't quote me on that, but I'm almost certain it's in ME).

Before that, you had to roll your own installation using SetupDi or even
SetupX (If you had to go back all the way to Win95) calls.

Zhen wrote:

> "Ray Trent" <rat@synaptics.com.spamblock> wrote in message
> news:OcaIo1trDHA.1364@TK2MSFTNGP10.phx.gbl...
>
>>On the other hand, it sounds like you have already figured out how to
>>use the "CopyFile" API to do what you need to do...
>
>
> Yes, maybe the "Add new hardware wizard" is doing the same thing, execpt
> adding a vendor name to the INF file name.
>
> Another question is: is there any subsitute in Win9x that will do the same
> job as UpdateDriverForPlugAndPlayDevices in Win2k/Xp?
> How do I update an already installed device driver in Win9x?
>
> Thanks,
>
> Zhen
>
>
>
>>Zhen wrote:
>>
>>
>>>Please anyone help me!
>>>
>>>"Zhen" <zhenx@initio.com> wrote in message
>>>news:H6xub.11068$fB1.1509@newssvr29.news.prodigy.com...
>>>
>>>
>>>>I have a 1394 WDM driver for Windows 98 SE and I need to write a device
>>>>setup application to setup the driver.
>>>>
>>>>As somebody mentioned before in this list, the SetupCopyOEMInf function
>>>>won't do the work in Windows 98. What's more, I can't just go into the
>>>>registry to setup everything, because I don't know the device registry
>>>
>>>entry
>>>
>>>
>>>>before the device is actually plugged into the system (PnP driver). Is
>>>
>>>there
>>>
>>>
>>>>any way or any API in Windows 98 that works like SetupCopyOEMInf in
>>>
>>>2000/XP?
>>>
>>>
>>>>I also tried to manually copy everything myself. I copy the INF file to
>>>>%windir%\inf\Other directory, and copy my 1394 driver to
>>>>%windir%\system32\drivers directory. When I first plug in a device, the
>>>>system install the driver for my device automatically!!! I also noticed
>>>
>>>that
>>>
>>>
>>>>every file in windows\inf\Other directory has the same name pattern:
>>>>Provider name followed by the original name of INF file. So I guess
>
> there
>
>>>>must be some way to let Windows 98 copy the driver file and INF to the
>>>
>>>right
>>>
>>>
>>>>directories. Any one has any idea of what this API is?
>>>>
>>>>Thanks and regards,
>>>>
>>>>Zhen
>>>>
>>>>
>>>
>>>
>>>
>>--
>>../ray\..
>
>
>

--
../ray\..

Re: Windows 98 device setup application by Zhen

Zhen
Wed Nov 19 19:18:20 CST 2003

Thanks for your help. I didn't find any "newdev.dll" in my Win98 SE box, so
I guess UDFPAPD is not supported in Win98 SE.

I also found a little "nice" thing in ME: if I plug in the device and choose
not to install driver, the device won't show up in the registry. This just
removes one scenario that my installer has to take care of.

Zhen

"Ray Trent" <rat@synaptics.com.spamblock> wrote in message
news:up1CrovrDHA.2832@TK2MSFTNGP11.phx.gbl...
> Depends on what you mean by "Win9x". I believe UDFPAPD was added in
> Win98 SE (don't quote me on that, but I'm almost certain it's in ME).
>
> Before that, you had to roll your own installation using SetupDi or even
> SetupX (If you had to go back all the way to Win95) calls.
>
> Zhen wrote:
>
> > "Ray Trent" <rat@synaptics.com.spamblock> wrote in message
> > news:OcaIo1trDHA.1364@TK2MSFTNGP10.phx.gbl...
> >
> >>On the other hand, it sounds like you have already figured out how to
> >>use the "CopyFile" API to do what you need to do...
> >
> >
> > Yes, maybe the "Add new hardware wizard" is doing the same thing, execpt
> > adding a vendor name to the INF file name.
> >
> > Another question is: is there any subsitute in Win9x that will do the
same
> > job as UpdateDriverForPlugAndPlayDevices in Win2k/Xp?
> > How do I update an already installed device driver in Win9x?
> >
> > Thanks,
> >
> > Zhen
> >
> >
> >
> >>Zhen wrote:
> >>
> >>
> >>>Please anyone help me!
> >>>
> >>>"Zhen" <zhenx@initio.com> wrote in message
> >>>news:H6xub.11068$fB1.1509@newssvr29.news.prodigy.com...
> >>>
> >>>
> >>>>I have a 1394 WDM driver for Windows 98 SE and I need to write a
device
> >>>>setup application to setup the driver.
> >>>>
> >>>>As somebody mentioned before in this list, the SetupCopyOEMInf
function
> >>>>won't do the work in Windows 98. What's more, I can't just go into the
> >>>>registry to setup everything, because I don't know the device registry
> >>>
> >>>entry
> >>>
> >>>
> >>>>before the device is actually plugged into the system (PnP driver). Is
> >>>
> >>>there
> >>>
> >>>
> >>>>any way or any API in Windows 98 that works like SetupCopyOEMInf in
> >>>
> >>>2000/XP?
> >>>
> >>>
> >>>>I also tried to manually copy everything myself. I copy the INF file
to
> >>>>%windir%\inf\Other directory, and copy my 1394 driver to
> >>>>%windir%\system32\drivers directory. When I first plug in a device,
the
> >>>>system install the driver for my device automatically!!! I also
noticed
> >>>
> >>>that
> >>>
> >>>
> >>>>every file in windows\inf\Other directory has the same name pattern:
> >>>>Provider name followed by the original name of INF file. So I guess
> >
> > there
> >
> >>>>must be some way to let Windows 98 copy the driver file and INF to the
> >>>
> >>>right
> >>>
> >>>
> >>>>directories. Any one has any idea of what this API is?
> >>>>
> >>>>Thanks and regards,
> >>>>
> >>>>Zhen
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>--
> >>../ray\..
> >
> >
> >
>
> --
> ../ray\..