• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 513
  • Last Modified:

Windows Media Player Wizard - VS 2008 - Fails to generate project

I am trying to get te WMP wizard runing in VS 2008. I followed the readme instructions in the Windwos 7 SDK but when I try to create a project using he wizard it fails. This is my wmpwiz.vsz fiel contents:

VSWIZARD 7.0
Wizard=VsWizard.9.0

Param="WIZARD_NAME = Windows Media Player Plug-in Wizard"
Param="ABSOLUTE_PATH = C:\Data_Root\Windows_7_SDK_Samples\multimedia\WMP\Wizards\wmpwiz"
Param="FALLBACK_LCID = 1033"

Any advice on how to get this working please?
Sid.
0
Sid Price
Asked:
Sid Price
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
did you edit the vsz file as in the readme
Locate the following line:
Wizard=VsWizard.<VsWizardEngine version goes here>

Change <VsWizardEngine version goes here> to one of the following values, depending on which version of Visual Studio you have installed.

Value                    Visual Studio Version
------------------       -----------------------
VsWizardEngine.7.1       Visual Studio .NET 2003
VsWizardEngine.8.0       Visual Studio 2005
VsWizardEngine.9.0       Visual Studio 2008

Locate the following line:
Param="ABSOLUTE_PATH = <path to wmpwiz directory goes here>"

Change <path to wmpwiz directory goes here> to the path where the wizard files are located.

For example, suppose you have Visual Studio 2008, and your wizard files are here:
C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\Multimedia\WMP\wizards\wmpwiz

Then your wmpwiz.vsz file would look like this:

VSWIZARD 7.0
Wizard=VsWizard.VsWizardEngine.9.0

Param="WIZARD_NAME = Windows Media Player Plug-in Wizard"
Param="ABSOLUTE_PATH = C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples\Multimedia\WMP\wizards\wmpwiz"
Param="FALLBACK_LCID = 1033"

0
 
David Johnson, CD, MVPOwnerCommented:
again from the readme did you copy these?

 Locate the following three files:
     wmpwiz.vsz
     wmpwiz.vsdir
     wmpwiz.ico
Locate the folder where you installed Visual Studio. Expand the folder to view its subfolders, and locate a folder named vcprojects.
0
 
Sid PriceAuthor Commented:
Thank you so much, I thought I had all those parameters updated however, if you look at my original post, you will see the following line was incorrect:

VSWIZARD 7.0
Wizard=VsWizard.9.0

When I changed this to your example:

VSWIZARD 7.0
Wizard=VsWizard.VsWizardEngine.9.0

The wizard now runs correctly.

again, many thanks,
Sid.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now