Introduction 'Initial Setup' Page 'Setup' Page 'Dir' Page 'Files' Page 'Icons' Page 'INI' Page 'Registry' Page 'Run' Page 'Delete' Page 'Finish' Page 'Listing' Page 'Options' Page Reusing Scripts

ScriptMaker Tutorial

The [Span/Add. Files] Page



Spanning

Normally Inno Setup will produce a single EXE file, regardless of the size of the finished file. By using the [Span/Add.Files] page you can get Setup to split the installation into several files which will fit on specified media.

Spanning options

Select Disk Spanning to enable the splitting of the installation files. From the Disk size list select either 1.44MB, 720KB or Custom disks. If necessary, put the disk cluster size (in bytes) in the Cluster size fields. The normal cluster size for floppy disks is 512, so this will rarely need changing. If you choose Custom you will be asked to enter your custom size. This can be entered in bytes, or, by adding K or M at the end, in kilobytes or megabytes. Note that Inno Setup will not accept sizes smaller than 256K (262,144 bytes).

You can reserve space on the first disk by typing the number of bytes required in the Reserve bytes field. Again, this will rarely be needed, but is useful if you need to include files on the first disk which do not form part of your setup.

The Use Setup Loader option, when checked, causes the setup data to be compiled into a single file called SETUP.EXE (which can be renamed if you wish). If this option is not selected, the setup is compiled into three files called SETUP.EXE, SETUP.0 and SETUP.1. The only reason you might want to do this is for debugging purposes.

Files to Add after Setup Creation

This section is really unrelated to Inno Setup. It gives you the option of copying selected files to the output folder after Inno Setup has created the installation files. This can be useful where you want to "bundle" other files with the setup, but not include them in the setup itself (for example, a text file which explains how to use the installation file).

Select the required files in the usual way, either by typing the filename in the field or by using the "browse" button at the right of the field. Click the Add button to add the file to the file list.

If you are using Spanning for the setup you can reserve space for these extra files on the first disk by checking the Reserve Space on First Disk checkbox. The amount of space reserved will be shown below the checkbox. Alternatively you can check the Copy files to last disk checkbox and ScriptMaker will automatically copy the files to the last disk after the setup is compiled. In this case no space needs to be reserved, but ScriptMaker assumes that there will be sufficient space on the last disk to accommodate the files.

Member of
International Freeware Authors Association
International Freeware
Authors Association
Site Created with TaFWeb Software's PageBuilder




Back - 'Delete' PageNext - 'Finish' Page



Copyright © 2005

Last major revision: 4 February 2005 at 14:52 BST
This page URL: http://www.tafwebsoftware.co.uk/smtut11.html