- NSIS Discussion
- InstallOptions Loses Options
Archive: InstallOptions Loses Options
n0On3
19th November 2002 03:34 UTC
InstallOptions Loses Options
I tried to use the InstallOptions in the CVS but playing with back and next buttons I see that the window loses options. That is, the first time you see that page there are 4 fields, but after using next and back there's only one.
rainwater
19th November 2002 03:43 UTC
Re: InstallOptions Loses Options
Which example are you referring to?
n0On3
19th November 2002 19:34 UTC
oh yes:)
${NSISDIR}\Contrib\InstallOptions\test.nsi
Joost Verburg
19th November 2002 19:37 UTC
I have no problems at all.
Please download the latest development snapshot at http://nsis.sf.net
n0On3
19th November 2002 20:37 UTC
ok, I attach the exe with a snapshot.
I am the only one using Win98SE?
PS. no need to say that the problem persist with CVS 2002-11-19.
Joost Verburg
19th November 2002 21:19 UTC
Your compiled exe works fine here (Windows XP SP1). Maybe someone else using Windows 98 wants to test it.
Dick4
20th November 2002 04:41 UTC
works here, winxp (no sp1)
n0On3
20th November 2002 06:22 UTC
yeah...
It's not the first time I have problems with NSIS because of OS.
Mottel
20th November 2002 06:42 UTC
Results on Win98 SE
Tried it under Win98 SE and I can confirm that there is a problem.
Results:
When the page "Install Option Test Setup: Testing Installer Options" first appears, it shows three options:
Install support for X
Install support for Y
Install support for Z
Only Y is ticked.
(Below this is some other stuff)
If you click Next then Back, or:
Back (to the licence) then "I Agree",
you see only one option (X) listed.
Mottel
20th November 2002 07:06 UTC
More Info
Now this is interesting.
The above results were from running the .exe posted here by nOOn3. When I tried compiling ${NSISDIR\Contrib\InstallOptions\test.nsi myself (NSIS 2.0b,CVS 2002-11-09) the resulting .exe seems to work OK. At least it doesn't exhibit the behaviour described above. It's either a bug that has crept in subsequent to the build I'm using, or it's something on your system.
I'm attaching the .exe and the sources (from \InstallOptions dir only)so you can compare yours with mine. See if the sources are the same, then do a file compare of your .exe with mine. (Have you made any changes to Test.nsi?)
virtlink
20th November 2002 10:56 UTC
Under Win 2000, it works fine too.
Joost Verburg
20th November 2002 11:10 UTC
So you are using version 2002-11-09 and he is using version 2002-11-19?
I guess it's be a problem with the updated InstallOptions DLL.
n0On3
20th November 2002 15:26 UTC
two tests
well, I have CVS 2002-11-09 and it has the same bug.
I attach both versions.
PS. Strange enough the test.exe posted by Mottel runs smoothly.:rolleyes:
Joost Verburg
20th November 2002 15:45 UTC
Please try some different InstallOptions versions:
http://cvs.sourceforge.net/cgi-bin/v...allOptions.dll
kichik
20th November 2002 17:02 UTC
He uses the snapshot that was created with the great ZIP program that can't convert the line breaks... Windows 98 doesn't like that in an INI file I guess...
Mottel
25th November 2002 09:56 UTC
Is that it?
Ahaaa! yes, I forgot to say that I later fixed the line-breaks on some of the text-files manually. Or, more to the point, I didn't think it was relevant. Has that fixed your problem nOOn3? (I read somewhere here today that the line-break bug has just been fixed.)
Edit:
Yup, that was definitely it! Just recompiled Test.nsi with the original Test.ini from CVS 2002-11-09 (with the missing \r's) and nOOns problem reappeared! I guess those line-breaks are more important than I thought.
n0On3
25th November 2002 19:29 UTC
Re: Is that it?
Originally posted by Mottel
I later fixed the line-breaks on some of the text-files manually. Has that fixed your problem nOOn3?
yes, that was the problem. I use a notepad replacement called Metapad that can read unix format and didn't realize.
btw, it can change file format with a click (it supports dos, unix and unicode).
try it here:
http://www.liquidninja.com/metapad/