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 <bill.pack...@kepware.com>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. > > <Fragment> > <DirectoryRef Id="INSTALLDIR"> > <Component Id="ConfigHkcuRemove" > Guid="DB0A90F0-DCEA-4022-A554-C9A67E561A67"> > <RegistryValue Id="ConfigHkcuRemoveKey" Root="HKCU" Type="string" > Value="1" KeyPath="yes" > > Key="Software\[PROPERTY1]\[PROPERTY2]\Install\Configuration Utility"/> > <RemoveRegistryKey Id="ConfigHkcuRemove" Root="HKCU" > Action="removeOnUninstall" > Key="Software\[PROPERTY1]\Configuration Utility"/> > </Component> > </DirectoryRef> > </Fragment> > > > 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