Command Reference

General

The General tab contains information about the file, and is used to control the install destination.

File Information

Name:

The name of the file. This field is read-only and is strictly for informational purposes.

Local Source:

The location of the file on your development system. This field is editable in case you move your files after adding them to the project.

Runtime Source:

The location of the file during the install, i.e. where the setup executable can find the file at run time.

If the selected file is on the Archive tab, this option is not editable and will always be "Archive". If the selected file is on the CD-ROM tab, you must specify the run-time location of the file. Remember that the CD-ROM's drive letter is represented by %SrcDrv% at design time, so to if the file will be in the root of the CD-ROM, specify "%SrcDrv%".

Date/Time:

The date and time stamp of the file. This field is read-only and is strictly for informational purposes.

Product Version:

The "product version" of the file according to the file’s resources.

Note: Generally only executables, DLLs, OCXs, and similar files contain version resource information. This field is read-only and is strictly for informational purposes.

File Version:

The "file version" of the file according to the file’s resources.

Note: Generally only executables, DLLs, OCXs, and similar files contain version resource information. This field is read-only and is strictly for informational purposes.

Size:

The size of the file in bytes. This field is read-only and is strictly for informational purposes.

Attributes:

The file's attributes. Possible attributes are Read only, Hidden, System and Archive. This field is read-only and is strictly for informational purposes.

By default, Setup Factory will maintain the file attributes when they are installed. If you need to change the installed attributes of a file, you can do so from the Advanced tab.

Destination

Install file to this location:

The directory that you want the file to be installed to on the user’s system. You can use any path-related built-in variable here by itself or in combination with a hardcoded path that you specify.

NOTE: Setup Factory will insert the correct directory here by default when you add the files to the project. Generally, you will not need to change the Install file to this location setting.

If file already exists:

The action that will be taken if a file with the same name already exists in the location we want to install to. The relative newness of the file is determined by the version resource information built into the file. If the file does not contain version information, the file's date and time will be used as the criteria. The options are:

Note: It is generally not a good idea to select "Always overwrite existing file" unless you are sure that is what you need to do. Also, do not select "Ask the user" unless you are sure that they have the knowledge to make such a decision. "Overwrite if existing file is same or older" is generally the safest and most conventional option for this situation.

Action

Description

Overwrite if existing file is same or older (Default)

If the file being installed is newer than or the same as the existing file, then overwrite the existing file.

Overwrite if existing file is older

If the file being installed is newer than the existing file, then overwrite the existing file.

Always overwrite existing file

The file being installed will always overwrite an existing file with the same name.

Never overwrite existing file

The file being installed will never overwrite an existing file with the same name.

Ask the user

The user will be asked whether or not the existing file should be overwritten.

 

See Also: Built-in Variables