sorry, for too few information.i have cloned the git project.develop on it.and call "php.exe -f manage.php deploy installfolder" form commandlineafter this script the installfolder has setup and .git directories in it, although they should be excluded.the problem was backslashes on windows, in the pattern. e.g. fnmatch("C:\wwwroot\osticket\setup", "C:\wwwroot\osticket\setup") returns false, because of "\" in the pattern.i opened an issue for it:https://github.com/osTicket/osTicket-1.8/issues/2032