Steps to Designing a Wizard
You can use a wizard to create and configure common project starter files. Like any project, creating a wizard takes planning. The following steps describe one way to familiarize yourself with the Visual C++ Custom Wizard and apply it to your own projects.
- Examine the custom wizard samples included with Visual Studio.
- Lay the groundwork for the type of project the wizard should create. Like all application construction, this process can go through many hands and many different iterations.
- Create your project with the Visual C++ Custom Wizard, specifying user interface and page number options.
Note If you indicate no user interface (that is, if you clear User interface in Application Settings, Custom Wizard in the Custom Wizard), your wizard sets the custom parameter WIZARD_UI=FALSE and creates project template files with no user input and no .htm files. As a result, you do not specify page numbers. See The .vsz File (Project Control) for more information.
- Examine the basic project that the Custom Wizard created for you.
- If your wizard has a user interface, run the wizard to learn more about the mechanics of the custom wizard.
- Customize the basic wizard.
- Add context-sensitive help.
- Provide error handling for the JScript and HTML code.
- Build and test the wizard.
- Debug your wizard. See Debugging Script and Web Applications for more information.
Note When you are debugging JScript, you cannot perform mixed-mode debugging with native code.