I was trying to deploy an update using an .inf file and found this on the web. Thought I would share for all.
=-=-=-=-=-=-Found on the web=-=-=-=-=-=-=-
XP: Deploy an INF file Automatically
Description
This explains how to install an INF file from the command line.
Directions
Setup information files have the *.inf extension and are often used to install registry settings and device drivers. To manually install an INF file, the user can right-click and select install from the context menu.
However, you might want to be able to install the inf from a command-line. Here's how:
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 file_name.inf
file_name.inf = file to install
132 = flag to ask the user before rebooting
DefaultInstall = name of the section to install
=-=-=-=-=-=AMS Code=-=-=-=-=-
Code:File.Run(_SystemFolder .."\\rundll32.exe", "setupapi,InstallHinfSection DefaultInstall 132 ".._SourceFolder .."\\Autoplay\\oa\\Sarge.inf", _SourceFolder, SW_SHOWNORMAL, false)

