Hi, No, I was using version 11.34. The same one attached in the email. I just redownloaded the DLL I had attached to you and ran it in 3.0.5120.0...still the same exception. Strange.
On Wed, Apr 1, 2009 at 3:36 PM, Neil Sleightholm (via Nabble) < ml-user+58265-122838...@n2.nabble.com<ml-user%2b58265-122838...@n2.nabble.com> > wrote: > I just tried this again and didn't see an error, has the dll changed from > the one you sent me? > > Neil > > Neil Sleightholm > X2 Systems Limited > n...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2571127&i=0><mailto: > n...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2571127&i=1>> > > > > ________________________________ > > From: Roy Abou Assaly > [mailto:royass...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2571127&i=2>] > > Sent: Wed 01/04/2009 14:39 > To: > wix-us...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2571127&i=3> > Subject: Re: [WiX-users] Heat missing some RegistryValue elements > (Programmable) from VB6 code? > > > > > > 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-us...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2571127&i=4> > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > WiX-users mailing list > wix-us...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2571127&i=5> > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------ > View message @ > http://n2.nabble.com/Heat-missing-some-RegistryValue-elements-%28Programmable%29-from-VB6-code--tp2559361p2571127.html > To unsubscribe from Heat missing some RegistryValue elements (Programmable) > from VB6 code?, click here< (link removed) >. > > > -- View this message in context: http://n2.nabble.com/Heat-missing-some-RegistryValue-elements-%28Programmable%29-from-VB6-code--tp2559361p2572340.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