Export (0) Print
Expand All

Migrating Custom Wizards from Visual C++ .NET 2002 to Visual C++ .NET 2003

Visual Studio .NET 2003

To migrate your custom wizards, you must do the following tasks:

  • In the .vsz file of your custom wizard, set the Wizard variable to the VsWizard.VsWizardEngine.7.1 ProgID, instead of VsWizard.VsWizardEngine.
  • In the .vsz file of your custom wizard, set the ABSOLUTE_PATH parameter to the path of the solution directory, which contains all the files for your custom wizard.
  • Paste the .ico file, the .vsdir file, and the updated .vsz file of your custom wizard into the $(VCInstallDir)\Vc7\vprojects directory for Visual C++ .NET 2003.

If you want to migrate a custom wizard that you created using Visual C++ .NET 2002 to Visual C++ .NET 2003, then you can use the following procedure.

To migrate your custom wizard

  1. Copy all the files of your custom wizard solution, and then paste them into a new solution directory on the machine that is running Visual C++ .NET 2003. For example:
    C:\myCustomWizard
    
  2. In Visual C++ .NET 2003, open your custom wizard solution. A Microsoft Development Environment dialog box will appear. Click Yes to upgrade your solution.
  3. Open the .vsz file. In the statement that sets the Wizard variable, replace the ProgID VsWizard.VsWizardEngine with VsWizard.VsWizardEngine.7.1 so that it looks like the following code:
    Wizard=VsWizard.VsWizardEngine.7.1
    
  4. In the .vsz file, set the ABSOLUTE_PATH parameter to your new solution directory. For example:
    Param="ABSOLUTE_PATH = C:\myCustomWizard"
    
  5. Save the .vsz file, and then close your custom wizard solution.
  6. Copy the .ico file, the .vsdir, and the updated .vsz file in the custom wizard solution directory (C:\myCustomWizard), and then paste them into the $(VCInstallDir)\Vc7\vcprojects directory for Visual C++ .NET 2003.
  7. In Visual C++ .NET 2003, click the File menu, click New, and then click Project. The New Project dialog box will appear.

    Your custom wizard will display in the Templates pane for Visual C++ Projects.

See Also

The .vsz File (Project Control) | Custom Parameters in the Wizard .vsz File

Show:
© 2015 Microsoft