No announcement yet.

Problems installing .inf-files

This topic is closed.
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems installing .inf-files


    I have to install some .inf files, but I still don't know how to do this correctly. I already read the thread about this problem but it doesn't work. I use Win 2000 Professional incl. Service Pack 2.
    I tried the option "Open Document" using "Install" in the verb-field. This failed. Then I tried "Call DLL Function" with rundll32.exe but this failed, too. It might be possible that I did not enter the fields correctly because I don't really know what in the expression "C:\\WINNT\rundll32.exe setupapi, InstallHinfSection DefaulInstall 132" is a function or a function parameter..
    Are there any other possibilities for installing .inf files except "Open Document" and "Call DLL Function"?

    Thanx in advance.


  • #2
    Re: Problems installing .inf-files


    Try an Execute Program action something like this:

    File to execute (path and filename): %SysDir%\rundll32.exe
    Command line arguments: setupapi,InstallHinfSection DefaultInstall 132 “%AppDir%\myinf.inf"
    Working directory: %AppDir%
    Run made: Normal
    Wait for program to finish before continuing: Unchecked


    [This message has been edited by Mark (edited 03-21-2002).]

    [This message has been edited by Mark (edited 03-21-2002).]
    MSI Factory The Next Generation Intelligent Setup Builder


    • #3
      Re: Problems installing .inf-files

      Hi Mark,

      I tried it today, but this doesn't work either. The inf file is not installed.

      I tried installing the inf file maually by using the windows hardware manager. This works fine but this is not what I need. I have to integrate the installation of the inf files into the setup I'm working on.
      Is there a possibility to call the hardware manager during the setup automatically? I don't know what windows does in another way when I use the hardware manager? Is there another rundll.exe which windows uses there?

      Thanks in advance,