From: SourceForge.net <no...@so...> - 2007-12-29 14:03:08
|
Bugs item #1860005, was opened at 2007-12-28 22:40 Message generated for change (Comment added) made by kichik You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373085&aid=1860005&group_id=22049 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Modern UI Group: 2.0 Series >Status: Closed >Resolution: Rejected Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Amir Szekely (kichik) Summary: MUI2 causes: Invalid command: System::Call Initial Comment: Using MUI2 in my installer causes this error: !insertmacro: MUI_PAGE_WELCOME Invalid command: System::Call Error in macro MUI_FUNCTION_WELCOMEPAGE on macroline 15 Error in macro MUI_PAGEDECLARATION_WELCOME on macroline 18 Error in macro MUI_PAGE_WELCOME on macroline 6 Error in script "warzone2100.nsi" on line 75 -- aborting creation process The script that causes this is http://svn.gna.org/viewcvs/warzone/branches/2.0/nsis/warzone2100.nsi?rev=2981&view=log (replace MUI.nsh with MUI2.nsh). The full log looks like this: makensis -DVERSION="2.0.10" -DVERSIONNUM=""2.0.10.0"" -DEXTDIR=""/home/dschridde/Projects/Warzone/devpkg/devpkg/bin"" warzone2100.nsi MakeNSIS v2.34 - Copyright 1995-2008 Contributors See the file COPYING for license details. Credits can be found in the Users Manual. Command line defined: "VERSION=2.0.10" Command line defined: "VERSIONNUM=2.0.10.0" Command line defined: "EXTDIR=/home/dschridde/Projects/Warzone/devpkg/devpkg/bin" Processing config: Processing plugin dlls: "/usr/share/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::Copy - System::Free - System::Int64Op - System::Store - TypeLib::GetLibVersion - TypeLib::Register - TypeLib::UnRegister - UserInfo::GetAccountType - UserInfo::GetName - UserInfo::GetOriginalAccountType - VPatch::vpatchfile - nsDialogs::Create - nsDialogs::CreateControl - nsDialogs::CreateItem - nsDialogs::GetUserData - nsDialogs::OnBack - nsDialogs::OnChange - nsDialogs::OnClick - nsDialogs::OnNotify - nsDialogs::SelectFileDialog - nsDialogs::SelectFolderDialog - nsDialogs::SetRTL - nsDialogs::SetUserData - nsDialogs::Show - nsExec::Exec - nsExec::ExecToLog - nsExec::ExecToStack !define: "MUI_INSERT_NSISCONF"="" Changing directory to: "/home/dschridde/Projects/Warzone/Gna/branches-2.0/nsis" Processing script file: "warzone2100.nsi" !include: "/usr/share/nsis/Include/MUI2.nsh" !include: "/usr/share/nsis/Contrib/Modern UI 2/MUI2.nsh" NSIS Modern User Interface version 2.0 - � 2002-2008 Joost Verburg (/usr/share/nsis/Contrib/Modern UI 2/MUI2.nsh:8) !define: "MUI_INCLUDED"="" !define: "MUI_SYSVERSION"="2.0" !define: "MUI_VERBOSE"="3" !include: closed: "/usr/share/nsis/Contrib/Modern UI 2/MUI2.nsh" !include: closed: "/usr/share/nsis/Include/MUI2.nsh" Name: "Warzone 2100" OutFile: "warzone2100-2.0.10.exe" InstallDir: "$PROGRAMFILES\Warzone 2100" InstallRegKey: "HKLM\Software\Warzone 2100\" SetCompressor: /FINAL /SOLID lzma VIAddVersionKey: "CompanyName" "Warzone Resurrection Project" VIAddVersionKey: "FileDescription" "Warzone 2100 Installer" VIAddVersionKey: "FileVersion" "2.0.10" VIAddVersionKey: "InternalName" "Warzone 2100" VIAddVersionKey: "LegalCopyright" "Copyright © 2006 Warzone Resurrection Project" VIAddVersionKey: "OriginalFilename" "warzone2100-2.0.10.exe" VIAddVersionKey: "ProductName" "Warzone 2100" VIAddVersionKey: "ProductVersion" "2.0.10" Var: "MUI_TEMP" Var: "STARTMENU_FOLDER" !define: "MUI_ICON"="..\win32\warzone2100.ico" !define: "MUI_UNICON"="..\win32\warzone2100.ico" !define: "MUI_ABORTWARNING"="" !define: "MUI_STARTMENUPAGE_REGISTRY_ROOT"="HKLM" !define: "MUI_STARTMENUPAGE_REGISTRY_KEY"="Software\Warzone 2100" !define: "MUI_STARTMENUPAGE_REGISTRY_VALUENAME"="Start Menu Folder" !define: "MUI_FINISHPAGE_NOAUTOCLOSE"="" !define: "MUI_FINISHPAGE_RUN"="" !define: "MUI_FINISHPAGE_RUN_NOTCHECKED"="" !define: "MUI_FINISHPAGE_RUN_TEXT"="$(TEXT_RunWarzone)" !define: "MUI_FINISHPAGE_RUN_FUNCTION"="LaunchLink" !define: "MUI_FINISHPAGE_SHOWREADME_NOTCHECKED"="" !define: "MUI_FINISHPAGE_SHOWREADME"="$(TEXT_Readme)" !insertmacro: MUI_PAGE_WELCOME Invalid command: System::Call Error in macro MUI_FUNCTION_WELCOMEPAGE on macroline 15 Error in macro MUI_PAGEDECLARATION_WELCOME on macroline 18 Error in macro MUI_PAGE_WELCOME on macroline 6 Error in script "warzone2100.nsi" on line 75 -- aborting creation process ---------------------------------------------------------------------- >Comment By: Amir Szekely (kichik) Date: 2007-12-29 16:03 Message: Logged In: YES user_id=584402 Originator: NO That's because gcc can't build the System plug-in properly. The source code uses inline assembly and naked functions. See the following thread for more information on this: http://forums.winamp.com/showthread.php?s=&threadid=227304 If you want to use System::Call on a linux-built NSIS, you must copy over Plugins\System.dll from the Windows version. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2007-12-28 22:40 Message: Logged In: NO PS: This is on Gentoo/Linux... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373085&aid=1860005&group_id=22049 |