Share via


Customizing the Generated Custom AppWizard Project

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 .

You can customize AppWizard to change the project settings after it has created the new project.  For example, you could have your custom AppWizard add special preprocessor macro defines to the compiler settings; have it add or remove import libraries from the linker's options, or add a custom build rule that is run after the project is built which registers its server objects or copies it to a special location for testing.

Your custom AppWizard can perform any or all of these tasks after your project is generated. Simply override CCustomAppWiz::CustomizeProject with the code that customizes the project the way you want it to be.

Your code accesses the project through the IBuildProject interface.  This is a dual interface on the object.  Note that this is the same object that is accessed by .

What do you want to know more about?