Search results for 'Device Driver Installation Method'. 1 post(s) found.

  1. 2007/09/20 How to install an INF file using Delphi ?
2007/09/20 08:36

How to install an INF file using Delphi ?


If you need to install an "inf" file using Delphi, you could use the next code:

{
Usage:
  InstallINF('C:\XYZ.inf', 0) ;
}
uses
  ShellAPI;

function InstallINF(const PathName: string; hParent: HWND): Boolean;
var
  instance: HINST;
begin
  instance := ShellExecute(hParent,
    PChar('open'),
    PChar('rundll32.exe'),
    PChar('setupapi,InstallHinfSection DefaultInstall 132 ' + PathName),
    nil,
    SW_HIDE) ;

  Result := instance > 32;
end;
Trackback 8 Comment 0

Trackback : Cannot send a trackbact to this post.

  1. Subject Animal sex.

    Tracked from Animal sex clips. 2009/01/04 01:08 delete

    Free animal sex videos. Animal sex videos. Male animal sex. Farm animal sex. Animal sex.

  2. Subject Xanax.

    Tracked from Xanax 2 mg 180 pills. 2009/01/15 08:12 delete

    Buy xanax. Xanax as a party drug. Xanax.

  3. Subject Mother son incest.

    Tracked from Incest free. 2009/01/16 09:42 delete

    Incest taboo rape photo. Free family incest pictures. Incest.

  4. Subject Viagra 6 free samples.

    Tracked from Viagra without a prescription. 2009/02/06 09:40 delete

    Viagra. Viagra side effects.

  5. Subject Vicodin.

    Tracked from Symptoms vicodin addiction. 2009/06/08 13:59 delete

    Vicodin hp. Darvocet vs vicodin. Vicodin. Vicodin without prescription. Mexican vicodin. Abuse of vicodin.

  6. Subject different money making ideas

    Tracked from moneyideas 2010/01/29 03:04 delete

    moneyideas

  7. Subject different money making ideas

    Tracked from moneyideas 2010/01/29 12:14 delete

    moneyideas

  8. Subject different money making ideas

    Tracked from moneyideas 2010/01/31 16:41 delete

    moneyideas