Share via


Understanding CONFIRM.INF and NEWPROJ.INF

OverviewsHow Do IDetails

Feature Only in Professional and Enterprise Editions   Creating a Custom AppWizard is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .

CONFIRM.INF and NEWPROJ.INF are special text templates that MFCAPWZ.DLL (AppWizard) inserts into every custom AppWizard project. They are the blueprints that a custom AppWizard uses to construct the project files from which a final, end-user application can be built. The content of CONFIRM.INF becomes the content of the New Project Information dialog box. This presentation of information in the New Project Information dialog box allows a user to examine their chosen project features. NEWPROJ.INF contains the instructions that AppWizard uses to construct a user’s project.

AppWizard will provide CONFIRM.INF and NEWPROJ.INF templates in varying states of readiness, depending on whether you choose to base your custom AppWizard project on:

  • An existing project

    In this case, the content of NEWPROJ.INF is based on the content of the existing project. CONFIRM.INF is left empty; you will need to add text, macros, and directives to CONFIRM.INF that describe each feature a user can choose.

  • Standard MFC AppWizard steps

    In this case, the content of both templates is based on the existing MFC AppWizard steps. If you add your own custom steps to the standard MFC AppWizard steps, you’ll need to add text, macros, and directives to CONFIRM.INF that reflect each feature a custom AppWizard user can choose in each custom step. You will also need to add statements, macros, and directives to NEWPROJ.INF that can build a project for any combination of features a custom AppWizard user can select from the custom steps.

  • Your own custom steps

    In this case, both templates are empty. You must add text, macros, and directives to CONFIRM.INF that reflect each feature a user can choose in each custom step. You will also need to add statements, macros, and directives to NEWPROJ.INF so that it can build a project for any combination of features a user can select from the custom steps.

What do you want to know more about?