Archive: Driver Install


Driver Install
  I am trying to learn NSIS and am working on the driver install for XP. I am hoping someone can maybe explain what I'm looking at and what I need to do to get it up and running. I would really appreciate any input.

I found all the scripts through Google so I'm not sure if it's what I needed but this is what I have.


...
  Hi Jarod

It depends HOW you want to install your driver(s).
Are they .exe files and you want to execute it one after another silently or do you want to do a "real" install of the driver files with your script?

if they are .exe files you only have to find the silent switches (for example: setup.exe /S).
What switch you have to use depends on the install engine the driver have. Installshield has another one as InnoSetup. Just google for "install silent switches".

if you found some you have to test it and if they work you can implement it in you code:


Section "driver1"

>setoutpath $PLUGINSDIR ;set %temp% as otput dir
File"PrinterDrvSetup.exe" ;extract this exe to %temp%
>ExecWait '"$PLUGINSDIR\PrinterDrvSetup.exe" /S' ;execute Setup from %temp% silently and wait for finish
SectionEnd
>
But if you want to create a "real" driver installer it will be more complicated. Have a look to the InstDrv Plugin.

cheers

I'm sorry if I'm missunderstanding you but this is what I'm looking for... I'm looking for this software to do the same thing as going to manufactures website and downloading the missing drivers manually pretty much by pressing "Next" alot. So I guess I'm looking for a "real" install of the drivers?


...
  Hmm... I think i know what you mean.

You are NOT a hardware manufacturer who want to do a driverinstaller for his own product right?
But you want ONE driverinstaller for all your hardware in your computer that installs all drivers "on the fly" without thousands of ok/next/yes klicks right?

For this case the first method will work for you. Download all drivers you want to integrate in your installer from manufacturers website.
Find out which installersoftware they use. MSI, Install Shield, InnoSetup, NSIS etc. etc...
This is important because every software has its own silent switch. Silent install means that the driver setup shows no window, no questions, no progressbar, no next/ok klicks on install. That is what you need.

If you know all silentswitches you can integrate all driver setup exe files in your installer and execute them silently one after another.

cheers