Archive: App Error in NSIS.exe


App Error in NSIS.exe
I have downloaded nightly build yesterday and today. Both give me this when I try to open NSIS menu.

I am running Windows Server 2003.


I have uploaded a new version to CVS. Can you try this one?


OK, I am going to try it.


D:\NSIS>!InstallNSIS.bat
MakeNSIS v2.0b4 (CVS) - Copyright 1999-2003 Nullsoft, Inc.

Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib).
Includes portions derived from bzip2 (see documentation for details).
Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Wi
ndridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir
Szekely, Ximon Eighteen, et al.



Processing config:
Changing directory to: "D:\NSIS\Examples"

Processing plugin dlls: "D:\NSIS\plugins\*.dll"
- advsplash::show
- Banner::destroy
- Banner::show
- BgImage::AddImage
- BgImage::AddText
- BgImage::Clear
- BgImage::Destroy
- BgImage::Redraw
- BgImage::SetBg
- BgImage::SetReturn
- BgImage::Sound
- Dialer::AttemptConnect
- Dialer::AutodialHangup
- Dialer::AutodialOnline
- Dialer::AutodialUnattended
- Dialer::GetConnectedState
- InstallOptions::dialog
- InstallOptions::initDialog
- InstallOptions::show
- LangDLL::LangDialog
- Math::Script
- nsExec::Exec
- nsExec::ExecToLog
- nsExec::ExecToStack
- nsisdl::download
- nsisdl::download_quiet
- splash::show
- StartMenu::Select
- System::Alloc
- System::Call
- System::Copy
- System::Free
- System::Get
- System::Int64Op
- System::Store
- UserInfo::GetAccountType
- UserInfo::GetName
- VPatch::vpatchfile


Processing script file: "Examples/makensis.nsi"
!define: "VER_MAJOR"="2"
!define: "VER_MINOR"="0b4"
!define: "VER_DISPLAY"="2.0 beta 4 (CVS)"
!system: ""D:\NSIS\Bin\InstallCVSData.exe" nooverwrite"
!system: returned 1
!system: ""D:\NSIS\makensis.exe" cvsdata.nsi"
MakeNSIS v2.0b4 (CVS) - Copyright 1999-2003 Nullsoft, Inc.

Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib).
Includes portions derived from bzip2 (see documentation for details).
Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Wi
ndridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir
Szekely, Ximon Eighteen, et al.



Processing config:
Changing directory to: "D:\NSIS\Examples"

Processing plugin dlls: "D:\NSIS\plugins\*.dll"
- advsplash::show
- Banner::destroy
- Banner::show
- BgImage::AddImage
- BgImage::AddText
- BgImage::Clear
- BgImage::Destroy
- BgImage::Redraw
- BgImage::SetBg
- BgImage::SetReturn
- BgImage::Sound
- Dialer::AttemptConnect
- Dialer::AutodialHangup
- Dialer::AutodialOnline
- Dialer::AutodialUnattended
- Dialer::GetConnectedState
- InstallOptions::dialog
- InstallOptions::initDialog
- InstallOptions::show
- LangDLL::LangDialog
- Math::Script
- nsExec::Exec
- nsExec::ExecToLog
- nsExec::ExecToStack
- nsisdl::download
- nsisdl::download_quiet
- splash::show
- StartMenu::Select
- System::Alloc
- System::Call
- System::Copy
- System::Free
- System::Get
- System::Int64Op
- System::Store
- UserInfo::GetAccountType
- UserInfo::GetName
- VPatch::vpatchfile


Processing script file: "cvsdata.nsi"
Compiling CVS Data Setup... (cvsdata.nsi:9)
File: "..\.\CVS\Entries.log" -> no files found.
File: "..\Bin\CVS\Entries.log" -> no files found.
File: "..\Contrib\CVS\Entries.log" -> no files found.
File: "..\Contrib\AdvSplash\CVS\Entries.log" -> no files found.
File: "..\Contrib\Banner\CVS\Entries.log" -> no files found.
File: "..\Contrib\BgImage\CVS\Entries.log" -> no files found.
File: "..\Contrib\Dialer\CVS\Entries.log" -> no files found.
File: "..\Contrib\ExDLL\CVS\Entries.log" -> no files found.
File: "..\Contrib\Graphics\CVS\Entries.log" -> no files found.
File: "..\Contrib\Graphics\Checks\CVS\Entries.log" -> no files found.
File: "..\Contrib\Graphics\Icons\CVS\Entries.log" -> no files found.
File: "..\Contrib\Graphics\Header\CVS\Entries.log" -> no files found.
File: "..\Contrib\Graphics\Wizard\CVS\Entries.log" -> no files found.
File: "..\Contrib\InstallOptions\CVS\Entries.log" -> no files found.
File: "..\Contrib\LangDLL\CVS\Entries.log" -> no files found.
File: "..\Contrib\Language files\CVS\Entries.log" -> no files found.
File: "..\Contrib\Makensisw\CVS\Entries.log" -> no files found.
File: "..\Contrib\Math\CVS\Entries.log" -> no files found.
File: "..\Contrib\Modern UI\CVS\Entries.log" -> no files found.
File: "..\Contrib\Modern UI\Language files\CVS\Entries.log" -> no files found.
File: "..\Contrib\nsExec\CVS\Entries.log" -> no files found.
File: "..\Contrib\NSISdl\CVS\Entries.log" -> no files found.
File: "..\Contrib\Splash\CVS\Entries.log" -> no files found.
File: "..\Contrib\StartMenu\CVS\Entries.log" -> no files found.
File: "..\Contrib\System\CVS\Entries.log" -> no files found.
File: "..\Contrib\System\Source\CVS\Entries.log" -> no files found.
File: "..\Contrib\UIs\CVS\Entries.log" -> no files found.
File: "..\Contrib\UIs\UI Holder\CVS\Entries.log" -> no files found.
File: "..\Contrib\UserInfo\CVS\Entries.log" -> no files found.
File: "..\Contrib\VPatch\CVS\Entries.log" -> no files found.
File: "..\Contrib\VPatch\Source\CVS\Entries.log" -> no files found.
File: "..\Contrib\VPatch\Source\GenPat\CVS\Entries.log" -> no files found.
File: "..\Contrib\VPatch\Source\GUI\CVS\Entries.log" -> no files found.
File: "..\Contrib\VPatch\Source\Plugin\CVS\Entries.log" -> no files found.
File: "..\Contrib\zip2exe\CVS\Entries.log" -> no files found.
File: "..\Contrib\zip2exe\zlib\CVS\Entries.log" -> no files found.
File: "..\Docs\CVS\Entries.log" -> no files found.
File: "..\Examples\CVS\Entries.log" -> no files found.
File: "..\Examples\Modern UI\CVS\Entries.log" -> no files found.
File: "..\Include\CVS\Entries.log" -> no files found.
File: "..\Menu\CVS\Entries.log" -> no files found.
File: "..\Menu\images\CVS\Entries.log" -> no files found.
File: "..\Plugins\CVS\Entries.log" -> no files found.
File: "..\Source\CVS\Entries.log" -> no files found.
File: "..\Source\bzip2\CVS\Entries.log" -> no files found.
File: "..\Source\exehead\CVS\Entries.log" -> no files found.
File: "..\Source\zlib\CVS\Entries.log" -> no files found.
Function: "GetParameters"
Push: $R0
Push: $R1
Push: $R2
StrCpy $R0 "$CMDLINE" (1) ()
StrCpy $R1 """ () ()
StrCpy $R2 "1" () ()
StrCmp "$R0" """ equal=loop, nonequal=
StrCpy $R1 " " () ()
StrCpy $R0 "$CMDLINE" (1) ($R2)
StrCmp "$R0" "$R1" equal=loop2, nonequal=
StrCmp "$R0" "" equal=loop2, nonequal=
IntOp: $R2=$R2+1
Goto: loop
IntOp: $R2=$R2+1
StrCpy $R0 "$CMDLINE" (1) ($R2)
StrCmp "$R0" " " equal=loop2, nonequal=
StrCpy $R0 "$CMDLINE" () ($R2)
Pop: $R2
Pop: $R1
Exch($R0,0)
FunctionEnd

Processed 1 file, writing output:
Processing pages... Done!
Removing unused resources... Done!
Generating language tables... Done!

Output: "D:\NSIS\Bin\InstallCVSData.exe"
Install: 0 pages (0 bytes), 1 section (24 bytes), 220 instructions (6160 bytes),
213 strings (6247 bytes), 1 language table (158 bytes).
Datablock optimizer saved 1932 bytes (~3.4%).

Using bzip2 (compress whole) compression.

EXE header size: 32256 / 34816 bytes
Install code: (12901 bytes)
Install data: (23062 bytes)
Compressed data: 7530 / 35963 bytes
CRC (0x5CBB809D): 4 / 4 bytes

Total size: 39790 / 70783 bytes (56.2%)
!system: returned 0
OutFile: "..\nsis20b4.exe"
SetCompressor: bzip2
InstType: 1="Full (w/ Source and Contrib)"
InstType: 2="Normal (w/ Contrib, w/o Source)"
InstType: 3="Lite (w/o Source or Contrib)"
ShowInstDetails: show
ShowUninstDetails: show
SetDateSave: on
InstallDir: "$PROGRAMFILES\NSIS"
InstallRegKey: "HKLM\SOFTWARE\NSIS\"
!include: "MUI.nsh"
!include: "D:\NSIS\Contrib\Modern UI\System.nsh"
NSIS Modern User Interface version 1.66 - ***281; 2002-2003 Joost Verburg (D:\NSIS\Con
trib\Modern UI\System.nsh:11)
!include: closed: "D:\NSIS\Contrib\Modern UI\System.nsh"
!include: closed: "D:\NSIS\Include\MUI.nsh"
Name: "NSIS"
Caption: "NSIS 2.0 beta 4 (CVS) Setup"
!insertmacro: MUI_PAGE_WELCOME
!insertmacro: end of MUI_PAGE_WELCOME
!insertmacro: MUI_PAGE_LICENSE
!insertmacro: end of MUI_PAGE_LICENSE
!insertmacro: MUI_PAGE_COMPONENTS
!insertmacro: end of MUI_PAGE_COMPONENTS
!insertmacro: MUI_PAGE_DIRECTORY
!insertmacro: end of MUI_PAGE_DIRECTORY
!insertmacro: MUI_PAGE_INSTFILES
!insertmacro: end of MUI_PAGE_INSTFILES
!define: "MUI_FINISHPAGE_SHOWREADME"="$INSTDIR\Docs\index.html"
!define: "MUI_FINISHPAGE_NOREBOOTSUPPORT"=""
!insertmacro: MUI_PAGE_FINISH
!insertmacro: end of MUI_PAGE_FINISH
!insertmacro: MUI_UNPAGE_CONFIRM
!insertmacro: end of MUI_UNPAGE_CONFIRM
!insertmacro: MUI_UNPAGE_INSTFILES
!insertmacro: end of MUI_UNPAGE_INSTFILES
!define: "MUI_ABORTWARNING"=""
!define: "MUI_HEADERBITMAP"="D:\NSIS\Contrib\Graphics\Header\nsis.bmp"
!define: "MUI_SPECIALBITMAP"="D:\NSIS\Contrib\Graphics\Wizard\nullsoft.bmp"
!define: "MUI_COMPONENTSPAGE_SMALLDESC"=""
!define: "MUI_TEXT_WELCOME_INFO_TEXT"="This wizard will guide you through the in
stallation of NSIS, a scriptable win32 installer/uninstaller system that doesn't
suck and isn't huge.\r\n\r\n\r\n"
!insertmacro: MUI_LANGUAGE
!define: "MUI_TEXT_WELCOME_INFO_TEXT" already defined!
!include: error in script: "D:\NSIS\Contrib\Modern UI\Language files\English.nsh
" on line 14
Error in macro MUI_LANGUAGE on macroline 5
Error in script "Examples/makensis.nsi" on line 70 -- aborting creation process
'nsis20b4.exe' is not recognized as an internal or external command,
operable program or batch file.

D:\NSIS>


I can't install it, but I get the same error if I run NSIS.exe without installing, from the directory where I extracted nsis.zip file.

This compile error will be fixed.

I have no 2003 system to test.

Do you always get the same error?
Did the old version work on 2003?
Does compatibilit mode work?
Did you disable certain services / features?


Ok, I will retest.


1. Yes, error is always the same.
2. Earlier versions (about a week or so ago) worked correctly on Windows 2003. I can't find the exact build (I didn't keep them), but I verified that 2.0b3 works correctly (I know it's too old and it doesn't mean anything).
3. No, it doesn't help. Turning off themes doesn't help either.
4. I disabled Task Scheduler, DHCP Client, Automatic Updates and Windows Time (I don't think any of this is relevant, because 2.0b3 and earlier 2.0b4 builds worked correctly). I also enabled some that I need, most of them are enabled by default on XP.


Can you try these builds?

http://nsis.sf.net/a.exe
http://nsis.sf.net/b.exe


I don't know what did you change, but both versions run without error.
Why is one so much larger?


One of them is compressed.

I have uploaded the new version.