Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhelpful exception information in GetFileHash #45

Closed
wixbot opened this issue Apr 30, 2004 · 2 comments
Closed

Unhelpful exception information in GetFileHash #45

wixbot opened this issue Apr 30, 2004 · 2 comments

Comments

@wixbot
Copy link

wixbot commented Apr 30, 2004

I have a rather large wix file and light is throwing an
error which doesn’t pinpoint me to where the error might
be.

light.exe : fatal error LGHT0000: Input string was not in
a correct format.

Stack Trace:
at System.Text.StringBuilder.FormatError()
at System.Text.StringBuilder.AppendFormat
(IFormatProvider provider, String format, Object[] args)

at System.String.Format(IFormatProvider provider,

String format, Object[] args)
at System.String.Format(String format, Object arg0,
Object arg1)
at
Microsoft.Tools.WindowsInstallerXml.Msi.MsiBase.GetFileH
ash(String filePath, Int32 options, In
t32[]& hash)
at
Microsoft.Tools.WindowsInstallerXml.Linker.UpdateFileInfo
rmation(Output output)
at
Microsoft.Tools.WindowsInstallerXml.Tools.LightMain..ctor
(String[] args)
at
Microsoft.Tools.WindowsInstallerXml.Tools.Light.Main
(String[] args)

Originally opened by teyc from http://sourceforge.net/p/wix/bugs/38/

@wixbot
Copy link
Author

wixbot commented Sep 15, 2012

Suspect problem was caused by a file with a name
called "#readme.txt#", and using the FileGroup tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@wixbot and others