Base Directories

When files are added to a Setup Factory project, Setup Factory tries to set a "best guess" value for the destination folder of each file. It does this by comparing the file's path to the base directory for the tab the files were added to.

The base directory is the path to a folder on your system that represents the application directory (%AppDir%) on the user's system. There is one base directory for the Archive tab, and another base directory for the CD-ROM tab. When you add files to your project, Setup Factory uses the appropriate base directory setting to determine where the files should be installed at run time.

When you add a file, any part of the file's source path that matches the base directory is essentially replaced by "%AppDir%" in the destination path for the file.

For example, if you add C:\Products\Foo\Data\settings.ini to your project, and the base directory is C:\Products\Foo, the file's destination path will automatically be set to %AppDir%\Data\settings.ini.

 

See Also: How the Base Directory is Converted to %AppDir%