Re: SetupCopyOEMInf is prompting when no digital signature available

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Manfred Wilner (manfred.w_at_swecoinus.com)
Date: 09/09/04


Date: Thu, 9 Sep 2004 12:24:07 -0400

Yes this is the case. We have unique Hardware ID's for all our printers.

/Manfred

"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:OypI%23eolEHA.536@TK2MSFTNGP11.phx.gbl...
> At least your USB hardware must have a unique ID for this.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
> "Manfred Wilner" <manfred.w@swecoinus.com> wrote in message
> news:eUH0S6nlEHA.948@TK2MSFTNGP12.phx.gbl...
> > Hi Bobby,
> > I did look over the tech docs and as it seems to me I can install a
driver
> > with this without problems but what if I have a PnP printer like an USB
> > printer?
> > When I plug this printer in it will automatically prompt "New Hardware
> > Found" and then look for the driver.
> > So, if I can tell Windows before this where to find the driver it would
be
> > helpful.
> >
> > I was looking through the article about "Writing a Device Instalaltion
> > Application" and there it rederred to the SetupCopyOEMInf function.
> >
> > Thank you,
> > /Manfred
> >
> >
> >
> > "Bobby Mattappally [MS]" <bobbym@online.microsoft.com> wrote in message
> > news:bgSv%238SlEHA.2516@cpmsftngxa10.phx.gbl...
> > > Hi Manfred!
> > >
> > > Is there a reason you are installing the printer driver using the
setup
> > > APIs instead of using the printui.dll?
> > > You can do an install with no user interaction using an .inf file as
below
> > > using the printui.dll:
> > >
> > > 314486 How to Add Printers with No User Interaction in Windows XP
> > > http://support.microsoft.com/?id=314486
> > >
> > > 189105 How to Add Printers with No User Interaction in Windows
> > > http://support.microsoft.com/?id=189105
> > >
> > > Btw, this would still generate the security warning.
> > >
> > >
> > > --------------------
> > > From: "Manfred Wilner" <manfred.w@swecoinus.com>
> > > References: <OLktpVPlEHA.3372@TK2MSFTNGP09.phx.gbl>
> > > <#HjHmvPlEHA.2864@TK2MSFTNGP14.phx.gbl>
> > > Subject: Re: SetupCopyOEMInf is prompting when no digital signature
> > > available
> > > Date: Tue, 7 Sep 2004 13:22:00 -0400
> > > Lines: 30
> > >
> > > Hi Chris,
> > > Thanks for the reply.
> > > There is nothing wrong with the security prompt as long as it comes
only
> > > upon installation but here I am just copying the INF and am not
insatlling
> > > already.
> > > So it is an anoying factor.
> > >
> > > /Manfred
> > >
> > >
> > > "Chris" <cdore.connecttech.com> wrote in message
> > > news:%23HjHmvPlEHA.2864@TK2MSFTNGP14.phx.gbl...
> > > > "Manfred Wilner" <manfred.w@swecoinus.com> wrote:
> > > > > What can I do to prohibit this from happening.
> > > >
> > > > You could just copy the file yourself. However that's only good in
a
> > > > controlled environment, for a public/production driver the only way
> > (that
> > > I
> > > > know of) around the prompt is to get the package signed. You could
> > > disable
> > > > the signed driver checking on your machine, but obviously that
doesn't
> > do
> > > > any good on other machines.
> > > >
> > > > What's wrong with the security prompt?
> > > >
> > > > Chris
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > Hope this helps.
> > >
> > > Thank you,
> > > Bobby Mattappally
> > > Microsoft
> > >
> > > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > >
> >
> >
>
>



Relevant Pages

  • How to catch a system control interrupt?
    ... Being an application programmer mostly in the past, I now need to write a simple driver to ... catch a system control interruptfrom pressing to a unique hardware button on a tabletpc ...
    (microsoft.public.development.device.drivers)
  • CreateFile API failing with virtual COM port driver created with usbser.sys
    ... We developing virtual COM port driver. ... legacy application that outputs only to COM port and a usb hardware ... We are using "usbser.sys" as virtual COM port driver. ... the APIs fail with GetLastError reporting 2(system can not find ...
    (microsoft.public.windowsxp.device_driver.dev)
  • usbser.sys installation problem
    ... We developing virtual COM port driver. ... legacy application that outputs only to COM port and a usb hardware ... We are using "usbser.sys" as virtual COM port driver. ... the APIs fail with GetLastError reporting 2(system can not find ...
    (microsoft.public.windowsxp.hardware)
  • Re: USB Driver Problem
    ... Use the device manager to uninstall all the USB hardware and ... It will all be detected again as new hardware ... | Windows cannot load the device driver for this hardware. ...
    (microsoft.public.windowsxp.hardware)
  • Re: How Do I debug BSP ?
    ... JTAG can be useful for network driver debugging when you have only one NIC ... However if you have USB hardware you can get KITL ... going over USB so you can debug the NDIS driver as needed. ...
    (microsoft.public.windowsce.platbuilder)