poidasmith / winrun4j

WinRun4J Java Application Launcher
http://winrun4j.sourceforge.net
212 stars 63 forks source link

Embedding ini in 32 bit launcher executable crashes the launcher #52

Closed Joris-van-der-Wel closed 11 years ago

Joris-van-der-Wel commented 11 years ago

Using the windows build of winrun4j 0.4.5 I can embed an ini into the 64 bit launcher (the one without a console) using:

rcedit64 /N foo64.exe bar.ini

This works OK.

But when I use this on the 32 bit launcher:

rcedit /N foo32.exe bar.ini

The resulting launcher crashes immediately upon execution. No log file is generated. If i do not modify the launcher (by including a foo32.ini file) or only set an icon using /I, everything works OK.

Windows 8 Pro 64-bit Intel i7-3770

Thanks

Joris-van-der-Wel commented 11 years ago

After looking at this again, I realize this is a duplicate of https://github.com/poidasmith/winrun4j/issues/42

For some reason not having a trailing end of line fails on 32 bit but not on 64 bit. (I am using unix line endings)

poidasmith commented 11 years ago

Thanks for the update. Will close this one.