fd Blog

Daniel Hilgarth on software development

How to Register a MSSCCI Source Control Plugin on a 64 Bit Machine

To register a MSSCCI source control plugin (nowadays called Source Control Plug-in) on a 64 bit machine, the instructions in the MSDN are missing some crucial information:
All registrations in HKLM\Software need to be performed inside HKLM\Software\Wow6432Node

The full file to register a sample plugin looks like this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceCodeControlProvider\InstalledSCCProviders]
"MSSCCI Sample"="Software\\Your Company\\Your Product"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Your Company]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Your Company\Your Product]
"SCCServerName"="MSSCCI Sample"
"SCCServerPath"="D:\\Temp\\SampleMSSCCI\\Debug\\SampleMSSCCI.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceCodeControlProvider]
"ProviderRegKey"="Software\\Your Company\\Your Product"

[HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders]
"MSSCCI Sample"="Software\\Your Company\\Your Product"

[HKEY_LOCAL_MACHINE\SOFTWARE\Your Company]

[HKEY_LOCAL_MACHINE\SOFTWARE\Your Company\Your Product]
"SCCServerName"="MSSCCI Sample"
"SCCServerPath"="D:\\Temp\\SampleMSSCCI\\Debug\\SampleMSSCCI.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider]
"ProviderRegKey"="Software\\Your Company\\Your Product"

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\CurrentSourceControlProvider]
@="{53544C4D-FFD5-48A9-B04A-0700CCD31070}"
"ProviderRegKey"="Software\\Your Company\\Your Product"

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\SourceControl]
"WarnedOldMSSCCIProvider"=dword:00000500
"UseOldSCC"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0Exp\SourceControl]
"WarnedOldMSSCCIProvider"=dword:00000500
"UseOldSCC"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0Exp\CurrentSourceControlProvider]
@="{53544C4D-FFD5-48A9-B04A-0700CCD31070}"
"ProviderRegKey"="Software\\Your Company\\Your Product"

Comments