Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 7th September 2007, 05:21   #1
adylee
Junior Member
 
Join Date: Sep 2007
Posts: 5
NSIS v2.30 MUI_PAGE_WELCOME is blank in SimpChinese language?

NSIS v2.30 MUI_PAGE_WELCOME is blank in SimpChinese language,when i change English language it's okay!
Why?
adylee is offline   Reply With Quote
Old 7th September 2007, 16:06   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Works fine for me. I can't actually read anything, but the page is definitly not empty. Can you attach the simplest script reproducing this issue?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 8th September 2007, 02:01   #3
adylee
Junior Member
 
Join Date: Sep 2007
Posts: 5
now i list the screenshots in my pc.

NSIS v2.29 in Chinese


NSIS v2.29 in English


NSIS v2.30 in Chinese


NSIS v2.30 in English[IMG]


now you see the blank in SimpChinese version.Why?
adylee is offline   Reply With Quote
Old 8th September 2007, 06:46   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
As I said, it works fine for me. I need a script that reproduces this issue so I can see the problem for myself and try to fix it.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 9th September 2007, 03:36   #5
adylee
Junior Member
 
Join Date: Sep 2007
Posts: 5
this is the content of nsi script file in my project.

; example1.nsi
;
; This script is perhaps one of the simplest NSIs you can make. All of the
; optional settings are left to their default settings. The installer simply
; prompts the user asking them where to install, and drops a copy of example1.nsi
; there.

;--------------------------------

!include "MUI.nsh"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_LANGUAGE "SimpChinese"

; The name of the installer
Name "Example1"

; The file to write
OutFile "example1.exe"

; The default installation directory
InstallDir $PROGRAMFILES\Example1

;--------------------------------

; Pages

Page directory
Page instfiles

;--------------------------------

; The stuff to install
Section "" ;No components page, name is not important

; Set output path to the installation directory.
SetOutPath $INSTDIR

; Put file there
File example1.nsi

SectionEnd ; end the section
adylee is offline   Reply With Quote
Old 9th September 2007, 21:19   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
I still get a welcome page with some text with this script. Have you tried reinstalling NSIS? Maybe some files have been deleted? Doesn't the compiler warn of missing strings for this script?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 10th September 2007, 01:00   #7
adylee
Junior Member
 
Join Date: Sep 2007
Posts: 5
i have reinstalled NSIS 2.30 for more then 10 times,but the problem still exist.
adylee is offline   Reply With Quote
Old 11th September 2007, 18:02   #8
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Well, you're not the only one:

https://sourceforge.net/tracker/inde...49&atid=373085

It probably has to do something with your codepage. I'll have a look when I get the time. If you want a quick solution, you should probably starting looking at encoding issues yourself or use 2.28.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 14th September 2007, 17:00   #9
crony682
Junior Member
 
Join Date: Sep 2007
Posts: 1
Hmm... In my case, the same symptom has occured(Korean Language).
I solved this problem using
!include "MUI2.nsh"
rather than
!include "MUI.nsh".
crony682 is offline   Reply With Quote
Old 15th September 2007, 08:07   #10
adylee
Junior Member
 
Join Date: Sep 2007
Posts: 5
oh,i'm trying...
thanks,that's ok.

Last edited by adylee; 15th September 2007 at 08:43.
adylee is offline   Reply With Quote
Old 28th September 2007, 17:35   #11
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
I've finally tracked down the issue. It's caused by Io2Nsis and Nsis2Io which don't work that well with MBCS. I've modified them a bit for the next version and it should work.

Using MUI2 is a good workaround as it doesn't use InstallOptions and therefore has no need for Nsis2Io and Io2Nsis.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump