LIGHTNING UK!
27th February 2006 14:39 UTC
CVS based installers & Windows 98
Hi,
For a bit of background info, I have the basic v2.14 of NSIS installed and then I usually download the CVS nightly build and overwrite the files in the NSIS folder.
I've found that because the CVS text files don't have the proper CR/LF combos, the installers created don't work properly under Windows 98.
I use the modern ui in my installer and the picture that's supposed to be on the left of the welcome/finish screen doesn't show up - nor does the 'Welcome to...' text at the top.
Both show up fine under later OS's like XP.
File by file, I copied a working base version of 2.14 over an updated CVS version, until it started working again.
In the end, it was the 'ioSpecial.ini' file in the 'Contrib\Modern UI' that seemed to be causing the problem.
So is there a way of either making the CVS files contain those proper CR/LF combos or making the makensis (or whatever) deal with files that don't contain them?
Cheers.
Afrow UK
27th February 2006 16:05 UTC
Sounds like the ioSpecial.ini file was modified online via a CGI/PHP script. Server side languages apart from ASP (because it is Microsoft) tend to read \r\n new lines correctly but unless you force write \r\n for new lines, it will use \n instead (as it is UNIX.)
Not sure if this is the same case here, but I have had this problem in the past (when web programming).
-Stu
LIGHTNING UK!
27th February 2006 16:17 UTC
I just thought it was a little weird that the all the text files in the CVS nightly.zip have this cr/lf problem and none of the 'final/release' version ones do.
I would have assumed they'd both be packaged up in roughly the same way - only the release one obviously has an installer.
I was hoping that whatever packages up the nightly.zip file can be told to use cr/lf so it doesn't cause problems for us Windows users!
kichik
28th February 2006 19:13 UTC
Final versions are packaged on Windows, the nightly ZIP is packaged on a Linux. By default, CVS uses just LF on Linux and CR/LF on Windows. I couldn't find a way to make non-Windows CVS client to use CRLF, so, for now, I've added a manual step to convert all INI files to CRLF.
LIGHTNING UK!
28th February 2006 22:39 UTC
Excellent news and nice to know it wasn't just me going mad ;)
So from now on (or tomorrow night at least), I should be ok to use the nightly CVS one?
Thanks again :)
kichik
2nd March 2006 16:32 UTC
Originally posted by LIGHTNING UK!
So from now on (or tomorrow night at least), I should be ok to use the nightly CVS one?
Yes.