Where is HKLM/*/Packages/*/ProductName Defined?

Topics: General Discussion Forum, Service Factory Modeling Edition Forum
May 21, 2008 at 6:58 PM
Edited May 21, 2008 at 7:02 PM
I'm going crazy with this one. I'm just trying to get the .msi produced by a Release build to install on a clean system, and then to use the factory and see my changes. I fixed an issue with the Model Package not loading, and now it loads. But when I add a ServiceContract, DataContract or Host model, they open in XML. When I double-click one, I get a package load error.

In fact, when I look in the registry, I find that HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{1a168a56-ee16-4520-a071-3431a82d3e1f}\ProductName is, in fact, still set to "Web Service Software Factory: Modeling Edition". Yet, ComapnyName and everything else is set correctly.

I tracked things down, and find this:

<Registry Root='HKLM' Key='Software\Microsoft\VisualStudio\9.0\Packages\{1a168a56-ee16-4520-a071-3431a82d3e1f}' Id='g4ced7b3a_c2ac_8639_b242_8f26d478ca7d' Name='ProductName' Value='DataContractDslPackage' Type='string' />

in DataContractRegistry.wxs. I also looked at the installed Microsoft.Practices.ServiceFactory.DataContracts.DslPackage.dll with Reflector. It shows the correct [ProvideLoadKey].

Any ideas of how this could happen? Am I missing another file to edit?