Chapter 18Chapter image

Customizing Installation by Using .inf Files

Although you can use the IEAK, batch files, command-line switches, and third-party programs to customize setup, you can also extend setup by using setup information (.inf) files.

Scripts based on .inf files take advantage of the setup engine built into Windows. The primary advantage of using the built-in setup engine is its smaller size. Such functions as copying files, adding registry entries, and creating shortcuts are already part of the Windows operating system. You need to ship only the .inf file and the program files you want to install. A separate script is required for each component that you want to install or uninstall.

Note that a Windows .inf file cannot prompt the user for a destination directory - the directory must be hard-coded in the .inf file.

You can use .inf files to perform these tasks:

For more information about .inf files, see Appendix H, "Structural Definition of .inf Files."



Arrow: Top of page