Hello,

create an installer for a dll using Minimal WIX installer.

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?<Class
Id="{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}" Context="InprocServer32"
Description="AdminAddins.MyClass" ThreadingModel="both"
ForeignServer="mscoree.dll">
   <ProgId Id="AdminAddins.MyClass" Description="AdminAddins.MyClass"
/></Class>
File Id="fil08256E64C10A4B2F5423A768ECB9A473" Name="AdminAddins.dll"
KeyPath="yes" Source="..\AdminAddins\bin\Release\AdminAddins.dll" />
//The class guid definition. Works as expected.<RegistryValue
Root="HKLM" 
Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\Implemented
Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value=""
Type="string" Action="write" /><RegistryValue Root="HKLM"
Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32\1.0.5300.19297"
Name="Class" Value="AdminAddins.MyClass" Type="string" Action="write"
/><RegistryValue Root="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"
/><RegistryValue Root="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"
/><RegistryValue Root="HKLM"
Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32\1.0.5300.19297"
Name="CodeBase" Value="file:///[#fil08256E64C10A4B2F5423A768ECB9A473]"
Type="string" Action="write" /><RegistryValue Root="HKLM"
Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32"
Name="Class" Value="AdminAddins.MyClass" Type="string" Action="write"
/><RegistryValue Root="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"
/><RegistryValue Root="HKLM"
Key="SOFTWARE\Classes\CLSID\{1AF5E2B9-CC02-368F-A879-1DF3F538D71A}\InprocServer32"
Name="RuntimeVersion" Value="v2.0.50727" Type="string" Action="write"
/><RegistryValue Root="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?

Thanks in advanced!
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to