!include "XPUI.nsh"
Name "InstallOptions"
OutFile "InstallOptions.exe"
!define XPUI_ABORTWARNING
Page custom CustomPageA
!insertmacro XPUI_PAGE_INSTFILES
!insertmacro XPUI_LANGUAGE "English"
ReserveFile "welcome.ini"
ReserveFile "..\support\heading_welcome.bmp"
!insertmacro XPUI_RESERVEFILE_INSTALLOPTIONS
Section "Dummy Section" SecDummy
SectionEnd
Function .onInit
!insertmacro XPUI_INSTALLOPTIONS_EXTRACT "welcome.ini"
File "/oname=$PLUGINSDIR\image.bmp" "..\support\heading_welcome.bmp"
FunctionEnd
Function CustomPageA
!insertmacro XPUI_HEADER_TEXT "" ""
!insertmacro XPUI_INSTALLOPTIONS_WRITE "welcome.ini" "Field 1" "Text" "$PLUGINSDIR\image.bmp"
!insertmacro XPUI_INSTALLOPTIONS_WRITE "welcome.ini" "Field 2" "Text" "asdf asdf"
!insertmacro XPUI_INSTALLOPTIONS_DISPLAY "welcome.ini"
FunctionEnd Any ideas? Thanks!And please ignore missing backslashes in the pathnames... for some reason they don't show up in the forum.