extraction on quit ???
i've got another problem. the following script (stripped down) creates C:\temp\test.txt (0 byte file) when it's not supposed to (prerequisite check failed)
note #1: the file is not actually 0 bytes, the one i'm testing with is 21 bytes!
note #2: it only happens after pressing the 'ok' button on the error message
note #3: it only happens with the finish page reference present
i'm using nsis v2.25
;--------------------------------
test.exe"
;Modern interface settings
!include "MUI.nsh"
>;--------------------------------
; General
Name 'test'
InstallDir "C:\temp\"
OutFile "
;--------------------------------
; Pages
!insertmacro MUI_PAGE_DIRECTORY
!define MUI_PAGE_CUSTOMFUNCTION_SHOW 'InstFunc_CheckPreReq'
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
;--------------------------------
; Languages
!insertmacro MUI_LANGUAGE "English"
;--------------------------------
; Installation
Section 'Installation'
SetOutPath $INSTDIR
File test.txt
SectionEnd
;--------------------------------
; Installer/Uninstaller Functions
Function InstFunc_CheckPreReq
IfFileExists $INSTDIR\test_2.txt +3 0
MessageBox MB_OK|MB_ICONSTOP "Error: Prerequisite check failed! You must install ' test_2.txt ' first!"
Quit
FunctionEnd
>