1
; See http://nsis.sourceforge.net/Check_if_a_file_exists_at_compile_time for documentation
2
!macro !ifexist _FILE_NAME
4
!system `if exist "${_FILE_NAME}" echo !define _FILE_EXISTS > "${_TEMPFILE}"`
5
!include `${_TEMPFILE}`
6
!delfile `${_TEMPFILE}`
11
!define !ifexist "!insertmacro !ifexist"
12
!macro !ifnexist _FILE_NAME
14
!system `if not exist "${_FILE_NAME}" echo !define _FILE_EXISTS > "${_TEMPFILE}"`
15
!include `${_TEMPFILE}`
16
!delfile `${_TEMPFILE}`
21
!define !ifnexist "!insertmacro !ifnexist"
1
; See http://nsis.sourceforge.net/Check_if_a_file_exists_at_compile_time for documentation
2
!macro !ifexist _FILE_NAME
4
!system `if exist "${_FILE_NAME}" echo !define _FILE_EXISTS > "${_TEMPFILE}"`
5
!include `${_TEMPFILE}`
6
!delfile `${_TEMPFILE}`
11
!define !ifexist "!insertmacro !ifexist"
12
!macro !ifnexist _FILE_NAME
14
!system `if not exist "${_FILE_NAME}" echo !define _FILE_EXISTS > "${_TEMPFILE}"`
15
!include `${_TEMPFILE}`
16
!delfile `${_TEMPFILE}`
21
!define !ifnexist "!insertmacro !ifnexist"