Woran kann das liegen?
Was steht in $drive?
Und:
Zitat von AutoIt-HilfeThe destination path of the file with trailing backslash if only the directory is used.
sowie:
Zitat von AutoIt-HilfeThe destination directory path must already exist before this function is called, or the FileInstall will fail, returning 0 and not creating the file, nor path. See DirCreate() for information about creating the directory path.