Outlook VSTO 2005 plug-in installer: CLSID = ?

O

Ojas

I am working on an installer for a VSTO 2005 SE plug-in for Outlook
2007.

The installer needs a CLSID for the plug-in. The plug-in is written
using C# and .NET 2.0.

For the plug-in CLSID I place in the Windows registry, do I use the
plug-in's assembly's GUID? Or, do I just create a new GUID and use
that one consistently? Or, what? ;)
 
K

Ken Slovak - [MVP - Outlook]

What does the installer need a CLSID for? Are you talking about the
ProductCode and UpgradeCode GUID's?

Those are generated when you create/add the setup program if you're using
the VS installer. You leave the UpgradeCode alone to preserve COM
compatibility for updates and you change the ProductCode for each version
change. That tells Windows Installer that it's the same program but a new
version.
 
O

Ojas

What does the installer need a CLSID for? Are you talking about the
ProductCode and UpgradeCode GUID's?

The value under

HKEY_CURRENT_USER\Classes\CLSID\{....my class id }\InProcServer32...

and under

HKEY_CURRENT_USER\Classes\MyAddInName\CLSID\{....my class id } <=
default value
 
O

Ojas

I found the correct CLSID value... I am using the ProjectGuid value
from the VS 2008 C# project file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top