IFilesComponent
The interface is desgined to get files from a project or to add new ones.
Declaration
IFileComponent : IDispatch
Properties
Array<IFile> Files - Gets all the simple files from the project in an array.
Methods
AddFile(IFolder target, String source) - Adds a new file in the project and returns the file as an object. IFolder target is the directory in which the new file is added. The source as a string is the disk location from which the file is added.
AddFileS(String target, String source) - Adds a new file in the project and returns the file as an object. Target as a string is the folder in Advanced Installer where the file is added. The source as a string is the disk location from which the file is added.
FindFileByPath(String filePath) - Searches for the file in AdvancedInstaller at the specified internal filePath. In case the file is found, an IFile object is returned; otherwise, a null reference is provided.
FindFileBySourcePath(String sourcePath) - Searches for the file in AdvancedInstaller that has the specified sourcePath. In case the file is found an IFile object is returned, otherwise a null reference is provided.
AddFolderContent(IFolder target, String sourcePath) - Adds all the files from the specified sourcePath folder in the target folder.
AddFolderContentS(String target, String sourcePath) - Adds all the files from the specified sourcePath folder in target specified as a string.
Topics
- IFile
File interface