models/file_entry library

A class that represents a file entry for use in Inno Setup.

The FileEntry class encapsulates the path to the file, an optional name, a flag indicating if the file is required, and the source of the file (either the project or the system32 directory).

Example usage:

var fileEntry = FileEntry(
  path: "mydll.dll",
  required: true,
  source: FileSource.project,
);

print(fileEntry.path); // Outputs: mydll.dll
print(fileEntry.name); // Outputs: mydll.dll
print(fileEntry.required); // Outputs: true
print(fileEntry.source); // Outputs: FileSource.project

Properties:

  • path: The path to the file.
  • name: The name for the file. Defaults to the basename of the path.
  • required: A flag indicating if the file is required. Defaults to true.
  • source: An enum indicating the source of the file. Defaults to FileSource.project.
  • destination: The destination directory for the file.

Classes

FileEntry

Enums

FileSource
Enum representing the source of the extra files to be included with the app bundle.