Jump to content

.inf files and and their install commands


Guest

Recommended Posts

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?

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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