Setup Information (.inf) Files
Internet Explorer Administration Kit 7 (IEAK 7) uses .inf files to provide installation instructions for custom Internet Explorer packages to run on Windows.
In addition to installation instructions, you can provide instructions for uninstalling components as part of your custom .inf files by adding a section that removes the files, registry entries, and shortcuts, and then adds your component to the list of programs that can be uninstalled from the Add or Remove Programs dialog box in Control Panel. An example file, Uncheck.inf, is included in the IEAK Toolkit in the <systemdrive>:\Program Files\Microsoft IEAK 7\toolkit\inf folder.
To add your component to the Add or Remove Programs dialog box, add a new key and values under the following registry key:
This string is displayed in the list box in the Add or Remove Programs dialog box.
This is the command that is run when the component is selected from the list box in the Add or Remove Programs dialog box. To run a section in an .inf file, you can use the Setupx.dll InstallHinfSection entry point.
Your installation script must copy the .inf file to the Windows\Inf folder when your component is installed. This is the default location that is searched when the Setupx.dll InstallHinfSection entry point is called.
Your uninstall script should remove the key you created under the Uninstall registry key so that your program will no longer show up in the Add or Remove Programs list box after it was uninstalled.
For more information about the Internet Component Download service, see http://go.microsoft.com/fwlink/?LinkId=68867.
For more information about additional resources and references for IEAK 7, see References.