Export (0) Print
Expand All
1 out of 4 rated this helpful - Rate this topic

Configuring VSZ Files to Launch Wizards 

Visual Studio uses a file type called .vsz to launch wizards. These files are text files with a .vsz extension that Visual Studio uses to determine the wizard to call and the information to pass to it, if any.

Comparison to INI File

A .vsz file is a simplified version of an .ini format text file, but it has no labeled sections. The first part stores information known to the Visual Studio environment. The second section allows parameters specific to the wizard to be collected by the environment and passed to the wizard.

Following is an example of a sample .vsz file:

VSWizard 8.0
Wizard=VIDWizard.CBlankSiteWizard
Param=<item1>
Param=<item2>
…
NoteNote

The Wizard value may also be a GUID in the format {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} — 8,4,4,4,12.

The file has these parts:

  • VSWizard — This is the version number of the template file format, which for Visual Studio is "VSWizard 8.0." No other numbers are valid, and using other numbers results in an "Invalid Format" error.

  • Wizard — This is the programmatic ID (ProgID), such as MyWizard.MyClass, or alternately a string GUID representation of the CLSID of the Wizard that should be co-created by Visual Studio.

  • Param — These parameters are optional and you can add as many as your wizard requires. They are used to enable the .vsz file to pass additional custom parameters into the wizard. Each value is passed to the wizard as a string element in an array.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.