Karim MacDonald wrote:
> 
> 
> Eric Hybner wrote:
>> 
>> Thanks Bob. FWIW, the problem appears to be with a default value.
>> Removing the following registry value gets me past the issue for now.
>> 
>> <RegistryValue Root="HKCR"
>> Key="CLSID\{01D6FA3C-BCF4-35AB-820A-49ACAF99F5F8}\InprocServer32"
>> Value="mscoree.dll" Type="string" Action="write" />
>> 
> 
> Does anyone know if there is a workaround to this problem that is better
> than manually writing all of the appropriate <RegistryValue> elements that
> would replace the <Class> element, or if this particular Heat bug (think I
> saw it logged but can't find it now!) is likely to be fixed any time soon?
> 

Found a couple of alternatives, neither of them nice:

1. Give a unique Id to the mscoree RegistryValue (which will result in the
value being overwritten by two separate Registry table entries):
<RegistryValue Id="01D6FA3CBCF435AB820A49ACAF99F5F8_mscoree_overwrite"
Root="HKCR"
Key="CLSID\{01D6FA3C-BCF4-35AB-820A-49ACAF99F5F8}\InprocServer32"
Value="mscoree.dll" Type="string" Action="write" />

2. Advertise the component (=> the reg-entries will be written by the
RegisterClassInfo action I think) and then forcefully zero its Darwin
descriptor (WriteRegistryValues occurs after RegisterClassInfo by default):
<Class Advertise="yes" ... with no Server attribute>
...
<RegistryValue Root="HKCR"
Key="CLSID\{01D6FA3C-BCF4-35AB-820A-49ACAF99F5F8}\InprocServer32"
Name="InprocServer32" Value="" Type="string" Action="write" />

I've no idea which of these is better or worse; comments gratefully
received...

-- 
View this message in context: 
http://www.nabble.com/heating-COM-componnents-and-getting-LGHT0130-on-generated-registry-data-tf2815472.html#a13239912
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to