Skip to content
⌘ NSIS Forum Archive

check if dir exists

5 posts

mattia83#
i included
!include "FileFunc.nsh"

and i check the dir in this way:

Section "main" SEC01
...
${DirState} "C:\Documents and Settings" $R0
...
SectionEnd
but i get this error:
Invalid command: ${DirState}

why? thx
xirisone#
add this to your code below the include statement:

!insertmacro DirState

This 'announces' the marco you want to use.

xiris