We recommend using Visual Studio 2017

Steps to Designing a Wizard


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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.

  1. Examine the custom wizard samples included with Visual Studio.

  2. 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.

  3. Create your project with the Visual C++ Custom Wizard, specifying user interface and page number options.

    System_CAPS_ICON_note.jpg 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.

  4. Examine the basic project that the Custom Wizard created for you.

  5. If your wizard has a user interface, run the wizard to learn more about the mechanics of the custom wizard.

  6. Customize the basic wizard.

  7. Add context-sensitive help.

  8. Provide error handling for the JScript and HTML code.

  9. Build and test the wizard.

  10. Debug your wizard. See Debugging Script and Web Applications for more information.

    System_CAPS_ICON_note.jpg Note

    When you are debugging JScript, you cannot perform mixed-mode debugging with native code.

Creating a Custom Wizard
Custom Wizard
Files Created for Your Wizard