Re: [WiX-users] Component/@Guid error
I have encountered this also. This a defect in light.exe 3.0.5419, which I confirmed by downloading the WiX 3.0.5419 source code and searching for the error message. (I did this a few months ago, so I can't remember the exact location off the top of my head.) This is what the linker does in 3.0.5419: If you try to auto-generate a Component GUID for any component whose key path is in the registry, it reads through the entire Registry table (i.e., the in-memory representation thereof), and if it finds *ANY* entries that use Property substitution, it throws this error. This is defective logic: it should only be examining the entry that is the key path of the component in question, rather than the entire table. If you have the option, I would recommend using WiX 3.5 or later. As far as I can tell, the component GUID auto-generation was still in its infancy in 3.0 and didn't really get finished or stable until 3.5. Regards, Mike -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Component-Guid-error-tp7579390p7588278.html Sent from the wix-users mailing list archive at Nabble.com. -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Component/@Guid error
Not sure what the problem actually was. I scrapped what I had, and started over. Everything working now as expected. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Component-Guid-error-tp7579390p7581179.html Sent from the wix-users mailing list archive at Nabble.com. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Component/@Guid error
Oh, heh. Missed that pertinent part. Uhh, I don't know how this could be happening. Is it possible this is about a Component that doesn't have a Guid attribute at all? I'll have to try a small experiment myself but I don't know how the code could do this. On Thu, Jul 12, 2012 at 11:25 AM, bpackard wrote: > Rob, > > Unless I am mistaken, that criteria: "[no] Property substitutions ..." is > only relevant if I am asking WiX to generate the Guid; which seems to be > indicated in the initial message. > > "The Component/@Guid attribute's value '*' is not valid for this > component..." > > What has me confused is that the Guid is explicitly specified, and is not > generated. I don't understand why the error is posted. The component was > acceptable within the mergemodule (WiX happily generated the merge module). > But it is choking since I moved it into a lib. > > thanks, > bill > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Component-Guid-error-tp7579390p7579405.html > Sent from the wix-users mailing list archive at Nabble.com. > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Component/@Guid error
Rob, Unless I am mistaken, that criteria: "[no] Property substitutions ..." is only relevant if I am asking WiX to generate the Guid; which seems to be indicated in the initial message. "The Component/@Guid attribute's value '*' is not valid for this component..." What has me confused is that the Guid is explicitly specified, and is not generated. I don't understand why the error is posted. The component was acceptable within the mergemodule (WiX happily generated the merge module). But it is choking since I moved it into a lib. thanks, bill -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Component-Guid-error-tp7579390p7579405.html Sent from the wix-users mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Component/@Guid error
This part of the error message is pertinent: "[no] Property substitutions as the key path" On Wed, Jul 11, 2012 at 12:36 PM, Bill Packard wrote: > WiX 3.0.5419, VS 2008. > Attempting to convert merge modules (only used internally) to wixlib. > Almost there, but have encountered a set of errors that make no sense. > Example fragment and error are below. > > > > Guid="DB0A90F0-DCEA-4022-A554-C9A67E561A67"> >Value="1" KeyPath="yes" > > Key="Software\[PROPERTY1]\[PROPERTY2]\Install\Configuration Utility"/> >Action="removeOnUninstall" > Key="Software\[PROPERTY1]\Configuration Utility"/> > > > > > > Source.wxs(61,0): error LGHT0230: The Component/@Guid attribute's value > '*' is not valid for this component because it does not meet the some of > the criteria for having an automatically generated guid. Only components > with no ODBCDataSource child elements and either exactly one file which is > the key path or no files and a registry with no Property substitutions as > the key path may use an automatically generated guid. > > > Several Registry components have this issue, but I am at a loss as to why. > Both the RegistryValue and the RemoveRegistryKey elements are marked as > errors; even tho the Guid is not generated. > If anyone can give me some insight as to why this is happening, and even > better, what to do about it I would appreciate it. > > Thanks, > bill > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- virtually, Rob Mensching http://RobMensching.com LLC -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Component/@Guid error
WiX 3.0.5419, VS 2008. Attempting to convert merge modules (only used internally) to wixlib. Almost there, but have encountered a set of errors that make no sense. Example fragment and error are below. Source.wxs(61,0): error LGHT0230: The Component/@Guid attribute's value '*' is not valid for this component because it does not meet the some of the criteria for having an automatically generated guid. Only components with no ODBCDataSource child elements and either exactly one file which is the key path or no files and a registry with no Property substitutions as the key path may use an automatically generated guid. Several Registry components have this issue, but I am at a loss as to why. Both the RegistryValue and the RemoveRegistryKey elements are marked as errors; even tho the Guid is not generated. If anyone can give me some insight as to why this is happening, and even better, what to do about it I would appreciate it. Thanks, bill -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users