I want to harvest a reg file using heat. The wxs file is generated using: heat reg data.reg" -ag -sfrag -cg Registry -o Registry.wxs
The call to heat succeeds but when I build the installer the following error message occurs: Registry.wxs (4): The Directory element requires the Name attribute because there is no parent Directory element. Registry.wxs (4): The 'TARGETDIR' directory has an illegal DefaultDir value of '.'. The DefaultDir value is created from the *Name attributes of the Directory element. The TARGETDIR directory is a special directory which must have its Name attribute set to 'SourceDir'. The wxs looks like this: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Fragment> <Directory Id="TARGETDIR"> <Component Id="cmp192C2067BF422127FEC40BCE630A75F6" Guid="*" KeyPath="yes"> ... </Directory> </Fragment> <Fragment> <ComponentGroup Id="Registry"> <ComponentRef Id="cmp192C2067BF422127FEC40BCE630A75F6" /> <ComponentRef Id="cmp64EC0CE2294B6E5EDA5AA472234A5F3C" /> </ComponentGroup> </Fragment> </Wix> What are the right parameters for heat for processing reg files? How do i include the generated wxs to my main wxs file? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/heat-parameters-for-harvesting-a-reg-file-tp7578774.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