WizardImageFile在Inno Setup 5.5.8中不起作用

Mav*_*ick 6 installation inno-setup image setup-project

我安装了最新版本的Inno Setup v5.5.8(a),现在我无法WizardImageFile在安装向导中查看位图文件.它在以前的版本中运行得很好.我做错了什么或它的错误?这是我在Inno Setup向导的帮助下创建的脚本示例.

当然,它setup_inno.bmpsetup_inno_small.bmpiss脚本文件位于同一个文件夹中.小图像工作得很好,setup_inno.bmp是24位色深(Windows格式),宽度和高度为164X314像素.

有什么建议?

问候,

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "My Program"
#define MyAppVersion "1.5"
#define MyAppPublisher "My Company, Inc."
#define MyAppURL "http://www.example.com/"
#define MyAppExeName "MyProg.exe"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)

AppId={{EF909D9F-7C2F-46E8-9BBF-C65D3323A436}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableProgramGroupPage=yes
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes
WizardImageFile=setup_inno.bmp
WizardSmallImageFile=setup_inno_small.bmp
WindowStartMaximized=yes
WindowShowCaption=no
WindowVisible=yes
BackColor=$000000
BackColor2=$FFFFFF


[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "C:\Program Files (x86)\Inno Setup 5\Examples\MyProg.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
Run Code Online (Sandbox Code Playgroud)

Mar*_*ryl 11

您是否知道自Inno Setup 5.5.7以来默认跳过欢迎页面?

根据Microsoft的桌面应用程序指南的建议,DisableWelcomePage现在默认为yes....以前所有版本的默认值都是no.

因此,您实际上只能看到WizardImageFile最后一个(完成)页面,而不是之前的第一个(欢迎)页面.