I have just tried the latest version 3.0.5120.0 and the programmable
attribute on is set for your dll on the ClassId e.g.

<Class Id="{5A5DBDF3-10F1-43D1-AA51-CDE7EDFA0321}"
Description="PRISMXMLEditor.XMLChunk" Version="12.3" Programmable="yes">

If you are not already you may also want to try the -svb6 option with
Heat as that will remove the VB6 runtime properties that are not
required (see help file).

Neil


Hi Neil and Roger,

I just ran heat 3.0.5120.0 and got this error:

D:\lab\WiX\XMLEditor>heat file PRISMXMLEditor.dll -sfrag -gg -vb6 -out 
result.xml
Microsoft (R) Windows Installer Xml Toolset Harvester version 3.0.5120.0
Copyright (C) Microsoft Corporation. All rights reserved.

heat.exe : error HEAT0001 : Item has already been added. Key in dictionary: 
'Interface\{0B7F3153-C8E7-4E6D-AEBE-B6D61D78B9A3}\ProxyStubClsid/'  Key being 
added: 'Interface\{0B7F3153-C8E7-4E6
D-AEBE-B6D61D78B9A3}\ProxyStubClsid/'

Exception Type: System.ArgumentException

Stack Trace:
   at System.Collections.SortedList.Add(Object key, Object value)
   at 
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilFinalizeHarvesterMutator.MutateComponents()
   at 
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilFinalizeHarvesterMutator.Mutate(Wix
 wix)
   at Microsoft.Tools.WindowsInstallerXml.Mutator.Mutate(Wix wix)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)

Then I ran 3.0.4923.0

D:\lab\WiX\XMLEditor>heat file PRISMXMLEditor.dll -sfrag -gg -vb6 -out 
result.xml
Microsoft (R) Windows Installer Xml Toolset Harvester version 3.0.4923.0
Copyright (C) Microsoft Corporation. All rights reserved.

And yes, you're right.  Programmable is set as an attribute of Class rather 
than being created in RegistryValue.  I'm going to assume that those 2 are the 
equivalent?  Can you confirm this?  If that is true, I will stick with 
3.0.4923.0 since it works and I have tested the builds with this version.  
That's basically where I got confused.  I saw that I was missing RegistryValue 
elements and figured that certain keys were being missing.

Do you still want me to open a bug Roger?  Although, this time it would be for 
another Reason.  Also, how did it manage to run heat 3.0.5120.0 on your machine 
Neil?  I hope it's not the dreaded "It runs on my machine" bug :)

Thanks guys
-- 
View this message in context: 
http://n2.nabble.com/Heat-missing-some-RegistryValue-elements-%28Programmable%29-from-VB6-code--tp2559361p2569042.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to