Archive: Finish Page Nsis2Io Error


Finish Page Nsis2Io Error
  I have an installer that works correctly so far, I had previously commented out the !insertmacro MUI_PAGE_FINISH line and now want to reactivate it.

My problem is after I reactivate it I get the error.....

Error : resolving install function "Nsis2Io" in function "mui.FinishPre_686.5.9"


Anyone any ideas where I am going wrong?

Try switching to MUI2.nsh.

Stu


Thanks, that worked fine, once I had changed my macro commands to be compatible with MUI2.

The Finish page now works, but it is blank, any ideas? Not only it the page itself blank, the buttons at the bottom have no text


Upon further reading, I am assuming this is to do with the placement of !insertmacro MUI_LANGUAGE "English"

I have experimented with a few different positions but they have all resulted in the finish page being blank, here is the top section of my installer.....

; NSIS e-Science Installer Script V1.0


>; HM NIS Edit Wizard helper defines
>!define PRODUCT_NAME "My Installer"
>!define PRODUCT_VERSION "1.0"
>!define PRODUCT_PUBLISHER "My Company"
>!define PRODUCT_WEB_SITE "http://www.mysite.com"
>!define APP_INST_DIR $8

>; MUI 1.67 compatible ------
!include "MUI2.nsh"

>; LogicLib needed to use IF statements
>!include LogicLib.nsh
>!include InstallOptions.nsh


>; MUI Settings
>!define MUI_ABORTWARNING
>!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\myicon.ico"
>!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
>!define MUI_HEADERIMAGE
>!define MUI_HEADERIMAGE_RIGHT
>!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\myheader.bmp"
>!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\myheader.bmp"
>!insertmacro MUI_LANGUAGE "English"
>!define MUI_FINISHPAGE_TITLE 'My Installer Has Completed'
>!define MUI_FINISHPAGE_TEXT 'When you close this installer, a text file will open giving you further information. Please read this file carefully'
>!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme.txt"

Solved it!

I moved the !insertmacro MUI_LANGUAGE "English" right down after all of my functions and it has worked!

Thanks for the help


The MUI readme states you have to use MUI_LANGUAGE after all the MUI_PAGE macros.

Stu