Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 5th September 2012, 20:52   #1
Snap E Tom
Junior Member
 
Join Date: Sep 2012
Posts: 2
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
Snap E Tom is offline   Reply With Quote
Old 5th September 2012, 21:31   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
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

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 10th September 2012, 19:15   #3
Snap E Tom
Junior Member
 
Join Date: Sep 2012
Posts: 2
Figured out the issue. Turns out I had a bad install of unicode nsis. A reinstall worked.
Snap E Tom is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump