WizardImageFile在Inno Setup中无效5.5.8

问题描述:

我安装了最新版本的Inno Setup v5.5.8(a),现在我无法在安装向导中查看WizardImageFile位图文件。它在以前的版本中工作得很好。我做错了什么或它的错误?这里有一个我自己创建的Inno Setup向导帮助创建的脚本示例。WizardImageFile在Inno Setup中无效5.5.8

当然,setup_inno.bmpsetup_inno_small.bmp与iss脚本文件位于相同的文件夹中。小图像工作得很好,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 

您是否知道在欢迎页面默认情况下,因为Inno Setup 5.5.7跳过?

按照微软桌面应用程序指南的建议,DisableWelcomePage现在默认为yes。 ...以前版本的默认值为no

因此,您只能在最后一页(完成)页面上看到WizardImageFile,而不是以前的第一页(欢迎页面)。

+0

Thanx,你是最好的:-) – Maverick