
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5212 212acab6-be3b-0410-9dea-997c60f758d6
32 lines
566 B
NSIS
32 lines
566 B
NSIS
!include LogicLib.nsh
|
|
!include WinMessages.nsh
|
|
|
|
Name "nsDialogs IO"
|
|
OutFile "nsDialogs IO.exe"
|
|
|
|
Page custom nsDialogsIO
|
|
Page instfiles
|
|
|
|
XPStyle on
|
|
|
|
ShowInstDetails show
|
|
|
|
!include nsDialogs.nsh
|
|
|
|
Function nsDialogsIO
|
|
|
|
InitPluginsDir
|
|
File /oname=$PLUGINSDIR\io.ini "${NSISDIR}\Examples\InstallOptions\test.ini"
|
|
|
|
${If} ${Cmd} `MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Test the right-to-left version?" IDYES`
|
|
WriteINIStr $PLUGINSDIR\io.ini Settings RTL 1
|
|
${EndIf}
|
|
|
|
StrCpy $0 $PLUGINSDIR\io.ini
|
|
|
|
Call CreateDialogFromINI
|
|
|
|
FunctionEnd
|
|
|
|
Section
|
|
SectionEnd
|