The Template Files
The templates that make up a wizard are a collection of text files that contain some simple directives and are parsed and rendered according to user input and added to the initial project. The appropriate information for parsing the templates is obtained by directly accessing the wizard control's symbol table.
The following example is a very simple template file for a wizard that asks the user to select either A or B.
This file has been created by My Custom wizard. You selected: [!if TYPE_A] Type A [!else] Type B [!endif] The name of this project is [!output PROJECT_NAME].root.cpp:
If the user chooses Type B, the above template would be rendered as follows:This file has been created by My Custom wizard. You selected: Type B The name of this project is MyApp8.