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\..