Bugs item #1660163, was opened at 2007-02-15 00:52
Message generated for change (Comment added) made by maliger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1660163&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mike O'Laughlen (molaughlen1)
Assigned to: pmarcu (pmarcu)
Summary: Non-advertised Classes Add Extra Quotes in Registry

Initial Comment:
I'm new to the Windows Installer API, but I think I'm correct in reporting this 
bug (at least it wouldn't work until I used Orca to fix it).

When the Compiler generates the wixobj file, the class' row in the Registry 
table has a Value column encapsulated in quotation marks:

"[#FileServer]"

it should be:

[#FileServer]

The following wxs snippet produces this issue:

<File Id="Component.dll" Name="Component.dll" 
     KeyPath="yes" Source="Component.dll" DiskId="1">
  <Class Id="GUID-HERE" Context="InprocServer32"   
     Description="Component Description" 
     ThreadingModel="apartment" Programmable="yes">
     <ProgId Id="Component.ProgID" 
         Description="ProgID Description" />
   </Class>
</File>

This results in a registry row:

Registry: reg123456789
Root: 0
Key: CLSID\GUID-HERE\InprocServer32
Name:
Value: "[#Component.dll]"
Component_: Component.dll

again Value should be:
[#Component.dll]

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

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

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

see also issue 1784476.

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

Comment By: Mike O'Laughlen (molaughlen1)
Date: 2007-02-15 15:29

Message:
Logged In: YES 
user_id=1719677
Originator: YES

This is similar to bug 1370181

http://sourceforge.net/tracker/index.php?func=detail&aid=1370181&group_id=105970&atid=642714

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

Comment By: Mike O'Laughlen (molaughlen1)
Date: 2007-02-15 01:10

Message:
Logged In: YES 
user_id=1719677
Originator: YES

I've done some digging around in the previous versions of Compiler.cs and
found that these quotes have been around for ahwile.  I assume the quotes
are necessary if arguments are supplied to the server, however when Excel
attempts to load my automation add-in it balks because it can't find the
component due to the quotes.

I suppose I'll need to use <RegistryValue/> elements.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1660163&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