wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 24 forks source link

Heat fails when trying to harvest null registry keys #3096

Open wixbot opened 13 years ago

wixbot commented 13 years ago

Microsoft (R) Windows Installer Xml Toolset Harvester version 3.5.2519.0 Copyright (C) Microsoft Corporation. All rights reserved.

heat.exe : error HEAT0001 : '.', hexadecimal value 0x00, is an invalid character.

Exception Type: System.ArgumentException

Stack Trace: at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar(Int32 ch, Char* pDst, Boolean entitize) at System.Xml.XmlEncodedRawTextWriter.WriteAttributeTextBlock(Char* pSrc, Char* pSrcEnd) at System.Xml.XmlEncodedRawTextWriter.WriteString(String text) at System.Xml.XmlEncodedRawTextWriterIndent.WriteString(String text) at System.Xml.XmlWellFormedWriter.WriteString(String text) at System.Xml.XmlWriter.WriteAttributeString(String localName, String value) at Microsoft.Tools.WindowsInstallerXml.Serialize.RegistryValue.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Serialize.Component.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Serialize.DirectoryRef.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Serialize.Fragment.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Serialize.Wix.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)

Originally opened by nitropdf from http://sourceforge.net/p/wix/bugs/2469/

wixbot commented 11 years ago

Heat 3.0 works though.

PS C:\users\wta\Documents\Visual Studio 2010\Projects\Signalscape\Interview\trunk\installation\InterviewerSetup> & $heat file '....\Development\LEADTOOLS Multimedia\Redist\MM\CDLL\Win32\LMVYUVxf.dll' -out tmp.wxs -scom -var var.SourceDir -suid -gg -dr INSTALLLOCATION Microsoft (R) Windows Installer Xml Toolset Harvester version 3.0.5419.0 Copyright (C) Microsoft Corporation. All rights reserved.

Output attached.

wixbot commented 11 years ago

Seeing this too when harvesting LeadTools Multimedia SDK dlls.

PS C:\users\wta\Documents\Visual Studio 2010\Projects\Signalscape\Interview\trunk\installation\InterviewerSetup> ....\t ools\WiX\heat.exe file '....\Development\LEADTOOLS Multimedia\Redist\MM\CDLL\Win32\LMVYUVxf.dll' -out tmp.wxs -scom -var var.SourceDir -suid -gg -dr INSTALLLOCATION Microsoft (R) Windows Installer Xml Toolset Harvester version 3.5.2519.0 Copyright (C) Microsoft Corporation. All rights reserved.

heat.exe : error HEAT0001 : '.', hexadecimal value 0x00, is an invalid character.

Exception Type: System.ArgumentException

Stack Trace: at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar(Int32 ch, Char* pDst, Boolean entitize) at System.Xml.XmlEncodedRawTextWriter.WriteAttributeTextBlock(Char* pSrc, Char* pSrcEnd) at System.Xml.XmlEncodedRawTextWriter.WriteString(String text) at System.Xml.XmlEncodedRawTextWriterIndent.WriteString(String text) at System.Xml.XmlWellFormedWriter.WriteString(String text) at System.Xml.XmlWriter.WriteAttributeString(String localName, String value) at Microsoft.Tools.WindowsInstallerXml.Serialize.RegistryValue.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Serialize.Component.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Serialize.DirectoryRef.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Serialize.Fragment.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Serialize.Wix.OutputXml(XmlWriter writer) at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)

wixbot commented 11 years ago

Can you attach a .reg export from RegEdit so we can see what it looks like?

wixbot commented 11 years ago

Originally changed by barnson Area changed from heat to ` Releasechanged fromfuturetov3.x`