Bugs item #1784476, was opened at 2007-08-29 22:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
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.

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

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