![]() |
installer doesn't work on Windows 98
The installer for Vim 6.3a, generated with NSIS 2, works fine on Windows XP but several people reported it hangs on the license page when using Windows 98. That page then is blank, no text and no buttons to click on. Cursor turns into an hourglass.
I'm not sure if this is a bug or something I'm doing wrong. Currently I guess it's a bug, because it worked fine with NSIS 1.92. You can find the file here: ftp://ftp.vim.org/pub/vim/unstable/pc/gvim63a.exe The installer script gvim.nsi can be found here: http://cvs.sourceforge.net/viewcvs.py/vim/vim/nsis I'm using LZMA compression, could that be a reason? I currently don't have a Windows 98 system, thus can't do debugging. Suggestions are welcome! |
I can reproduce this issue. It occurs once in a while on a Windows 98 installation.
I think your actions in .onInit may interfere with the interface. Try running the external application silently using the nsExec plug-in. Your script also uses deprecated NSIS 1 commands. This is not related to this issue, but using page commands and the standard language files is recommended. |
Quote:
Quote:
Perhaps there is another way to run the application that works around the problem? Note that it worked just fine with NSIS 1. Quote:
|
NSIS 2 has a new page system. You only have to add page commands, there is no need to set texts like DirText etc. yourself.
I notice that the background gradient does not show when the license page is blank. The only interface-related command in .onInit is BringToFront, try whether that one makes any difference. Also try with and without background gradient. |
I finally decided to reboot into Windows 98 (have to bring down my Unix system, don't like that) and try it out myself. Unfortunately it works fine on my system. That means I cannot even try debugging it.
I have uploaded another installer, with the gradient and the BringToFront removed. Please give it a try: ftp://ftp.vim.org/pub/vim/unstable/pc/gvim63a1.exe |
This one seems to work fine, please ask the users who reported the problem to test it too.
Btw, why not integrate the uninstallation etc. in the NSIS installer? |
Quote:
Quote:
|
Please create four small installers without any files included (except those used in .onInit).
1) With all features 2) Without BringToFront 3) Without background gradient 4) Without both |
OK, you can find four executables here: ftp://ftp.vim.org/pub/vim/unstable/tryout
The first "yes" or "no" is for BGGradient, the second for BringToFront. Hopefully you can reproduce the problem with these mutilated installers! |
Only yes_yes seems to cause the problem.
The usage of BringToFront is no a good idea anyway in combination with a background gradient, because everything goes to the background. |
| All times are GMT. The time now is 04:36. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.