Monday, April 13, 2015

light.exe : error LGHT0001 : Unable to read beyond the end of the stream.

Continuously getting this error, while compiling the Bundle project:
light.exe : error LGHT0001 : Unable to read beyond the end of the stream.


It was very annoying... and then after searching in Wix-users, came to read this post. And then I realized that either some graphics doesn't exist or corrupted. And then I've found that I copied Logo.png to Logo.ico and was referencing in my Bungle wix. 

Logo.png and Logo.ico are totally different formats and so light.exe was not able to read ico binary stream, because technically it was png binary stream..

I used GoldFish Icon Editor to convert Logo.png to Logo.ico and all went well.. :).

No comments: