hitwhzhongqiu / unsis

Automatically exported from code.google.com/p/unsis
0 stars 0 forks source link

StdIn is broken #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
c:\snipped\nsis-2.46.4>makensis.exe - < Examples\example1.nsi

That command prints:
Processing script file: "stdin"
Invalid command:  ■;
Error in script "stdin" on line 1 -- aborting creation process

This is nsis-2.46.4-Unicode on WinXP but I assume it is a CRT issue.

Original issue reported on code.google.com by ander...@users.sourceforge.net on 11 Mar 2012 at 6:30

GoogleCodeExporter commented 9 years ago
To fix this problem we will have to figure out how to read stdin and detect the 
BOM. This means, we will have to write FOPENTEXT so that it does not rely on 
Microsoft's CRT extensions which in the long run is a good thing.

Original comment by j...@scratchpaper.com on 12 Mar 2012 at 3:26