Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Class is not registered - WIX installer

$
0
0

I create an installer for a dll using the Wix installer with sharpdevelop.

The class GUID is registered as expected under HKEY_Local_Machine\SOFTWARE\Classes\CLSID , but the class itself is not registered under HKEY_Local_Machine\SOFTWARE\Classes.

This is the code of installer:

//The class definition. Something is missing?<ClassId="{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}"Context="InprocServer32"Description="AdminAddins.MyClass"ThreadingModel="both"ForeignServer="mscoree.dll"><ProgIdId="AdminAddins.MyClass"Description="AdminAddins.MyClass"/></Class>
FileId="fil08256E64C10A4B2F5423A768ECB9A473"Name="AdminAddins.dll"KeyPath="yes"Source="..\AdminAddins\bin\Release\AdminAddins.dll"/>
//The class guid definition. Works as expected.<RegistryValueRoot="HKLM"Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}"Value=""Type="string"Action="write"/><RegistryValueRoot="HKLM"Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32\1.0.5300.19297"Name="Class"Value="AdminAddins.MyClass"Type="string"Action="write"/><RegistryValueRoot="HKLM"Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32\1.0.5300.19297"Name="Assembly"Value="AdminAddins, Version=1.0.5300.19297, Culture=neutral, PublicKeyToken=null"Type="string"Action="write"/><RegistryValueRoot="HKLM"Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32\1.0.5300.19297"Name="RuntimeVersion"Value="v2.0.50727"Type="string"Action="write"/><RegistryValueRoot="HKLM"Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32\1.0.5300.19297"Name="CodeBase"Value="file:///[#fil08256E64C10A4B2F5423A768ECB9A473]"Type="string"Action="write"/><RegistryValueRoot="HKLM"Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32"Name="Class"Value="AdminAddins.MyClass"Type="string"Action="write"/><RegistryValueRoot="HKLM"Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32"Name="Assembly"Value="AdminAddins, Version=1.0.5300.19297, Culture=neutral, PublicKeyToken=null"Type="string"Action="write"/><RegistryValueRoot="HKLM"Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32"Name="RuntimeVersion"Value="v2.0.50727"Type="string"Action="write"/><RegistryValueRoot="HKLM"Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32"Name="CodeBase"Value="file:///[#fil08256E64C10A4B2F5423A768ECB9A473]"Type="string"Action="write"/>

What is missing in the class definition?


Viewing all articles
Browse latest Browse all 1764

Trending Articles