WizardImageFile not working in Inno Setup 5.5.8

I installed the latest version of Inno Setup v5.5.8 (a) and now I cannot view the WizardImageFile raster file in my setup wizard. In the previous version, it worked perfectly. Am I doing something wrong or is his mistake? Here is an example script that I created using the Inno setup wizard.

Of course, setup_inno.bmp and setup_inno_small.bmp are in the same folder as the iss script file. A small image works great, and setup_inno.bmp 24-bit color depth (Windows format) with a width and height of 164X314 pixels.

Any recommendation?

Hello,

 ; 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 
+5
source share
2 answers

Did you know that the default welcome page is skipped with Inno Setup 5.5.7 ?

As recommended by the Microsoft guide for desktop applications, DisableWelcomePage now defaults to yes .... By default, all previous versions were no .

Thus, you can see the WizardImageFile only on the last page (Finish), and not on the first (Welcome) page, as before.

+9
source

I found this answer . It states:

WizardImageFile displayed on the Welcome and Done pages. However, the welcome page is now skipped by default (see DisableWelcomePage ), so it will usually only be visible on the Finish page. (This is enabled by default, but it is possible that you have disabled it too - see DisableFinishedPage .)

WizardSmallImageFile displayed on all other pages.

This explains why I do not see the image. Wonder on the Welcome page is disabled by default?

I found this , which reads:

Do not use the welcome pages - make the first page functional whenever possible. Use the optional Getting Started page only if:

  • The wizard has the prerequisites necessary for the successful completion of the wizard.
  • Users may not understand the purpose of the wizard based on its first selection page, and there is no room for further explanation.
  • The basic instruction for the Getting Started pages is Before You Start.
+2
source

Source: https://habr.com/ru/post/1241051/


All Articles