2016-01-20 46 views
4

我安裝了最新版本的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 

回答

9

您是否知道在歡迎頁面默認情況下,因爲Inno Setup 5.5.7跳過?

按照微軟桌面應用程序指南的建議,DisableWelcomePage現在默認爲yes。 ...以前版本的默認值爲no

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

+0

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