Outlook VSTO 2005 plug-in installer: CLSID = ?

  • Thread starter Thread starter Ojas
  • Start date Start date
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? ;)
 
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.
 
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
 
I found the correct CLSID value... I am using the ProjectGuid value
from the VS 2008 C# project file.
 
Back
Top