Reference/CreateDirectory
From NSIS Wiki
Jump to navigationJump to search
CreateDirectory
path_to_create
Creates (recursively if necessary) the specified directory. The error flag is set if the directory couldn't be created.
You should always specify an absolute path.
CreateDirectory $INSTDIR\some\directory