Archive: MUI_FINISHPAGE_NOAUTOCLOSE Problem?


MUI_FINISHPAGE_NOAUTOCLOSE Problem?
Hi, I am trying to pause the install page to debug why a shortcut is not created on the desktop. Here's my script:

; Script generated by the HM NIS Edit Script Wizard.

; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "MYPROD"
!define PRODUCT_VERSION "1.0.0"
!define PRODUCT_PUBLISHER "MYCOMP"
!define PRODUCT_WEB_SITE "MYWEBSITE"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"

SetCompressor /SOLID lzma

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

; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "MYICON.ICO"
!define MUI_UNICON "MYICON.ICO"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "MYBMP.BMP"
!define MUI_HEADERIMAGE_UNBITMAP "MYBMP.BMP"
!define MUI_WELCOMEFINISHPAGE_BITMAP "MYBMP.BMP"
!define MUI_FINISHPAGE_NOAUTOCLOSE

; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "TEULA.txt"
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
!insertmacro MUI_PAGE_FINISH

; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES

; Language files
!insertmacro MUI_LANGUAGE "English"

; MUI end ------

Why is it that I cannot pause the install page and inspect the log file.? Thanks in advance.


Problem solved. There was a unintended section below.