Jump to content

.inf files and and their install commands


Recommended Posts

Posted

I'm trying to learn about inf files and one of the things that I am confused about is the install commands. There are 2 examples that I've seen:

  1. rundll32 advpack.dll,LaunchINFSection [file] , [section]
    Ex: rundll32 advpack.dll,LaunchINFSection blah.inf,Uninstall
  2. rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\Inf\ie.inf

I presume there are 2 types of inf files. How does on identify what type command it will take?

Can you make 2 inf files with the different formats and have it accomplish the same thing in the end? If so, how would you decide which is the best type to make?


Posted

There isn't really two different inf files, the key is the dll files; (setupapi.dll and advpack.dll).

The latter, Advanced INF Package Installer, allows for some useful 'advanced' commands in addition to those setupapi allows.

If you don't use Advanced INF commands there's no need to use the advpack installer library.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...