CREATE 5.00c

PART OF INSTALL TOOL PACKAGE

(c)1996 by J. BERTRAND & L. TANNER

FREEWARE application

Please choose a chapter into following list :

Introduction

Restrictions

How to generate a script file ?

Example of a scriptfile

Conclusion

Authors


INTRODUCTION

This software will help you to create an install script file for the Setup family.

You can define :

Files and icons to copy to your hard disk

Document to be started after installation process

Modifications for INI files, sections, field and values

Define groups, items, directories, specifications of software (title, author, etc ...)

Define pack of files (to copy or not this pack onto your hard disk)

Note :

Create 4.x creates script for Setup 4.x

Create 5.x creates script for Setup 4.x

...


RESTRICTION

At this moment Create has this restrictions :

You can define :

5 items groups

50 pre defined directories (use can only modify the main I mean first one)

5 pack of files

100 icons to copy and create onto hard disk and groups

100 documents with starting application like write, notepad, etc ...

120 files to copy onto hard disk


How to generate
HOW TO GENERATE SCRIPT FILE ?

Functions :

To create a new project and finally generate a good installation script file follow this way step by step to describing all installation elements :

Project information

Groups

Source directory

Targets directories

Pack of files

Files

Icons

Document

INI files

After all steps you can generate Setup.ins file by clicking on button

You can making floppies after generation on Setup.ins by clicking on button

Buttons :

List of all Input/Ouput functions of Create :

Quit

To leave Create

Save

To save current project into a PRJ file

Load

To load an existing project

Generate

To generate a new installation script file from current project

Make floppies

To make floppies ready for a future installation


PROJECT INFORMATION

With this function you can specify :

Title : Main title of your application

Sub title : Sub title of your application

Author : Name of application author

Version : Version number (including letters)

Year : Year of copyright for your application

All information will appears on your background screen during installation

For example you create project information as follow :

Title : Install Pack

Subtitle : Installation Tools package

Author : J. BERTRAND - L TANNBER

Version : 5.00a

Year : 1996


Items groups
GROUPS

Icon :

With this icon you can defined your items group (5 maximum) which they will be create onto your program manager.

You can specify :

Group name : Name you can see attached to your group (30 characters maximum)

Group file : Name of your file for group without .GRP extension

Function available are :

Adding new group with Add button

Deleting an existing group with Del button

Modifying an existing group information by double clicking on a group name list box, and finally validate your modification by clicking Mod button.


SOURCE DIRECTORY

Icon :

This function specify your starting directory for installing files.

By default this source directory is A:\

You can specify drive by choosing a drive into combox box drive

You can specify directory by choose a directory into directories list box or typing it directly into edit box. If you want to change drive for directories list box click into combox box drive at the bottom of directories list box.


Target directories
TARGETS DIRECTORIES

Icon :

This function help you to specify all directories you want to use (maximum 50)

The main directory (the only one that user can modify at installation process) is the first one

To specify a directory, follow this way :

Choose a drive into combobox drive

Choose a directory into directories list box or type it into edit box (to changing drive for directories list box change drive into drive combobox at bottom of directories list box).

When you have finish to specify your directory click on Create button

Functions available are :

Creating an new directory with button Create

Deleting an existing directory with button Delete

Modify an existing defined directory by double clicking on name into directories list box


Packet files
PACK OF FILES

Icon :

A pack of file is a big new improvement in this version.

When user starts Setup he has possibility to choose between Standard installation or Custom installation. If he chooses standard all files and icons will install into hard disk.

If he chooses Custom he can change main directory, create or not uninstall file, copy or not uninstall application (UnSetup.exe) and finally choose which pack of file he wants to install.

For example for any application you can have 2 pack of file like that

Pack #1 : Main application

Pack #2 : Examples for application

So to define pack of file (5 maximum) follow this way :

Type description of your pack file (E g: "Main application") with 40 characters maximum

Click into Add button

Functions available are :

Adding a new pack file with Add button

Deleting an existing pack file with Del button

Modifying an existing pack file by double clicking into pack file list box and finally click into Mod button


File
FILES

With all functions around files you can :

Adding new file by clicking into button

Deleting an existing file by clicking into button

Modifying an existing file by clicking into button [image] or double clicking on file name into files list box.

To add a file :

Click into :

Move in all drive and directories you want in open dialogue box. You can specify multiple file as usual so I mean Shift and Ctrl keyboard pad.

When you have finish click in OK button to close dialogue, and your file(s) will appear into files list box.

To delete a file :

Select a file into files list box or click directly in button.

When list box appear click on Delete button to confirm suppression of selected element.

To modify a file :

Multiple selection are allowed here.

Click in button [image] or double click on name into files list box.

When dialogue appear you can modify :

If file will be copy or not onto hard drive (copy file check box)

Changing target directory for this file (choose it into directory list box or type it directly into directory edit box)

Specify a pack file (by default pack 0 so copy it anyway)


Icon
ICONS

With all functions around icons you can :

Adding new icon by clicking into button

Deleting an existing icon by clicking into button

Modifying an existing icon by clicking into button [image] or double clicking on file name into icons list box.

To add an icon :

Click into :

Move in all drive and directories you want in open dialogue box. You can specify multiple file as usual so I mean Shift and Ctrl keyboard pad.

When you have finish click in OK button to close dialogue, and your icon(s) will appear into icons list box.

To delete an icon :

Select an icon into icons list box or click directly in button.

When list box appear click on Delete button to confirm suppression of selected element.

To modify an icon :

Multiple selection are allowed here.

Click in button [image] or double click on name into icons list box.

When dialogue appear you can modify :

Changing target directory for this icon (choose it into directory list box or type it directly into directory edit box)

Specify a pack file (by default pack 0 so copy it anyway)

Specify name of this icon (by default complete path and name for this file) in 30 characters maximum

Specify group for this icon (by default first group)


DOCUMENT

With all functions around documents you can :

Adding new document by clicking into button

Deleting an existing document by clicking into button

Modifying an existing document by clicking into button [image] or double clicking on file name into documents list box.

To add a document:

Click into :

Choose a document into files list box (list on left) or into icons list box (list on right).

Click in OK button

To delete a document :

Select a document into documents list box or click directly in button.

When list box appear click on Delete button to confirm suppression of selected element.

To modify a document :

Multiple selection are allowed here.

Click in button [image] or double click on name into documents list box.

When dialogue appear you can modify :

Application associated for this items (defaults are .HLP for Win help, WRI for Write and Notepad for other file extensions)

Changing target directory for this document (check if target directory is same as file or icon directory ...)


INI file
INI FILES

With all functions around INI files you can :

Adding new INI file line by clicking into button

Deleting an existing INI file line by clicking into button

Modifying an existing INI file line by clicking into button [image] or double clicking on INI file line into INI file list box.

Multiple selection are not allowed here.

To creating an INI file :

Specify all edit box from file name to value and click into Set Value button

To deleting an INI file :

Specify INI file name (you can choose it too with all drives, directories and files list boxes)

Click into Delete file button

To deleting an INI file section :

Specify INI file name (you can choose it too with all drives, directories and files list boxes)

Choose a section into section list box

Click into Delete section button

To deleting an INI file field :

Specify INI file name (you can choose it too with all drives, directories and files list boxes)

Choose a section into section list box and after that filed into field list box

Click into Delete field button

To specify an INI file value :

Specify INI file name (you can choose it too with all drives, directories and files list boxes)

Choose a section into section list box and after that filed into field list box

Type your new value into value edit box

Click into Set value button


Example
EXAMPLE OF A SCRIPT FILE

; Setup script file by Create for Setup

; (c)1996 by J. BERTRAND and L. TANNER

[INFORMATION]

TITLE=Install Pack (main title of application)

SUBTITLE=Installation tools package (sub title of application)

VERSION=5.00a (version number of application)

AUTHOR=J. BERTRAND / L. TANNER (author of applocation)

COPYRIGHT=1996 (copyright year of application)

[DISKS]

DSK=1 (number of floppies needed)

SPC=922959 (space needed onto destination drive)

[ORIGIN]

(ODSK=source drive)

(OPAT=source path)

ODSK=A:

OPAT=\

[DESTINATION]

NUM=4 (number of target directories)

(DDSK=target drive letter)

(DPATH=target path)

DDSK=C:

DPAT=\install

DDSK=C:

DPAT=\install\create

DDSK=C:

DPAT=\install\setup

DDSK=C:

DPAT=\install\unsetup

[GROUP]

NUM=3 (number of items group)

(x=group description, name of group file)

1=Create 5.00b,CREATE.GRP

2=Setup 5.00a,SETUP.GRP

3=UnSetup 5.00a,UNSETUP.GRP

[PACKET FILES]

NUM=3 (number of packet file)

(x= packet file name description)

1=Create 5.00b application

2=Setup 5.00a application

3=UnSetup 5.00a application

[ICONS]

NUM=6 (number of icons)

(x=disk number, icon name, target path, description, items group number, packet file number)

1=1,CREATE.EXE,%2,Create 5.00b,1,1

2=1,CREATE.TXT,%2,Read me Create,1,1

3=1,SETUP.EXE,%3,Setup 5.00a,2,2

4=1,SETUP.TXT,%3,Read me Setup,2,2

5=1,UNSETUP.EXE,%4,UnSetup 5.00a,3,3

6=1,UNSETUP.TXT,%4,Read me UnSetup,3,3

[FILES]

NUM=7 (number of files)

(x=disk number, file name, target path, packet file number)

1=1,DISK.001,%3,2

2=1,GENE.BMP,%2,1

3=1,INSTALL.PRJ,%2,1

4=1,SETUP.INS,%3,2

5=1,SUCCESS.BMP,%3,2

6=1,UNINST.BMP,%4,3

7=1,README.TXT,%1,0

[RUN]

NUM=1 (number of lauched document)

(x=laucher file name, laucher path, document file name, document path, packet file number)

1=NOTEPAD.EXE,%W,README.TXT,%1,0

[INI]

NUM=3 (number of Ini file line)

(x=name of file, path of Ini file, section name, field name, value)

1=pack.ini,%1,VersionInformation,Create,5.00b

2=pack.ini,%1,VersionInformation,Setup,5.00a

3=pack.ini,%1,VersionInformation,Unsetup,5.00a

; End of Setup.ins file


Conclusion
CONCLUSION :

With Create you can generate script file for Setup family.

With a little attention you can create complex script file.

Best way to create a good script file is define all things step by step, so I mean :

1. Project information

2. Source directory

3. Target directories

4. Groups for items

5. Packet files

6. Files and modification of pack files and target directory

7. Icons and modifications of pack files, target directory and icon name

8. Documents and modification of application to start with

9. Generation of Setup.ins file and make floppies

Create is a FREEWARE program and a part of Install tool package.

We are waiting for Delphi 2.0 to build a 32 bits version. This new 32 bits version of Install tools package will be Install Pack 95 with these improvements :

 	- Long file names for groups, icons, files and documents

 	- 32 bits version so more quick and more adapted to W95


AUTHORS

Create is a part of Install tool package.

This package and all files inside are FREEWARE, and all source files are given

You can use them as you want. If you modify them please notice us on our E Mail about all them

Please let our names into this pack, we trust you about that ...

If you have some ideas about new improvements, do not hesitate to contact us.

Jérôme BERTRAND :

I live in Paris - FRANCE

I develop with Borland compilers since Turbo Pascal 3 and a lot of another languages for over 10 years

I am Junior Team Manager for a local consulting firm

Larry E TANNER :

I live in Gaithersburg, MD - USA

I develop in Delphi, PowerBuilder and Visual Basic and I have been programming for over 16 years

I am a Senior Analyst for a local consulting firm