Hi,

As part of a larger installation, I would like to install driver
software for PCMCIA hardware that will
be attached at a later time. When the hardware is attached, the user
should see no wizard of any
type. That is, the sorftware to operate the device should be either
fully installed during the initial
installation, or any additional steps should be invisible to the person
using the device. Suggestions
on the best way to do this would be greatly appreciated!

Jim

Re: Installing driver without hardware by Eliyas


Re: Installing driver without hardware by chris

chris
Tue Nov 14 13:48:14 CST 2006

Jim Monte wrote:

> As part of a larger installation, I would like to install driver
> software for PCMCIA hardware that will
> be attached at a later time. When the hardware is attached, the user
> should see no wizard of any
> type. That is, the sorftware to operate the device should be either
> fully installed during the initial
> installation, or any additional steps should be invisible to the person
> using the device. Suggestions
> on the best way to do this would be greatly appreciated!

You'll need to preinstall the driver package with SetupCopyOEMInf() or
one of the DIFX tools.

Also, you'll need to get your driver package signed by WHQL for a
completely silent installation.


Re: Installing driver without hardware by Jim

Jim
Wed Nov 15 09:08:44 CST 2006

Eliyas Yakub [MSFT] wrote:
> Preinstalling a PnP Function Driver Package:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devinst_d/hh/DevInst_d/difxapi-dg_e13b5ca4-d97e-4c57-ba60-accfea2e5f1a.xml.asp
>
>
> -Eliyas

Thanks for the reply. I had read this before posting, but it appeared
that it would cause a wizard to appear when
the hardware is first plugged in. Is this incorrect? It is important
to avoid any type of unexpected behavior since the
person installing the software may have very little computer experience
and the user may have even less. The driver
is unsigned and probably never will be.

Jim


Re: Installing driver without hardware by Jim

Jim
Wed Nov 15 09:12:48 CST 2006


chris.aseltine@gmail.com wrote:
> Jim Monte wrote:
>
> > As part of a larger installation, I would like to install driver
> > software for PCMCIA hardware that will
> > be attached at a later time. When the hardware is attached, the user
> > should see no wizard of any
> > type. That is, the sorftware to operate the device should be either
> > fully installed during the initial
> > installation, or any additional steps should be invisible to the person
> > using the device. Suggestions
> > on the best way to do this would be greatly appreciated!
>
> You'll need to preinstall the driver package with SetupCopyOEMInf() or
> one of the DIFX tools.
>
> Also, you'll need to get your driver package signed by WHQL for a
> completely silent installation.

Thanks for the reply. Is there any way to accomplish this without
having the driver signed?
The driver was written by a third party, and getting it signed does not
seem likely.

Jim


Re: Installing driver without hardware by Don

Don
Wed Nov 15 09:17:30 CST 2006

You can't do this, sorry but you need to sign it to stop the popup's
otherwise you are breaking the security system completely. If I can
install a driver without any warning, I can install a virus without any
warning.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply



"Jim Monte" <jdm95003@uconnvm.uconn.edu> wrote in message
news:1163603324.452473.144210@i42g2000cwa.googlegroups.com...
> Eliyas Yakub [MSFT] wrote:
>> Preinstalling a PnP Function Driver Package:
>>
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devinst_d/hh/DevInst_d/difxapi-dg_e13b5ca4-d97e-4c57-ba60-accfea2e5f1a.xml.asp
>>
>>
>> -Eliyas
>
> Thanks for the reply. I had read this before posting, but it appeared
> that it would cause a wizard to appear when
> the hardware is first plugged in. Is this incorrect? It is important
> to avoid any type of unexpected behavior since the
> person installing the software may have very little computer experience
> and the user may have even less. The driver
> is unsigned and probably never will be.
>
> Jim
>



Re: Installing driver without hardware by pavel_a

pavel_a
Wed Nov 15 12:21:03 CST 2006

"Jim Monte" wrote:
> Is there any way to accomplish this without
> having the driver signed?
> The driver was written by a third party, and getting it signed does not
> seem likely.

This is possible if you install the driver on one machine, capture the disk
image and clone it onto all other machines.
Otherwise you may need a fourth party to help with signing.

--PA


Re: Installing driver without hardware by Bench

Bench
Thu Nov 16 00:04:01 CST 2006

There is a way for XP. The same way works for 2K with limitations.

Eliyas Yakub has done a fine job at DDKs 'devcon' - see it, on how to use
the setup api.

Don Burn: 'Ignore', should mean 'ignore' and not 'do you really mean ignore?'.

- Bernhard Ruhsam ( still love OS/2 :)

"Jim Monte" wrote:

>
> chris.aseltine@gmail.com wrote:
> > Jim Monte wrote:
> >
> > > As part of a larger installation, I would like to install driver
> > > software for PCMCIA hardware that will
> > > be attached at a later time. When the hardware is attached, the user
> > > should see no wizard of any
> > > type. That is, the sorftware to operate the device should be either
> > > fully installed during the initial
> > > installation, or any additional steps should be invisible to the person
> > > using the device. Suggestions
> > > on the best way to do this would be greatly appreciated!
> >
> > You'll need to preinstall the driver package with SetupCopyOEMInf() or
> > one of the DIFX tools.
> >
> > Also, you'll need to get your driver package signed by WHQL for a
> > completely silent installation.
>
> Thanks for the reply. Is there any way to accomplish this without
> having the driver signed?
> The driver was written by a third party, and getting it signed does not
> seem likely.
>
> Jim
>
>

Re: Installing driver without hardware by Don

Don
Thu Nov 16 07:33:56 CST 2006


"Bench" <Bench@discussions.microsoft.com> wrote in message
news:487C2D28-FE9D-4DC5-BF9A-188AD40EE6A6@microsoft.com...
> There is a way for XP. The same way works for 2K with limitations.
>
> Eliyas Yakub has done a fine job at DDKs 'devcon' - see it, on how to use
> the setup api.
>
Using devcon will still cause a popup for a non-signed driver, which is
what the OP is asking to avoid.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply




Re: Installing driver without hardware by Jim

Jim
Thu Nov 16 08:28:59 CST 2006


Don Burn wrote:
> You can't do this, sorry but you need to sign it to stop the popup's
> otherwise you are breaking the security system completely. If I can
> install a driver without any warning, I can install a virus without any
> warning.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> http://www.windrvr.com
> Remove StopSpam from the email to reply
>

That seems reasonable and is not totally unexpected, but I was
hoping there was a way around the security issue.

Jim


Re: Installing driver without hardware by Don

Don
Thu Nov 16 08:34:10 CST 2006

Jim,

As has been suggested you can install use an image install to get
around this. The other approach is as part of the install to turn off the
unsigned driver warnings for the system (this is a security hole so you
need to decide the merits of this).


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply


"Jim Monte" <jdm95003@uconnvm.uconn.edu> wrote in message
news:1163687339.179015.37670@h48g2000cwc.googlegroups.com...
>
> Don Burn wrote:
>> You can't do this, sorry but you need to sign it to stop the popup's
>> otherwise you are breaking the security system completely. If I can
>> install a driver without any warning, I can install a virus without any
>> warning.
>>
>>
>> --
>> Don Burn (MVP, Windows DDK)
>> Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> http://www.windrvr.com
>> Remove StopSpam from the email to reply
>>
>
> That seems reasonable and is not totally unexpected, but I was
> hoping there was a way around the security issue.
>
> Jim
>



Re: Installing driver without hardware by Bench

Bench
Thu Nov 16 08:36:01 CST 2006

Well, i did not say to use devcon, just to see how the setup api can be used.
Installing non signed drivers without userinteraction is possible.
Users might, or might not see popups - this depends on your implementation.

- Bernhard Ruhsam


"Don Burn" wrote:

>
> "Bench" <Bench@discussions.microsoft.com> wrote in message
> news:487C2D28-FE9D-4DC5-BF9A-188AD40EE6A6@microsoft.com...
> > There is a way for XP. The same way works for 2K with limitations.
> >
> > Eliyas Yakub has done a fine job at DDKs 'devcon' - see it, on how to use
> > the setup api.
> >
> Using devcon will still cause a popup for a non-signed driver, which is
> what the OP is asking to avoid.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> http://www.windrvr.com
> Remove StopSpam from the email to reply
>
>
>
>

Re: Installing driver without hardware by Don

Don
Thu Nov 16 08:42:59 CST 2006


"Bench" <Bench@discussions.microsoft.com> wrote in message
news:A4242CB9-9569-4BB0-83B0-13D1F024D651@microsoft.com...
> Well, i did not say to use devcon, just to see how the setup api can be
> used.
> Installing non signed drivers without userinteraction is possible.
> Users might, or might not see popups - this depends on your
> implementation.
>
No you will see the popup, or you have either disabled it for the system or
written a hack to fake pressing the button when it occurs. This is one of
the problems with Microsofts headless environments, the popup still tries
to go to the desktop and in headless there is no desktop! Been there, done
that, and have the marks from beating my head against the wall.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply




Re: Installing driver without hardware by Pavel

Pavel
Fri Nov 17 18:10:40 CST 2006


"Don Burn" <burn@stopspam.acm.org> wrote in message news:eJpFT2YCHHA.3540@TK2MSFTNGP03.phx.gbl...
>
> No you will see the popup, or you have either disabled it for the system or written a hack to fake pressing the button when it
> occurs. This is one of the problems with Microsofts headless environments, the popup still tries to go to the desktop and in
> headless there is no desktop! Been there, done that, and have the marks from beating my head against the wall.

Dear Mr. Burn,
As your head obviously survived the beating, can we assume that you have
eventually written some anti-popup hack, or disabled the warning?

Regards,
Pavel


( btw, here is an idea for the OSR store: a helmet for beating
against the wall, with hits counter; in ntdev and ntfsd head shapes ;)



Re: Installing driver without hardware by Don

Don
Fri Nov 17 19:45:03 CST 2006


"Pavel A." <pavel_a@NOwritemeNO.com> wrote in message
news:%23b1YpaqCHHA.4428@TK2MSFTNGP04.phx.gbl...
>
> "Don Burn" <burn@stopspam.acm.org> wrote in message
> news:eJpFT2YCHHA.3540@TK2MSFTNGP03.phx.gbl...
>>
>> No you will see the popup, or you have either disabled it for the system
>> or written a hack to fake pressing the button when it occurs. This is
>> one of the problems with Microsofts headless environments, the popup
>> still tries to go to the desktop and in headless there is no desktop!
>> Been there, done that, and have the marks from beating my head against
>> the wall.
>
> Dear Mr. Burn,
> As your head obviously survived the beating, can we assume that you have
> eventually written some anti-popup hack, or disabled the warning?
>

Nope, neither works for a headless system.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply




Re: Installing driver without hardware by Bench

Bench
Mon Nov 20 01:20:01 CST 2006

I think, the "Add new hw wizard" is generated by the usermode PnP manager - i
did not try to disable it. I wouldn't call it a hack, pressing dialog buttons
- in this case there's no need for a hack or pressing dialog buttons.

Consider, the dialog is just shown, when there is no driver installed and
the dialog disappears ( XP ) when a driver was installed.

I think this should be enough hints for Jim Monte, if he still searches a
solution ( i don't want Microsoft to change anyting ;-) ).

- Bernhard Ruhsam


"Don Burn" wrote:

>
> "Bench" <Bench@discussions.microsoft.com> wrote in message
> news:A4242CB9-9569-4BB0-83B0-13D1F024D651@microsoft.com...
> > Well, i did not say to use devcon, just to see how the setup api can be
> > used.
> > Installing non signed drivers without userinteraction is possible.
> > Users might, or might not see popups - this depends on your
> > implementation.
> >
> No you will see the popup, or you have either disabled it for the system or
> written a hack to fake pressing the button when it occurs. This is one of
> the problems with Microsofts headless environments, the popup still tries
> to go to the desktop and in headless there is no desktop! Been there, done
> that, and have the marks from beating my head against the wall.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> http://www.windrvr.com
> Remove StopSpam from the email to reply
>
>
>
>