欢迎/完成页面上有一堆警告,没有图像

时间:2011-09-09 14:47:35

标签: nsis

这是我第一次使用NSIS而我正在尝试制作一个使用MUI2的安装程序,但它并不太顺利。当我编译我的代码时,我没有得到任何错误,所以它编译,但我收到了一大堆警告。首先它发生在一个稍微复杂的安装程序,但我甚至做了一个超级简单的(仍然使用MUI2),我仍然得到相同的错误。 这是生成的日志:

MakeNSIS v2.46 - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Processing config: 
Processing plugin dlls: "F:\Sami\Applications\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
 - UserInfo::GetOriginalAccountType
 - VPatch::GetFileCRC32
 - VPatch::GetFileMD5
 - VPatch::vpatchfile
 - nsDialogs::Create
 - nsDialogs::CreateControl
 - nsDialogs::CreateItem
 - nsDialogs::CreateTimer
 - nsDialogs::GetUserData
 - nsDialogs::KillTimer
 - 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: "F:\Sami\Games\Mightier\Even Mightier Installer"

Processing script file: "F:\Sami\Games\Mightier\Even Mightier Installer\Even Mightier.nsi"
!include: "F:\Sami\Applications\NSIS\Include\MUI2.nsh"
!include: "F:\Sami\Applications\NSIS\Contrib\Modern UI 2\MUI2.nsh"
NSIS Modern User Interface version 2.0 - Copyright 2002-2009 Joost Verburg (F:\Sami\Applications\NSIS\Contrib\Modern UI 2\MUI2.nsh:8)
!define: "MUI_INCLUDED"=""
!define: "MUI_SYSVERSION"="2.0"
!define: "MUI_VERBOSE"="3"
!include: closed: "F:\Sami\Applications\NSIS\Contrib\Modern UI 2\MUI2.nsh"
!include: closed: "F:\Sami\Applications\NSIS\Include\MUI2.nsh"
!include: "F:\Sami\Applications\NSIS\Include\LogicLib.nsh"
!include: closed: "F:\Sami\Applications\NSIS\Include\LogicLib.nsh"
!include: "F:\Sami\Applications\NSIS\Include\Sections.nsh"
!include: closed: "F:\Sami\Applications\NSIS\Include\Sections.nsh"
Name: "Even Mightier Setup"
OutFile: "EvenMightier_v1.0Setup.exe"
InstallDir: "$PROGRAMFILES\Mightier\"
!define: "MUI_FINISHPAGE_NOAUTOCLOSE"=""
!define: "MUI_UNFINISHPAGE_NOAUTOCLOSE"=""
!define: "MUI_ABORTWARNING"=""
!define: "MUI_ABORTWARNING_TEXT"="Are you sure you want to stop installing Even Mightier?"
!define: "MUI_ABORTWARNING_CANCEL_DEFAULT"=""
!define: "MUI_UNABORTWARNING"=""
!define: "MUI_UNABORTWARNING_TEXT"="Are you sure you want to stop uninstalling Even Mightier?"
!define: "MUI_UNABORTWARNING_CANCEL_DEFAULT"=""
!define: "MUI_DIRECTORYPAGE_VERIFYONLEAVE"=""
!define: "MUI_WELCOMEPAGE_TEXT"="This installer will install Even Mightier, an expansion for Mightier. It is recommended that you do not have Mightier open during the installation."
!insertmacro: MUI_PAGE_WELCOME
!insertmacro: end of MUI_PAGE_WELCOME
!insertmacro: MUI_PAGE_COMPONENTS
!insertmacro: end of MUI_PAGE_COMPONENTS
!define: "MUI_PAGE_CUSTOMFUNCTION_LEAVE"="LeaveDirectory"
!insertmacro: MUI_PAGE_DIRECTORY
!insertmacro: end of MUI_PAGE_DIRECTORY
!insertmacro: MUI_PAGE_INSTFILES
!insertmacro: end of MUI_PAGE_INSTFILES
!insertmacro: MUI_PAGE_FINISH
!insertmacro: end of MUI_PAGE_FINISH
!insertmacro: MUI_UNPAGE_WELCOME
!insertmacro: end of MUI_UNPAGE_WELCOME
!define: "MUI_UNCONFIRMPAGE_TEXT_LOCATION"="Please select the directory where Mightier is installed."
!insertmacro: MUI_UNPAGE_CONFIRM
!insertmacro: end of MUI_UNPAGE_CONFIRM
!insertmacro: MUI_UNPAGE_INSTFILES
!insertmacro: end of MUI_UNPAGE_INSTFILES
!insertmacro: MUI_UNPAGE_FINISH
!insertmacro: end of MUI_UNPAGE_FINISH
Section: "Separate Install" ->(SepInstall)
WriteUninstaller: "Uninstall.exe"
SectionEnd
Section: "Overwrite Install" ->(OverInstall)
WriteUninstaller: "Uninstall.exe"
SectionEnd
Function: "LeaveDirectory"
!insertmacro: _Switch
!insertmacro: end of _Switch
!insertmacro: _Case
!insertmacro: end of _Case
MessageBox: 0: "Directory does not exist!"
Abort: ""
!insertmacro: _Goto
!insertmacro: end of _Goto
!insertmacro: _Case
!insertmacro: end of _Case
MessageBox: 0: "There is not enough free space on the drive."
Abort: ""
!insertmacro: _Goto
!insertmacro: end of _Goto
!insertmacro: _EndSwitch
!insertmacro: end of _EndSwitch
FunctionEnd
Function: ".onInit"
StrCpy $1 "0" () ()
FunctionEnd
Function: ".onSelChange"
!insertmacro: StartRadioButtons
!define: "StartRadioButtons_Var"="$1"
Push: $R0
SectionGetFlags: $1->$R0
IntOp: $R0=$R0&0xFFFFFFFE
SectionSetFlags: $1->$R0
Push: $R1
StrCpy $R1 "$1" () ()
!insertmacro: end of StartRadioButtons
!insertmacro: RadioButton
SectionGetFlags: 0->$R0
IntOp: $R0=$R0&1
IntCmp $R0:1 equal=0, < +2, > +2
StrCpy $1 "0" () ()
!insertmacro: end of RadioButton
!insertmacro: RadioButton
SectionGetFlags: 1->$R0
IntOp: $R0=$R0&1
IntCmp $R0:1 equal=0, < +2, > +2
StrCpy $1 "1" () ()
!insertmacro: end of RadioButton
!insertmacro: EndRadioButtons
StrCmp "$R1" "$1" equal=0, nonequal=+4
SectionGetFlags: $1->$R0
IntOp: $R0=$R0|1
SectionSetFlags: $1->$R0
Pop: $R1
Pop: $R0
!undef: "StartRadioButtons_Var"
!insertmacro: end of EndRadioButtons
FunctionEnd

Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
warning: uninstall function "un.mui.FinishPage.GUIInit" not referenced - zeroing code (165-170) out

warning: install function "mui.FinishPage.GUIInit" not referenced - zeroing code (188-193) out

Processing pages... Done!
Removing unused resources... Done!
Generating language tables... warning: LangString "MUI_TEXT_WELCOME_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_COMPONENTS_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_COMPONENTS_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE" is not set in language table of language 1033
warning: LangString "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO" is not set in language table of language 1033
warning: LangString "MUI_TEXT_DIRECTORY_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_DIRECTORY_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_INSTALLING_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_INSTALLING_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_ABORT_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_ABORT_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_BUTTONTEXT_FINISH" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_INFO_REBOOT" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTNOW" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTLATER" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_INFO_TEXT" is not set in language table of language 1033
warning: LangString "MUI_TEXT_WELCOME_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_COMPONENTS_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_COMPONENTS_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE" is not set in language table of language 1033
warning: LangString "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO" is not set in language table of language 1033
warning: LangString "MUI_TEXT_DIRECTORY_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_DIRECTORY_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_INSTALLING_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_INSTALLING_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_ABORT_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_ABORT_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_BUTTONTEXT_FINISH" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_INFO_REBOOT" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTNOW" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTLATER" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_INFO_TEXT" is not set in language table of language 1033
warning: LangString "MUI_TEXT_WELCOME_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_COMPONENTS_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_COMPONENTS_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE" is not set in language table of language 1033
warning: LangString "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO" is not set in language table of language 1033
warning: LangString "MUI_TEXT_DIRECTORY_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_DIRECTORY_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_INSTALLING_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_INSTALLING_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_ABORT_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_ABORT_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_BUTTONTEXT_FINISH" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_INFO_REBOOT" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTNOW" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTLATER" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_INFO_TEXT" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_WELCOME_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_WELCOME_INFO_TEXT" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_CONFIRM_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_CONFIRM_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_UNINSTALLING_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_UNINSTALLING_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_ABORT_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_ABORT_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_BUTTONTEXT_FINISH" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_INFO_REBOOT" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTNOW" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTLATER" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_INFO_TEXT" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_WELCOME_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_WELCOME_INFO_TEXT" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_CONFIRM_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_CONFIRM_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_UNINSTALLING_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_UNINSTALLING_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_ABORT_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_ABORT_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_BUTTONTEXT_FINISH" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_INFO_REBOOT" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTNOW" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTLATER" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_INFO_TEXT" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_WELCOME_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_WELCOME_INFO_TEXT" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_CONFIRM_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_CONFIRM_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_UNINSTALLING_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_UNINSTALLING_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_ABORT_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_ABORT_SUBTITLE" is not set in language table of language 1033
warning: LangString "MUI_BUTTONTEXT_FINISH" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_INFO_TITLE" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_INFO_REBOOT" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTNOW" is not set in language table of language 1033
warning: LangString "MUI_TEXT_FINISH_REBOOTLATER" is not set in language table of language 1033
warning: LangString "MUI_UNTEXT_FINISH_INFO_TEXT" is not set in language table of language 1033
Done!
warning: Variable "mui.Header.Text" not referenced or never set, wasting memory!
warning: Variable "mui.Header.Text.Font" not referenced or never set, wasting memory!
warning: Variable "mui.Header.SubText" not referenced or never set, wasting memory!
warning: Variable "mui.Header.Background" not referenced or never set, wasting memory!
warning: Variable "mui.Header.Image" not referenced or never set, wasting memory!
warning: Variable "mui.Branding.Text" not referenced or never set, wasting memory!
warning: Variable "mui.Branding.Background" not referenced or never set, wasting memory!
warning: Variable "mui.Line.Standard" not referenced or never set, wasting memory!
warning: Variable "mui.Line.FullWindow" not referenced or never set, wasting memory!
warning: Variable "mui.Button.Next" not referenced or never set, wasting memory!
warning: Variable "mui.Button.Cancel" not referenced or never set, wasting memory!
warning: Variable "mui.Button.Back" not referenced or never set, wasting memory!
Generating uninstaller... Done!

Output: "F:\Sami\Games\Mightier\Even Mightier Installer\EvenMightier_v1.0Setup.exe"
Install: 6 pages (384 bytes), 2 sections (2096 bytes), 436 instructions (12208 bytes), 155 strings (2342 bytes), 1 language table (322 bytes).
Uninstall: 5 pages (320 bytes), 
0 sections (0 bytes), 374 instructions (10472 bytes), 129 strings (1728 bytes), 1 language table (282 bytes).
Datablock optimizer saved 21677 bytes (~19.8%).

Using zlib compression.

EXE header size:               50176 / 35840 bytes
Install code:                   3013 / 17704 bytes
Install data:                  12605 / 114468 bytes
Uninstall code+data:           24559 / 28918 bytes
CRC (0x425A3F9F):                  4 / 4 bytes

Total size:                    90357 / 196934 bytes (45.8%)

46 warnings:
  uninstall function "un.mui.FinishPage.GUIInit" not referenced - zeroing code (165-170) out

  install function "mui.FinishPage.GUIInit" not referenced - zeroing code (188-193) out

  LangString "MUI_TEXT_WELCOME_INFO_TITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_COMPONENTS_TITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_COMPONENTS_SUBTITLE" is not set in language table of language 1033
  LangString "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE" is not set in language table of language 1033
  LangString "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO" is not set in language table of language 1033
  LangString "MUI_TEXT_DIRECTORY_TITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_DIRECTORY_SUBTITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_INSTALLING_TITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_INSTALLING_SUBTITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_FINISH_TITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_FINISH_SUBTITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_ABORT_TITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_ABORT_SUBTITLE" is not set in language table of language 1033
  LangString "MUI_BUTTONTEXT_FINISH" is not set in language table of language 1033
  LangString "MUI_TEXT_FINISH_INFO_TITLE" is not set in language table of language 1033
  LangString "MUI_TEXT_FINISH_INFO_REBOOT" is not set in language table of language 1033
  LangString "MUI_TEXT_FINISH_REBOOTNOW" is not set in language table of language 1033
  LangString "MUI_TEXT_FINISH_REBOOTLATER" is not set in language table of language 1033
  LangString "MUI_TEXT_FINISH_INFO_TEXT" is not set in language table of language 1033
  LangString "MUI_UNTEXT_WELCOME_INFO_TITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_WELCOME_INFO_TEXT" is not set in language table of language 1033
  LangString "MUI_UNTEXT_CONFIRM_TITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_CONFIRM_SUBTITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_UNINSTALLING_TITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_UNINSTALLING_SUBTITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_FINISH_TITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_FINISH_SUBTITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_ABORT_TITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_ABORT_SUBTITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_FINISH_INFO_TITLE" is not set in language table of language 1033
  LangString "MUI_UNTEXT_FINISH_INFO_REBOOT" is not set in language table of language 1033
  LangString "MUI_UNTEXT_FINISH_INFO_TEXT" is not set in language table of language 1033
  Variable "mui.Header.Text" not referenced or never set, wasting memory!
  Variable "mui.Header.Text.Font" not referenced or never set, wasting memory!
  Variable "mui.Header.SubText" not referenced or never set, wasting memory!
  Variable "mui.Header.Background" not referenced or never set, wasting memory!
  Variable "mui.Header.Image" not referenced or never set, wasting memory!
  Variable "mui.Branding.Text" not referenced or never set, wasting memory!
  Variable "mui.Branding.Background" not referenced or never set, wasting memory!
  Variable "mui.Line.Standard" not referenced or never set, wasting memory!
  Variable "mui.Line.FullWindow" not referenced or never set, wasting memory!
  Variable "mui.Button.Next" not referenced or never set, wasting memory!
  Variable "mui.Button.Cancel" not referenced or never set, wasting memory!
  Variable "mui.Button.Back" not referenced or never set, wasting memory!

此外,欢迎页面或完成页面的左侧没有显示图像,但我怀疑它已连接到上述警告。 基本上,我想知道问题是什么以及我应该如何解决它。如果有人需要我的.nsi文件的代码请说出来,我会将其添加到问题中。

我正在运行Windows 7 Home Premium(如果有帮助)并使用最新版本的NSIS(2.46)。

1 个答案:

答案 0 :(得分:10)

好吧,我仔细看了一个例子,看到我没有在我的代码中插入MUI_LANGUAGE宏,我不知道这是不是必需的。它修复了警告和消失的欢迎/完成图像。 在我看来,这是必要的,但这就是它的方式。希望这可以帮助任何有同样问题的人。