jrsoftware.org // Jordan Russell's Software


-Inno Setup







visitors since
Jan. 1998

Inno Setup Knowledge Base
Return to index

PRB: "MoveFile failed; code 82. The directory or file cannot be created."

Article Created: 2006-10-31 18:56 GMT by Jordan Russell
Last Updated: 2006-10-31 18:56 GMT by Jordan Russell

This error message may be seen when installing many thousands of files into a single directory on a FAT32 partition.

On FAT32 partitions, directories are limited to 65,536 entries. Each file, however, can take up several entries. One entry is needed for the file's short (8.3) name, plus one for every 13 characters in the long name. For example, a file named "FileWithALongName.txt" would need three entries: one for "FILEWI~1.TXT", one for "FileWithALong", and one for "Name.txt".

There is nothing Inno Setup can do to work around this operating system limitation. If you have thousands of files and wish to support FAT32 partitions, you must spread your files across multiple directories.

Site contents Copyright © 1997-2020 Jordan Russell. All rights reserved.
Portions Copyright © 2000-2020 Martijn Laan. All rights reserved.