Sorry, I forgot to tell you how to create a setup project.
- Open up your "solution" in Visual Studio.
- Right-click on the root node in the Solution Explorer titled "Solution 'yourprojectname' (1 project)"
- Go to Add->New Project
-Select "Setup and Deployment Projects" and "Setup Wizard". As usual give it a name and folder to be created in (usually your solution's root folder).
- Start the wizard and skip the intro screen. Select "Create a setup for a Windows Application". Hit next.
- Check the item called "Primary output from [yourprojectname]". Hit next.
- Add any other files that are needed in the install, like config files, etc. Note, you don't need to tell it to include dependencies like mediajukebox.tlb or a .reg file. Hit next, then finish.
- The installer wizard will detect that your project is dependent on a couple of things like the Interop.MediaJukebox.dll file and include these.
- Alter properties such as your company name, default path, etc, in the properties window.
- IMPORTANT: Click on the entry called "Primary Output from [yourprojectname]. In the properties window, look for the property called "Register". Ensure this is set to 'vsdrpCOM'. This will register your project's dll for COM. (like running regsvr32 on your old VB6 OCX).
- Now, with the setup project selected in Solution Explorer, you'll see the toolbar for Solution Explorer has a lot more icons than usual. Click the one that looks like a little registry icon (2nd from the left on my machine).
- This pops up a window that has a "blank" registry hive for you to add keys to. This is where you add all the keys that are usually in your registry.reg file. When the user runs the setup, these keys will be added to their registry.
- Play around with the other toolbar icons and you'll soon see what they do.
Now, build the project (it will automatically re-build your plugin project if it's necessary) and you'll get a setup project that you can redistribute in the "release" or "debug" folder under the setup project folder (depending on what configuration you built under..
Remeber you're using Visual Studio 2003 and I'm using 2002, so there may be a few differences, but probably not many.
Good luck,
Scott.