Use relative paths in .nsi script examples (#3293899)

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6150 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
f0rt 2011-05-02 19:14:03 +00:00
parent fbbbe1c31a
commit 1730185509
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
!ifndef SysFunc.NSH.Included
!define SysFunc.NSH.Included
!include "${NSISDIR}\Examples\System\System.nsh"
!include "System.nsh"
!verbose 3 ; For WinMessages especially
!include "WinMessages.nsh"

View file

@ -17,7 +17,7 @@ ShowInstDetails show
Function nsDialogsIO
InitPluginsDir
File /oname=$PLUGINSDIR\io.ini "${NSISDIR}\Examples\InstallOptions\test.ini"
File /oname=$PLUGINSDIR\io.ini "..\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