Bugs item #1631288, was opened at 2007-01-09 01:17
Message generated for change (Settings changed) made by pmarcu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1631288&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: heat
Group: v3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: appel (appel__)
>Assigned to: pmarcu (pmarcu)
Summary: Heat skips empty keys
Initial Comment:
In RegistryHarvester.cs line 203 the value names of a key is enumerated. But if
the key is empty nothing is done.
This means that keys like HKCR\CLSID\{GUID}\Implemented Categories\{GUID} are
skipped.
----------------------------------------------------------------------
Comment By: appel (appel__)
Date: 2007-01-09 03:06
Message:
Logged In: YES
user_id=893425
Originator: YES
To get around this I changed the return type of
RegistryHarvester.HarvestRegistry and all methods that depend on it to
ISchemaElement and added the following before the enumeration on line 203:
if (1 < parts.Length && registryKey.SubKeyCount == 0 &&
registryKey.ValueCount == 0)
{
Wix.RegistryKey emptyKey = new Wix.RegistryKey();
emptyKey.Action = Wix.RegistryKey.ActionType.create;
emptyKey.Root = root;
emptyKey.Key = parts[1];
registryValues.Add(emptyKey);
}
Maybe not the cleanest solution and I don't have a CVS client installed
here so I can't create a patch. I did a local build of Wix and it looks
like this solved my issue at least.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1631288&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