Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Installing device driver

Reply
Thread Tools Display Modes

Installing device driver

 
 
ma
Guest
Posts: n/a

 
      06-22-2005
Hello,

I have an application that needs to install a device driver in the
target computer among installing other files. I am using InstallShield for
installation and I have InstallShield professional. It seems that there is
no utility in this version of InstallShield for installing device driver. Is
there?



What is the simplest way to install a driver when you have the inf file for
the device?

Is there any tutorial about this?



Any help appreciated.



Best regards


 
Reply With Quote
 
 
 
 
Don Burn
Guest
Posts: n/a

 
      06-22-2005
Look at the DevCon sample in the DDK. In general you need to copy your
files to a directory and use SetupCopyOEMInf to copy the INF file to the
windows directory.


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



"ma" <> wrote in message
news:...
> Hello,
>
> I have an application that needs to install a device driver in the
> target computer among installing other files. I am using InstallShield for
> installation and I have InstallShield professional. It seems that there is
> no utility in this version of InstallShield for installing device driver.
> Is there?
>
>
>
> What is the simplest way to install a driver when you have the inf file
> for the device?
>
> Is there any tutorial about this?
>
>
>
> Any help appreciated.
>
>
>
> Best regards
>
>



 
Reply With Quote
 
Pavel A.
Guest
Posts: n/a

 
      06-22-2005
Also you can try DifX v 2 -
http://www.microsoft.com/whdc/driver...l/DIFxtls.mspx
Sometimes it works well, though your mileage can vary.

--PA

"Arkady Frenkel" wrote:
> And that ( SetupCopyOEMInf and maybe other if you need ) you can call
> from InstallShield too , but you need in wrap into function which will sit
> in
> external dll. IS allow you to call functions from custom dlls
> Arkady
>
> "Don Burn" <> wrote in message
> news:kAdue.7032$...
> > Look at the DevCon sample in the DDK. In general you need to copy your
> > files to a directory and use SetupCopyOEMInf to copy the INF file to the
> > windows directory.
> >
> >
> > --
> > Don Burn (MVP, Windows DDK)
> > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > Remove StopSpam from the email to reply
> >
> >
> >
> > "ma" <> wrote in message
> > news:...
> >> Hello,
> >>
> >> I have an application that needs to install a device driver in the
> >> target computer among installing other files. I am using InstallShield
> >> for installation and I have InstallShield professional. It seems that
> >> there is no utility in this version of InstallShield for installing
> >> device driver. Is there?
> >>
> >>
> >>
> >> What is the simplest way to install a driver when you have the inf file
> >> for the device?
> >>
> >> Is there any tutorial about this?
> >>
> >>
> >>
> >> Any help appreciated.
> >>
> >>
> >>
> >> Best regards
> >>
> >>

> >
> >

>
>
>

 
Reply With Quote
 
Arkady Frenkel
Guest
Posts: n/a

 
      06-22-2005
And that ( SetupCopyOEMInf and maybe other if you need ) you can call
from InstallShield too , but you need in wrap into function which will sit
in
external dll. IS allow you to call functions from custom dlls
Arkady

"Don Burn" <> wrote in message
news:kAdue.7032$...
> Look at the DevCon sample in the DDK. In general you need to copy your
> files to a directory and use SetupCopyOEMInf to copy the INF file to the
> windows directory.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> "ma" <> wrote in message
> news:...
>> Hello,
>>
>> I have an application that needs to install a device driver in the
>> target computer among installing other files. I am using InstallShield
>> for installation and I have InstallShield professional. It seems that
>> there is no utility in this version of InstallShield for installing
>> device driver. Is there?
>>
>>
>>
>> What is the simplest way to install a driver when you have the inf file
>> for the device?
>>
>> Is there any tutorial about this?
>>
>>
>>
>> Any help appreciated.
>>
>>
>>
>> Best regards
>>
>>

>
>



 
Reply With Quote
 
Shinogi Syota
Guest
Posts: n/a

 
      06-23-2005
How about to create an inf file for your device driver and
use a batch containing the command as follow?

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %inf_filename%

And kick this bat from Install Shield.

--
===================
Macnica Networks Corp.
Application Tech. 2nd Sec.
Syota Shinogi
===================


"ma" wrote:

> Hello,
>
> I have an application that needs to install a device driver in the
> target computer among installing other files. I am using InstallShield for
> installation and I have InstallShield professional. It seems that there is
> no utility in this version of InstallShield for installing device driver. Is
> there?
>
>
>
> What is the simplest way to install a driver when you have the inf file for
> the device?
>
> Is there any tutorial about this?
>
>
>
> Any help appreciated.
>
>
>
> Best regards
>
>
>

 
Reply With Quote
 
ma
Guest
Posts: n/a

 
      06-23-2005
Good suggestion but why to write a batch file? why not run rundll32.exe
directly from installshield?
How this instruction is working? what is the parameters and where can I read
more about this?

Best regards


"Shinogi Syota" <> wrote in message
news:0CB913B9-467F-44CB-B56D-...
> How about to create an inf file for your device driver and
> use a batch containing the command as follow?
>
> rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %inf_filename%
>
> And kick this bat from Install Shield.
>
> --
> ===================
> Macnica Networks Corp.
> Application Tech. 2nd Sec.
> Syota Shinogi
> ===================
>
>
> "ma" wrote:
>
>> Hello,
>>
>> I have an application that needs to install a device driver in the
>> target computer among installing other files. I am using InstallShield
>> for
>> installation and I have InstallShield professional. It seems that there
>> is
>> no utility in this version of InstallShield for installing device driver.
>> Is
>> there?
>>
>>
>>
>> What is the simplest way to install a driver when you have the inf file
>> for
>> the device?
>>
>> Is there any tutorial about this?
>>
>>
>>
>> Any help appreciated.
>>
>>
>>
>> Best regards
>>
>>
>>



 
Reply With Quote
 
Ralf Buschmann
Guest
Posts: n/a

 
      06-23-2005
Am 23.06.2005 09:11:03 schrieb Shinogi Syota:

> rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %inf_filename%


This approach does NOT work for hardware PnP INFs.

--
Ralf.
 
Reply With Quote
 
Pavel A.
Guest
Posts: n/a

 
      06-23-2005
You may want to visit this webchat with MS driver install team - it is exactly about using DifX with MSI.
http://www.microsoft.com/communities...0628_DN_11.ics

--PA

"Pavel A." <> wrote in message news:4FDD0CFB-A425-4B28-8302-...
> Also you can try DifX v 2 -
> http://www.microsoft.com/whdc/driver...l/DIFxtls.mspx
> Sometimes it works well, though your mileage can vary.
>
> --PA
>
> "Arkady Frenkel" wrote:
> > And that ( SetupCopyOEMInf and maybe other if you need ) you can call
> > from InstallShield too , but you need in wrap into function which will sit
> > in
> > external dll. IS allow you to call functions from custom dlls
> > Arkady
> >
> > "Don Burn" <> wrote in message
> > news:kAdue.7032$...
> > > Look at the DevCon sample in the DDK. In general you need to copy your
> > > files to a directory and use SetupCopyOEMInf to copy the INF file to the
> > > windows directory.
> > >
> > >
> > > --
> > > Don Burn (MVP, Windows DDK)
> > > Windows 2k/XP/2k3 Filesystem and Driver Consulting
> > > Remove StopSpam from the email to reply
> > >
> > >
> > >
> > > "ma" <> wrote in message
> > > news:...
> > >> Hello,
> > >>
> > >> I have an application that needs to install a device driver in the
> > >> target computer among installing other files. I am using InstallShield
> > >> for installation and I have InstallShield professional. It seems that
> > >> there is no utility in this version of InstallShield for installing
> > >> device driver. Is there?
> > >>
> > >>
> > >>
> > >> What is the simplest way to install a driver when you have the inf file
> > >> for the device?
> > >>
> > >> Is there any tutorial about this?
> > >>
> > >>
> > >>
> > >> Any help appreciated.
> > >>
> > >>
> > >>
> > >> Best regards
> > >>
> > >>
> > >
> > >

> >
> >
> >



 
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
"Windows encountered a problem installing the driver software for your device" Alan Morris [MSFT] Windows Vista Printing / Faxing / Scanning 2 02-12-2008 05:38 PM
*Installing device driver software* prompt - no longer appears theitfella@hotmail.com Windows Vista Hardware 1 09-11-2007 01:44 PM
*Installing device driver software* prompt - no longer appears theitfella@hotmail.com Windows Vista Printing / Faxing / Scanning 0 08-05-2007 12:00 PM
1394 Device : Bus reset while installing driver James Windows Vista Drivers 3 11-12-2004 02:40 AM
Manually installing driver for A PCI device on Win-2k Maurice zmau Windows Vista Drivers 0 12-17-2003 08:26 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