Fixed install createFolder bug.