Archive: CVS based installers & Windows 98


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.


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


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!


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.


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 :)


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.