Bugs item #1784476, was opened at 2007-08-30 00:31
Message generated for change (Comment added) made by maliger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1784476&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: candle
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: TonyB (tonybee)
Assigned to: Nobody/Anonymous (nobody)
Summary: Quotes causing problems with COM server registration

Initial Comment:
Situation:
-- Registering a COM server with Wix source like this:
<File Id="COM_SERVER" Name="ComServer.dll" KeyPath="yes">
  <TypeLib Id="TypeLib_GUID" Description="COM Server" Language="0" 
MajorVersion="1" MinorVersion="0">
    <Class Id="Class_GUID" Context="InprocServer32" Description="Com Server 
Class" ThreadingModel="apartment">
      <ProgId Id="ComServer.MainClass" Description="Com Server Class"/>
    </Class>
    <Interface Id="Interface_GUID" Name="_Interface" 
ProxyStubClassId="Proxy_GUID" ProxyStubClassId32="Proxy32_GUID" />
  </TypeLib>
</File>

so the InprocServer32 registry entry ends up like this:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\Class_GUID\InprocServer32
(Default) REG_SZ "C:\InstallDirectory\ComServer.dll"
ThreadingModel REG_SZ Apartment

and the COM server does not work, but if I use regsvr32, the result is
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\Class_GUID\InprocServer32
(Default) REG_SZ C:\InstallDirectory\ComServer.dll
ThreadingModel REG_SZ Apartment

and without the quotes the COM server works.

The bug might be in the COM Server, not Wix.

The workaround I found was to advertise the COM server.

----------------------------------------------------------------------

Comment By: Martin Aliger (maliger)
Date: 2007-10-03 18:17

Message:
Logged In: YES 
user_id=655297
Originator: NO

See also issue 1660163.

----------------------------------------------------------------------

Comment By: Martin Aliger (maliger)
Date: 2007-10-03 18:10

Message:
Logged In: YES 
user_id=655297
Originator: NO

This is Wix bug IMHO. Also heat got the same problem (read here:
http://sourceforge.net/mailarchive/message.php?msg_id=EDF711EB3828E947A1D98EC47BD6B63F3A4529786D%40AA-EXMSG-C403.southpacific.corp.microsoft.com
)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1784476&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to