The Templates.inf File
Visual Studio 2008
Templates.inf is a text file that contains a list of templates to render for the project.
Because Templates.inf is a template file itself, you can use directives to indicate which files to include in a project, depending on a user's selections. See Template Directives for a list of directives that you can use in this file.
var InfFile = CreateCustomInfFile(); AddFilesToProject(selProj, strProjectName, InfFile); InfFile.Delete();
See The JScript File for more information.