Bugs item #1631288, was opened at 2007-01-09 10:17
Message generated for change (Comment added) made by appel__
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: Derek (derekc)
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 12: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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs