Skip to content
⌘ NSIS Forum Archive

MUI not shown when compile on a win98b OS

10 posts

aschenbachen#

MUI not shown when compile on a win98b OS

Hello Forum,

Kichik told me to post my code for Joost to answer my question, its actually no biggie, but my question is that i wrote this code on a win98 pc and compiled it then ran it but i didn't see the new MUI installer running, but the original installer came up instead. Weird.

Could it be a bug?

freeman
pengyou#
If you add this line, the example will show the MUI:

!insertmacro MUI_LANGUAGE "English"

Perahps the MUI ReadMe should stress that a language must be defined (or could the MUI just default to "English" if the script does not specify a language)?
Joost Verburg#
It's not possible to default to English. The Readme already makes clear that you always have to add it.
aschenbachen#
MUI not running under win98b

Hello,

my guess is that, inorder for the MUI to show, it may need to compile the codes in windowXP.
the reason i wrote that was that after i uninstalled Netscape 7.01 on my win98, it still leaves a bunch of folders under "C:\program files\netscape", without the "tab" function available on win98 like XP, its difficult for me to type in ever single dir name, so i used NSIS to get rid of the rest netscape folders.

if you try to compile my code in win98b, and run it in win98b the old installer will show, the little square box installer, not the new MUI.
it may just be where you compile the code, but since the MUI graphics comes along when i compile the codes. this makes it strange.

Aschenbach
Joost Verburg#
Your script is entirely wrong. This is not related to Windows XP or anything else.

Please read the Modern UI Readme and check the examples.
aschenbachen#
MUI

Hello,

Sure, i will use the basic.nsi from the MUI website and see if the MUI will come up on win98. I am sure its probably something i did. As i said, it was something i did to just remove the netscape directories since it has not been fullly removed by the uninstaller of netscape.

thanks

aschenbach
Joost Verburg#
Lots of things are wrong in your script:

1) !define MUI_PAGE_WELCOME should be !insertmacro MUI_PAGE_WELCOME (same for the Finish page)

2) Missing MUI_PAGE_INSTFILES page

3) Missing language macro: !insertmacro MUI_LANGUAGE "English" (after the Modern UI Settings)
aschenbachen#
MUI

Hello,

Thanks for pointing them out, i will change it. i always used "!define MUI*" instead of "!macro MUI*"

i usually just copy from the MUI website to get the codes and type in the files and directories that i needed.

i will try to change it accordingly and play with it more.

Aschenbach
Joost Verburg#
You don't seem to understand the difference between a macro and a define. Please check the documentation.

For pages, you have to insert page macro's. Settings like MUI_ABORTWARNING are defines.

Also make sure you have the latest development version from http://nsis.sf.net
aschenbachen#
MUI Working in win98

Hello,

i got my script working the way, i like it. i missed a few things on the last one. if anyone need it here it is. This will just delete the rest of the netscape brower left over files (since their uninstaller didn't removed everything) including directories only if you don't type in all that crap(dirs, not empty dirs) on your win98 systems.

Does anyone know how to enable the TAB to scroll through the files and directories just like win XP?


Aschenbach