Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
Guest

.inf files and and their install commands

Recommended Posts

Guest

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?

Share this post


Link to post
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.

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×