Command Reference

Advanced

The Advanced tab is used to configure several advanced file options.

Settings

Compress file

If checked, the file will be compressed when it's added to the setup executable. If unchecked, the file will not be compressed when it's added.

Turning off compression will decrease the time it takes to install the file, but will result in a larger setup. You may want to turn the compression off if you are distributing your setup on CD-ROM or over a Network where the size is not restricted or if the file is already compressed and you know that you will not be able to get much more compression out of it.

If your installer is being distributed on a very slow medium, such as floppy disks or Zip disks, it may actually be faster to leave compression on, because reading the extra data saved by compression would take more time (especially on floppies) than it does to decompress it.

Suppress "in-use" notice

If checked, a warning will not be displayed if the file is in use during installation and needs to be overwritten. Instead, the warning message will be suppressed and the install will automatically set the %DoReboot% variable to TRUE.

If unchecked, a message will appear to warn the user if the file is in use and will ask them to shut down any running programs.

Protect

If checked, the file will be extracted to a temporary location, and then copied to its final destination. This feature helps prevent the file from being corrupted if the install is aborted or if the user's system crashes midway through installing the file.

Note that this feature adds extra time to your installation, and will also increase the amount of temporary disk space required on the user's system during the installation. You should only use this feature for mission critical files, such as system files.

Create Backup

If checked, the existing file (if present) will be backed up before being overwritten during the installation. The existing file will be renamed to filename.bak. If filename.bak already exists, it will be named filename.bk1, or filename.bk2, etc. The new file will only be installed after the existing one has been backed up.

Disable CRC Check

AVAILABLE FOR FILES ON THE CD-ROM TAB ONLY. If checked, the usual CRC value integrity check will not be performed on the file during installation. In general, you should not turn this option on. The CRC checking that is performed during setup is meant to ensure that your files are properly and completely installed and are not corrupted.

The only reason to turn this option on is if the file that you are installing will change from CD-ROM to CD-ROM and you do not want to re-build the setup each time the file changes. An example of such a file would be a customized data file that changes for each of your customers.

Install-Time Attributes

This section allows you to specify the attributes of the file when it is installed on the user’s system. By default, the Use Original option will be selected. This will ensure that the file's attributes will be the same on the user’s system as on yours.

Note: Changing the file attributes in this section does not affect the file on your development system. The attributes are only applied to the file when it's installed.

Use Original

If checked, the attributes of the source file will be preserved when the file is installed. If unchecked, you must specify the attributes for the installed file.

Read-only

If checked, the file will have the read-only file attribute set when installed.

Archive

If checked, the file will have the archive file attribute set when installed.

Hidden

If checked, the file will have the hidden file attribute set when installed.

System

If checked, the file will have the system file attribute set when installed.

Uninstall

Never Remove

If checked, the file will not be removed during the uninstall process.

Shared/System file

If checked, a usage count will be kept for the file during installation and uninstallation. This feature should only be used for files that are shared by multiple programs, such as system files.

Font

Register as TrueType font

If checked, Setup Factory will attempt to automatically register and implement this file as a TrueType font during installation. This means that the font will be registered with the operating system and will be made available to the user. In order for this to work, the file must be a valid Windows .TTF file.

Font name

The name that will be entered in the registry for the TrueType font. You can click the Auto-Name button beside this field to automatically scan the file and try to determine its embedded name. If the Auto-Name returns "Unknown" then the file is most likely not a valid Windows .TTF file.

OLE/ActiveX

DLLRegisterServer

If checked, the setup program will try to register the file. This will work for controls that properly support the DLLRegisterServer interface. This option should properly register ActiveX controls (OCX) and other OLE inproc servers.

You can use the button to the right of this checkbox to test the current file and see whether it supports DLLRegisterServer.

Register TypeLib

If checked, the setup program will try to register the TypeLib file.