Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Preinstallation of INF File

Reply
Thread Tools Display Modes

Preinstallation of INF File

 
 
Michael Reim
Guest
Posts: n/a

 
      05-25-2010
Hello

When an unknown USB device is plugged in, Windows 7 doesn't ask the user for
a driver disk. But this was the way we recommended for our users on Windows
XP.

So I think on Windows 7 I need something like a setup.exe that preinstalls
the driver INF file before the user plugs in the device.

What is the easiest way to preinstall a USB driver on Windows 7?
Do I have to write my own setup program and call some magic API functions?
Or can I in some way use the Microsoft Installer?

Any help appreciated.

TIA

--
Michael Reim
Michael DOT Reim AT helmut-fischer DOT de


 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a

 
      05-26-2010
"Michael Reim"
<> wrote:
>
>When an unknown USB device is plugged in, Windows 7 doesn't ask the user for
>a driver disk.


Correct. Most users are brain-dead, and those dialogs just confused them.

>But this was the way we recommended for our users on Windows XP.


Well, it's not that much harder to tell them to go to Device Manager and do
a manual update.

>So I think on Windows 7 I need something like a setup.exe that preinstalls
>the driver INF file before the user plugs in the device.
>
>What is the easiest way to preinstall a USB driver on Windows 7?
>Do I have to write my own setup program and call some magic API functions?
>Or can I in some way use the Microsoft Installer?


I use a small NSIS script with DPInst.exe. The NSIS script unpacks the
driver package plus DPInst, and then launches DPInst, which does the
pre-installation. Easy as pie.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
 
Michael Reim
Guest
Posts: n/a

 
      05-27-2010
Hello Tim,

see my comments below.

"Tim Roberts" <> schrieb im Newsbeitrag
news:...
> "Michael Reim"
> <> wrote:
>>
>>When an unknown USB device is plugged in, Windows 7 doesn't ask the user
>>for
>>a driver disk.

>
> Correct. Most users are brain-dead, and those dialogs just confused them.
>
>>But this was the way we recommended for our users on Windows XP.

>
> Well, it's not that much harder to tell them to go to Device Manager and
> do
> a manual update.


This is what we don't want our "brain-dead" users to do.


>>So I think on Windows 7 I need something like a setup.exe that preinstalls
>>the driver INF file before the user plugs in the device.
>>
>>What is the easiest way to preinstall a USB driver on Windows 7?
>>Do I have to write my own setup program and call some magic API functions?
>>Or can I in some way use the Microsoft Installer?

>
> I use a small NSIS script with DPInst.exe. The NSIS script unpacks the
> driver package plus DPInst, and then launches DPInst, which does the
> pre-installation. Easy as pie.


Thank you for this excellent hint. DPInst is exactly what I was looking for.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add-Ons "run without permission." OREALLY Internet Explorer 2 01-19-2010 06:09 AM
Windows 2003 R2 - Missing Disk Space on System drive zinger-uk Windows Server 12 11-29-2009 12:02 PM
error code 0x8024D007 jenny Windows Update 10 11-23-2009 05:48 PM
File not in Explorer but opens anyhow Toyman Windows Vista File Management 5 07-24-2007 11:06 PM
Tag only some file types Phillip Windows Vista File Management 15 04-10-2007 02:23 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59