Archive: PAGEWELCOME Blank When Built on XP


PAGEWELCOME Blank When Built on XP
Hi, all. I seem to have a strange problem. I'm using Jim Park's Unicode NSIS. When I do a build from a WinXP box, the resulting installer has a blank screen. The header is there and so is the next button, but everything in-between is completely white.

What's weird is that this only happens when it's built on XP. I built this using the same exact files on Windows 7, and the Welcome screen is appearing correctly.

I seem to have read something about this once, but I can't find it. Any idea what this could be?

I should also add that all my language and include files, as well as my .nsi file, have been converted to UTF-16 LE.

- installer.nsi -

(A bunch of !defines before this to define variables used later)

;========================================
; NSIS includes and plugins
;========================================

; System functions of the Modern UI
!include "${NSISDIR}\Contrib\Modern UI\System.nsh"
; Logic Lib (handles if, else, ... constructions)
!include LogicLib.nsh
; Include the Modern UI
!include "MUI.nsh"
; Include support for Sections
!include "Sections.nsh"

;========================================
; Custom includes
;========================================

; Pages for the Installer and Uninstaller
!include "inc\Pages.nsh"

; General settings (Outfile, language, installdir, ...)
!include "inc\GeneralSettings.nsh"

; Functions for the Installer
!include "inc\InstallerFunctions.nsh"

; Include the function to handle the custom install options page (io_install.ini)
!include "inc\CustomInstallOptions.nsh"

; Functions for the Uninstaller
!include "inc\UninstallerFunctions.nsh"

; Functions for Operating System, .NET, Internet Explorer, Windows Installer, Admin rights
!include "inc\Prerequisites.nsh"

; The sections for the Installer
!include "inc\InstallerSections.nsh"

; The sections for the Uninstaller
!include "inc\UninstallerSections.nsh"



- Pages.nsh -
;Welcome page for install
!define MUI_PAGE_CUSTOMFUNCTION_PRE SkipForUpgrade
!define MUI_WELCOMEPAGE_TITLE "$(INSTALL_WELCOME_TITLE)"
!define MUI_WELCOMEPAGE_TEXT "$(INSTALL_WELCOME_TEXT)"
!insertmacro MUI_PAGE_WELCOME

;Welcome page for upgrade
!define MUI_PAGE_CUSTOMFUNCTION_PRE SkipForInstall
!define MUI_WELCOMEPAGE_TITLE "$(UPGRADE_WELCOME_TITLE)"
!define MUI_WELCOMEPAGE_TEXT "$(UPGRADE_WELCOME_TEXT)"
!insertmacro MUI_PAGE_WELCOME


Do you have !insertmacro MUI_LANGUAGE English in your script (after the page macros)?

Also are you using InstallOptions for any custom pages? If not, switch to MUI2.nsh.

Stu


Figured out the issue. Turns out I had a bad install of unicode nsis. A reinstall worked.