Archive: Since when CRC fails?


Since when CRC fails?
Today I upgraded NSIS and tryed to compile my usual script, which was working with previous version.

The first line is "CRCCheck on" and the compiler complaints about it:

Command line:
"C:\Programmi\NSIS\makensis.exe" /NOTIFYHWND 8915388 "C:\tmw\setup.nsi"

MakeNSIS v2.16 - Copyright 1999-2006 Nullsoft, Inc.

Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib).
Portions Copyright (C) 1996-2002 Julian R Seward (bzip2).
Portions Copyright (C) 1999-2003 Igor Pavlov (lzma).

Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al.

Processing config:
Processing plugin dlls: "C:\Programmi\NSIS\Plugins\*.dll"
- AdvSplash::show
- Banner::destroy
- Banner::getWindow
- 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
- NSISdl::download
- NSISdl::download_quiet
- Splash::show
- StartMenu::Init
- StartMenu::Select
- StartMenu::Show
- System::Alloc
- System::Call
- System::Copy
- System::Free
- System::Get
- System::Int64Op
- System::Store
- TypeLib::GetLibVersion
- TypeLib::Register
- TypeLib::UnRegister
- UserInfo::GetAccountType
- UserInfo::GetName
- VPatch::vpatchfile
- nsExec::Exec
- nsExec::ExecToLog
- nsExec::ExecToStack

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "C:\tmw"

Processing script file: "C:\tmw\setup.nsi"
Usage: CRCCheck (on|force|off)
Error in script "C:\tmw\setup.nsi" on line 1 -- aborting creation process

Not much can be said without the script. A script with CRCCheck on as the first line works fine for me... Make sure there are no weird signs in the script, it's not Unicode, etc.


You can take a look at it here:

http://themanaworld.homeip.net/tmw/setup.nsi


You have a semi-colon after CRCCheck on.


Wow, I missed it. I wonder why it was working before.
Anyway thanks a lot for the help.


IIRC, it's this change.