Archive: how to integrate many device driver with NSIS


how to integrate many device driver with NSIS
If i have many motherboard and their device driver.
How to integrate it in a CD or DVD with NSIS.
Let the CD can detect that board's chipset, vga's chipset,
lan chipset and then install their driver correctly.


Use nlite for it - was special developped for that purpose
http://www.nliteos.com/
(dont know if this is the official webpage)

german nlite
http://www.german-nlite.de/


Sorry this might not what i need.
It integrated all driver you needed to install.
But i needed to detect which driver is correct to
be installwith the kind of mainboard.


For example:
The CD may have many drivers like "VIA chipset driver",
"Intel 845 or 945 chipset driver","Intel lan driver",
"Realtek lan driver" in it.

Now i have one mainboard it use intel 945 chipset and
intel lan chipset.

When i use the integrate CD it can detect the board
945 driver and intel lan drivers is needed and then
auto install them.

Does NSIS can do this?
Thanks a lot


There's no built-in function that does that and as far as I know there's no plug-in as well. You could write your own plug-in based on one of these, or anything else that might fit:

http://www.codeproject.com/system/EnumDevices.asp
http://www.codeproject.com/system/En...Properties.asp
http://windowssdk.msdn.microsoft.com.../ms739461.aspx


>> Sorry this might not what i need

Sorry, but this IS exactly what you need.

In any case you have to make available all needed and unneeded drivers.
And - there is actual (as said) no way for nsis to detect and install drivers.
But Windows can do - as usual.

Get practice with nLite and you will see...