Format of the Bootstrap and Setup1 Files Sections

The Bootstrap Files and Setup1 Files sections of the Setup.lst file contain a complete list of the files that the setup programs (setup.exe and setup1.exe) need to install on the user's computer. Each file is listed individually, on its own line, and must use the following format:

Filex= file,install,path,register,shared,date,size[,version]

Part Meaning
Filex A keyword that must appear at the beginning of each line. X is a sequence number, starting at 1 in each section and moving in ascending order. You cannot skip values.
File The name of the file as it will appear after installation on the user's computer. This is usually the same as the Install argument. If you want this file to be extracted from a cab, place an @ at the beginning of the name (for example, @my.exe).
Install The name of the file as it appears on any distribution media.
Path The directory to which the file should be installed. Either an actual directory path, a macro indicating a user-specified path, or a combination of the two. See "Path Argument Macros in Setup.lst Files" later in this chapter for more information on the available macros.
Register A key that indicates how the file is to be included in the user's system registry. See "Registry Keys in Setup.lst Files" later in this chapter for more information.
Shared Specifies that the file should be installed as shared.
Date The last date on which the file was modified, as it would appear in Windows Explorer. This information helps you to verify that you have the correct versions of the files on the setup disks.
Size The file size as it would appear in Windows Explorer. The setup program uses this information to calculate how much disk space your application requires on the user's machine.
Version An optional internal version number of the file. Note that this is not necessarily the same number as the display version number you see by checking the file's properties.