tkw829
15th October 2003 16:17 UTC
Super Newbie - Custom images
I have been trying to find out how to correctly display custom images within the installer for the bitmap that appears at the welcome and finish pages. I have been unsuccessful in finding it in the documentation, Please help!
Afrow UK
15th October 2003 16:22 UTC
To display bitmaps on a custom page, use Type=Bitmap in the InstallOptions ini file.
-Stu
tkw829
15th October 2003 19:29 UTC
Thank you!
myne
25th October 2003 06:00 UTC
This is part of a script I've made
;the installer icon
!define MUI_ICON "${DCinstallertemppath}\DC.ico"
; #####################################
;uninstaller icon
!define MUI_UNICON "${DCinstallertemppath}\UninstallDC.ico"
; #####################################
;The Image on the side of the welcome and finish pages
!define MUI_SPECIALBITMAP "${DCinstallertemppath}\DCSideimage.bmp"
; #####################################
;The image in the top left of the licence etc pages
!define MUI_HEADERBITMAP "${DCinstallertemppath}\DClogo.bmp"
; #####################################
;The License text
!define LicenseText "${DCinstallertemppath}\license.txt"
; #####################################
;The text displayed on the 1st page of the installer
!define WelcomeText "This will guide you through the installation of Desert Combat.\r\n\r\nIt is recommended that you close all other applications before starting Setup. This will allow Setup to update certain system files without rebooting your computer.\r\n\r\nDesert Combat REQUIRES Battlefield 1942 1.45 or greater.\r\n\r\nPlease install into the root of your Battlefield 1942 folder\r\n\r\n"
;-----
;Pages
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "${LicenseText}"
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
;------------------------------------------------------------------------------------
;-----
;Languages
!insertmacro MUI_LANGUAGE "English"
LangString MUI_TEXT_WELCOME_INFO_TEXT ${LANG_English} "${WelcomeText}" ; <-- That is part of the line above
;------------------------------------------------------------------------------------
With this I have changed the bitmaps and the welcome page text. The compiler will record a warning about the MUI_TEXT_WELCOME_INFO_TEXT
but because it comes AFTER the language setting it will work fine.
Hopefully this helps a little
Joost Verburg
25th October 2003 14:56 UTC
This is not the right way to customize strings. Please see the Modern UI Readme.
I also recommend you to use the latest development version.