HJ-Install 3.5.2 Manual

http://www.freebyte.com/hjinstall

 

Created by Freebyte.com

Freebyte!

http://www.freebyte.com

http://www.freebyte.com/support

Email newsletter:

http://www.freebyte.com/newsletter .

Other programs:

http://www.freebyte.com/freeware

 

 

 

 

Table of contents

Introduction

Use and Distribution

Learning HJ-Install

Multi floppy install

Huge installations from CD-Rom

The Screen Objects

HJ-Install Script Commands

User Interface Commands

Hide button

Hide editbox

Hide label

Hide title

Hide quitbutton

Readonly editbox

Set editbox

Set label

Set Message

Set Title

Set Opening title

Set Opening title fontsize

Set Quitbutton

Set Aboutbutton

Set Nextbutton

Show quitbutton

Wait button

Wait Message

Wait OpeningText

Miscellaneous Commands

End

Remark

Sleep

File System Commands

Copy files

Copy trees

Create directory

Create directory -NoAsk

Create subdirectory

Deltree

Open files

Run

Set source directory

Set target directory

Set target root directory

Windows Shell Commands

Create program group

Create program group -NoAsk

Create program items

Registry

Modifying registry keys

Compressing files

Introduction

Using compress.exe

What's new?

New in version 1.2

New in version 2.0

New in version 2.3

New in version 2.5

New in version 2.6

New in version 2.7

New in version 2.8

New in version 2.9

New in version 3.0

New in version 3.1

New in versions 3.1.1 and 3.1.2

New in version 3.3

New in version 3.4

New in version 3.5

New in version 3.5.1

New in version 3.5.2

 

 

 

Introduction

HJ-Install is a freeware installation program for Windows 95, 98 and NT 4.0. It is meant for Internet distributed programs, CD-Rom, single-floppy and multi-floppy installations, but can also be used in other situations. Check the WWW site http://www.freebyte.com/hjinstall for updates and other programs.

The current version can create install directories, copy files into it, create program-groups and -items, copy whole directory structures, and interact with the end-user during the installation process.

Future versions will have more possibilities, like changing the registry and ini files, have an un-install option.

To find out about the new features in this version, look at the chapter 'What's new' at the end of this manual.

 

Use and Distribution

To make an installation procedure with HJ-Install all you basically need to do is make a simple script. The default script file names the installer recognizes is 'install.script' and 'install.scr'. If you pass any command-line parameter, like 'example2.scr', then that will be the script file name the program uses. The script file is an ordinary ASCII file to be created with e.g. Notepad.

A fast method to make a custom script for yourself is to base it on the script installing HJ-Install itself (install.script or install.script.txt) or any of the examples. You can then use the chapter 'The Script Commands' as a look-up reference.

For distribution of your program files, you just need to add install.exe and install.script to them. HJ-Install can also install files which are compressed with the DOS Microsoft utility 'compress.exe' (to be found in this zip package). The installation procedure is exactly the same as with uncompressed files. HJ-Install will recognize this type of compressed files automatically. More details about installing compressed files and compressing files with long file names can be found in the chapter 'Compressing files'.

 

Learning HJ-Install

This should not be difficult. There are only a few essential script commands. It is advisable to look at the examples first and use the paragraph 'Script commands' as a reference. The file install.script

might also be useful as a starting point.

If things are not clear to you, or you believe the program is not functioning as it should, do not hesitate to mail me (Henk Hagedoorn) at http://www.freebyte.com/support.

A note of advice: always test your script with a variety of possible user-inputs before releasing it into the wild!

 

Multi floppy install

Since version 2.0 the possibility exists to make installations from more then one floppy.

The procedure for this is simple. When HJ-Install does not find a file to be copied to the destination directory, it prompts the user to insert a new disk. The user can also specify another directory to find the file in - also useful when installing from 'disk directories' in CD-ROM's or backup ZIP disks.

 

Huge installations from CD-Rom

With the command <copy trees> it is possible to install/copy tremendous amounts of files and directories with just one command.

 

 

The Screen Objects

HJ-Install has several screen objects, like buttons, text-areas, input boxes, etc. which form the user interface. Most screen-objects can be set by corresponding script commands. These commands will all be explained in more detail in the section 'The Script Commands'.

The opening screen has the following objects which can be set by script commands.

1 The multi-line message box in the opening screen.

The text in it can be set by the script command <wait OpeningText>. The command also waits for the user to press the

'next' button to go to the installation screen.

2 The big title at the top of the opening screen. The text can be altered with the command <set opening title>. The font size of the opening title can be set by <set opening title fontsize>.

3 The caption of the 'quit' button can be changed by <set quitbutton>

4 The caption of the 'about' button can be changed by <set aboutbutton>

5 The caption of the 'next' button can be changed by <set nextbutton>

 

In the installation (second) screen contains the following objects:

3 The title. The big text on the top of the window.

Some script commands which affect this object:

<set title>

<hide title>

4 The multi-line message box directly below the title.

<set message>

<wait message>

5 The label, a single line title for the edit box.

<set label>

<hide label>

6 The single line edit box, in which the user can input or change text.

<set editbox>

<hide editbox>

<readonly editbox>

7 The 'Quit' button. If this button is visible, the user can abort the installation procedure at any time.

<hide quitbutton>

<show quitbutton>

<set quitbutton>

8 The 'Next' button.

<wait button>

 

HJ-Install Script Commands

In the following paragraphs, the script command is always on a separate line and between pointed brackets '<>', the same way as it appears in the script file. The script commands are NOT case sensitive. The lines following the command are the data-lines, like the names of directories to be created or texts to be displayed. Sometimes there are no data lines, sometimes as many as you like. It is advisable to look also at the example script files before creating one oneself. Each item in the following explanatory list of script commands has the following structure:

Name of the command (bold)

Explanation (italic)

Exact syntax (normal)

 

 

User Interface Script Commands

 

Hide button

Makes the button invisible

<hide button>

 

Hide editbox

Hides the editbox

<hide editbox>

 

Hide label

Hides the label

<hide label>

 

Hide Quit button

Hides the Quit button

<hide quitbutton>

Note: does not hide the quit button in the opening screen.

 

Hide title

Hides the title

<hide title>

 

 

Readonly editbox

Makes the editbox read only if the next script-line is 'true', if the next line is 'false' then editbox can be changed by the user.

<readonly editbox>

false

 

Set editbox

Sets the text to be displayed in the editbox and makes the editbox visible. The editbox will automatically be made write enabled, that is: the user can change the text.

<set editbox>

myEditText

 

Set label

Sets the text of the label and makes it visible.

<set label>

The text to be displayed in the label

 

Show Quit button

Makes the quit button visible.

<show quitbutton>

 

Set Quit button

Sets the caption of the 'quit' button in the opening screen and the second (installation) screen

<set quitbutton>

Abort

 

Set About button

Sets the caption of the 'about' button in the opening screen

<set aboutbutton>

Info

Set Next button

Sets the caption of the 'next' button in the opening screen

<set nextbutton>

Start

 

 

Set Message

Puts text into the big textarea.

<set message>

This is the message's first line.

This is the message's second line.

#emptyline

The previous line was empty, but this one is not.

There can be many more message lines.

 

Set Title

Sets the text of the title in the second screen and makes it visible. The second screen is the screen which comes after the opening screen.

<set title>

Some text

 

Set Opening Title

Sets the text of the title in the first (opening) screen.

<set opening title>

Some text

 

Set Opening Title fontsize

Sets the fontsize of the title in the first (opening) screen. By default the font size is 48.

<set opening title fontsize>

36

 

Wait button

Waits for the button to be pressed

and puts the caption onto the button.

The button is automatically made visible,

in case it was invisible.

<wait button>

my caption

 

Wait Message

Puts text into the big textarea

and waits for the button to be pressed.

Makes the button caption 'Next >>'.

The button is automatically made visible,

in case it was invisible.

<wait message>

This is the message's first line.

This is the message's second line.

#emptyline

The previous line was empty, but this one is not.

There can be many more message lines.

 

Wait OpeningText

Puts text into the textarea in the opening screen

and waits for the 'next' button to be pressed. This is the only command which influences the opening screen (which is the screen showing the HJ-Install title). All the other commands you find in this chapter have to do with the installation (or second) screen (not showing the HJ-Install title).

If you do not use this command, the user will be confronted with an empty first screen.

<wait openingtext>

This is the message's first line.

This is the message's second line.

#emptyline

The previous line was empty, but this one is not.

There can be many more message lines.

 

 

File System Commands

 

Copy files

It copies files from the same directory the installer is in, or from the directory specified by the last occurrence of <set source directory>.

It copies them into the directory created or selected by the most recent occurrence of <create directory>, <create subdirectory>, <set target directory> or <set target root directory>.

Compressed files will be automatically uncompressed.

<copy files>

MyFile1, MyFile1Renamed

MyFile2, MyFile2Renamed

MyFile3, MyFile3Renamed

If you want to copy files into the Windows directory use the syntax

<copy files -WinDir>

To copy files into the system directory use

<copy files -SystemDir>

By default all files copied using HJ-Install are made writable. To make the target files read-only do

<copy files -MakeReadonly>

For each file, when the destination file already exists in the destination directory, a copy action will only take place when the to-be copied file is more recent then the already existent file. This ensures that already present dll's, user-edited data files and other important files will never be replaced by older versions.

However, you can override this using the switch '–always'; this switch will ensure that files are copied always, even if a to-be-copied file is older then an already existing target-file.

Example: <copy files –always>.

You can combine many switches inside one copy files command.

Example: <copy files -WinDir –MakeReadonly -always>

When <copy files> does not find a file to be copied in the source directory, it automatically prompts the user to insert a new disk. The user can also specify another directory to find the file in - useful when installing from CD-ROM's or backup ZIP disks.

 

Copy trees

Copies a entire sub-directories, including all the contained files and sub-subdirectories. Compressed files will be automatically uncompressed.

Files are only copied if the to-be copied file is more recent then the already present target file. However, you can override this using the switch '–always', just like in the <copy files> command.

If the target directory or any subdirectory does not exist, it is automatically created.

This command is very useful when installing huge amounts of files from CD-Rom. With the <copy files> command, one has to specify each file by hand in the script. This command can copy any amount of files and directories in one simple line of script code.

Note: this command will not prompt you when a directory is not found. This means that you can only use this command on multi-floppy installations if all the directories indicated in <copy trees> are on the same disk. While the command is similar to <copy files>, in this respect it is different.

This command is extremely useful for large CD-Rom or network installations.

Example 1:

<copy trees>

.,.

This example copies all files and directories from source directory to the target directory.

Example 2:

<copy trees -always>

bin, bin

doc, documents

src, source

This example will copy the complete directory-structures 'bin', 'doc' and 'lib' found in the source directory to the target directory. The meaning of the switch –always is described above.

The source directory is directory the installer is in or the directory specified by the last occurrence of <set source directory>.

The target directory is the directory created or selected by the most recent occurrence of <create directory>, <create subdirectory>, <set target directory> or <set target root directory>.

If you want to copy directories into the Windows directory use the syntax <copy trees -WinDir>

To copy directories into the system directory use

<copy trees -SystemDir>

 

Create directory

Does the following in consecutive order:

1) Puts the text 'Install directory:' in label.

2) Puts the directory name e.g. 'c:\program files\my directory' into the edit box.

3) Waits for the user to press the button for confirmation.

4) Creates the directory displayed in the edit box (which might have been changed by the user) after the button was pressed.

<create directory>

c:\program files\my directory

Note: this command expects an absolute directory path.

 

Create directory -NoAsk

Does the following:

Creates the specified directory (e.g. c:\program files\my directory) without any user intervention or display.

<create directory -NoAsk>

c:\program files\my directory

 

Create subdirectory

Note: advanced command.

This command can create a subdirectory of the directory created with the <create directory> command. E.g. the next example will create the directory 'c:\program files\my directory\documents' if the directory 'c:\program files\my directory' has been created with <create directory> or <create directory -noask> previously.

Example:

<create subdirectory>

documents

A nice feature of this command is, that it automatically creates all the more fundamental directories. For clarification, look at this example:

<create subdirectory>

HTML\Chaper1\Introduction

Even when the directory 'c:\program files\my directory\HTML' does not exist, it will create 'c:\program files\my directory\HTML' first, then 'c:\.....\HTML\Chapter1', and finally 'c:\.....\HTML\Chapter1\Introduction'.

 

Delete files

Deletes the specified files. If you specify a relative path, it is assumed relative to the installation directory, specified by the last occurrence of <create directory>, <create subdirectory>, <set target directory> or <set target root directory>.

You can also use the switches -windir and -systemdir to specify the windows or system directories. If you include the switch -showErrors, then a file which does not exist will show an errormessage.

Examples:

<delete files>

readme.txt

manual.doc

c:\tmp00020.bin

<delete files -windir>

donald_duck.scr

donald_duck.avi

donald_duck.hlp

<delete files -systemdir - showerrors>

abc.vxd

abc.dll

abc.hlp

Warning: when you use this command in your scripts, be sure you know what you are doing. The author of this program will not accept any responsibility for problems caused by deleting files with HJ-Install scripts.

 

Deltree

Deletes any directory structure with files and subdirectories.

You can specify more then one directory structure.

You can also use the switches -windir and -systemdir to specify the windows or system directories. If you include the switch -showErrors, then a directory which does not exist will show an errormessage.

 

Example:

<deltree>

c:\test20

c:\abcd

If you specify a relative directory, it is assumed relative to the installation root directory, specified by <create directory> or <set target root directory>.

Example:

<deltree>

documents

scripts

bin

games\test_tube

You can also mix relative and absolute specifications:

<deltree -showerrors>

documents

bin

c:\test20

More examples:

<deltree -windir>

donald_duck_drivers_directory

test_directory

This will delete the specified two directories from the windows directory.

<deltree -systemdir>

temp_vxds

This will delete the specified directory form the windows\system directory.

Warning: when you use this command in your scripts, be sure you know what you are doing. The author of this program will not accept any responsibility for problems caused by deleting directories and/or files with HJ-Install scripts.

 

 

Open files

The commands <open files -sourcedir>, <open files -targetdir> can any file or list of files. Files are automatically opened with the program(s) which is/are associated with the file's extension(s).

Depending on the switch, the file(s) can be in the source or target directory. If the file is an executable, then it will be started. If no program is associated with the file extension, the file will not be opened.

You can now also use the switches -windowsdir and -systemdir with this command. If you omit any switch, you must provide an absolute directory specification, like c:\test.txt.

Note: Be sure that the user which runs your installation script can open the listed file(s). E.g. if opening a .doc file, be sure it is created in a word format suitable for WordPad, since not everyone has Word 97 or WordViewer installed.

<open files -sourcedir>

readme.txt

This example starts notepad with readme.txt.

The following command will do the same, additionally welcome.html will be shown in the default browser program:

<open files -sourcedir>

readme.txt

welcome.html

You can also open files in the target directory (note: the target directory is known after executing the <create directory> or <create subdirectory> command). Example:

<open files -targetdir>

manual.doc

welcome.html

abc.exe

This example will open manual.doc with probably wordpad or word. Welcome.html will be opened with the default browser program.

abc.exe will be executed.

Of course, the target directory has to be created first with the most recent script occurrence of <create directory> or <create subdirectory>. Additionally the three files should have been copied with <copy files>.

To start the Windows control panel do

<open files -windir>

control

To start a DOS box, do

<open files>

c:\command.com

 

Run

With this command you can run any program which resides inside the same directory as the installer itself. The example below executes 3 programs at once. As with the command 'Create program items', program file names and commandline parameters should be enclosed in double quotes.

<run>

"program 1.exe" "parameter 1" "parameter 2"

"myeditor.exe" "example3.script"

"myutility.exe"

 

Set source directory

Sets the source directory relative to the default source directory. That is the one in which install.exe resides. After using this command, <copy files> will use the specified source directory as its default source directory. Example:

<set source directory>

_docs

To reset the source directory to the one the installer is in, use the dot specifier (which means 'this directory').

<set source directory>

.

 

Set target directory

Sets the target installation directory relative to the root installation directory. The root installation directory is the directory specified in <create directory> or <set target root directory>. After using <set target directory>, the commands <copy files> and <create program items> will use the specified target directory as their default directory. Example:

<set target directory>

documents

To reset the target directory to the default specified in <create directory> use the dot specifier (which means 'this directory').

<set target directory>

.

Note: do only use the 'set target directory' command if the specified directory has been created with the commands <create subdirectory> or <create directory>.

 

Set Target Root Directory

Does two things.

1 Sets the target root installation directory. This is the directory which can also be set by <create directory>.

2 Sets the target installation directory. This is the directory which can also be specified by <create subdirectory>, <set target directory> and <create directory>.

<set target root directory>

c:\test400

Note: this command expects an absolute directory path.

Note: the specified directory should exist.

 

 

Windows Shell Commands

 

Create program group

Does the following in consecutive order:

1) Puts the text 'Program group:' in the label

2) Puts the program group name e.g. 'My Program Group' into the edit box

3) Waits for the user to press the button for confirmation

4) Creates the program group displayed in the edit box (which might have been changed by the user). If the program group already existed, then the program group is selected instead of created.

<create program group>

my program group

 

 

Create program group -NoAsk

Creates the specified program group. If the program group already existed, the the program group is selected instead of created. The end-user is not consulted by HJ-Install, nothing is displayed and the he can not select a different program group.

<create program group -NoAsk>

my program group

 

 

Create program items

This command creates shell links (program items) in the last created or selected program group (see the <create program group> commands).

If you did not execute <create programgroup> anywhere in the script before calling <create program items>, the link icons will be created in startmenu/programs area of the start menu.

The files represented by the program items should already have been copied with the script command <copy files> into the last created or selected directory (see <create directory>, <create subdirectory> or <set target directory>).

Important remark:

Individual program items, like filenames and commandline parameters should all separately be enclosed in double quotes. If you don't do that, the script will not create the program items, or will not create them properly.

On the other hand the icon/program descriptions should not be enclosed in quotes. See the following example:

<create program items>

"program 24.exe" "parameter 1", Icon title of program 24

"myWhateverFile2.exe", Icon title of My WhateverFile2

"program23.exe" "parameter 1" "parameter 2", Icon title of program 23

"readme.doc", Readme

NOTE: This example shows that you should not refer to the items with absolute paths, but that they should refer to the program items with relative paths or no paths at all. Relative paths meaning: only relative to the chosen install target directory.

Absolute directory/path information is specified by the last occurrence of <create directory>, <create subdirectory> or <set target directory> and can be changed by the user when he is installing using your script. So in that sense you can not even know the absolute path when designing your script.

<create program items -startup>

Creates the program items into the startup program group, regardless

how its called on your system. The name of the startup program group can differ between Windows language versions.

<create program items -desktop>

Creates the program items directly onto the Windows desktop

<create program items -programs>

Creates the program items directly into startmenu/programs.

<create program items -startmenu>

Creates the program items directly into the start-menu just above the start button.

 

 

Miscellaneous Script Commands

 

End

Ends the script and closes the installation program.

<end>

 

Remark

Does nothing, but is useful to include remarks in the script file. You can include any amount of lines after this command. Be careful though, not to include any script commands in the remark part.

It can also be used to partition the script in sections, to make the script structure more clear to the script programmer. Example:

<remark>

************* document part *******************************

The following part of the script creates a doc subdirectory

and copies all document files into this subdirectory.

***********************************************************

 

Sleep

Pauses the script for the specified number of milli seconds, with a maximum of 20 000 milli seconds (= 20 seconds). The next example pauses the script for 5 seconds:

<sleep>

5000

 

 

Registry

Modifying registry keys

If you want to insert or modify Registry keys, create a .REG file and

use <open files> to merge it.

 

 

Compressing files

Introduction

Files can be compressed with compress.exe. Compress.exe is a small Microsoft command-line utility which comes with this version of HJ-Install. It only supports short filenames, but you can still use it to compress, uncompress and install files with long names, as explained below. Decompressing files will be automatic when using the HJ-Install script command <copy files>.

Using compress.exe

Using compress.exe is easy:

1)Put the files you want to compress into the same directory as compress.exe

2)If the filenames are not in DOS 8.3 format rename the files. The DOS 8.3 file format has nothing to do with an MS-DOS version 8.3 :-), but means that file names can only have a maximum of eight characters before the dot, and a maximum of three characters after the dot. Examples: 'abcdefgh.xyz' or 'ab.xy'. This does not pose any limitations on the filenames of the to-be-installed files: HJ-Install can rename compressed and uncompressed files with the <copy files> command to having a long file name again.

3)For each file you want to be compressed do the following:

a) Run compress.exe. A DOS box starts up.

b) If the program asks for a source file: enter the name of the file you want to be compressed. The file should have a short 8.3 format name as explained earlier.

c) after you press <enter>, the program asks for the output (compressed) file. Enter another short 8.3 dos filename.

d) Now you should see your compressed file appear in the same directory as compress.exe.

4)Make an install script, in which you use the command <copy files> for renaming the compressed files.

 

What's new?

New in version 1.2

1) Adeed: the <run> script command which enables the script to start an arbitrary amount of programs which have to be in the same directory as the installer.

2) Updated: the user is now able to browse and create program groups when the command <create program group> is executed.

3) Updated: the user is now able to browse and create directories when the command <create directory> is executed.

4) Updated: the script file name HJ-Install recognizes can now be install.script as well as install.scr

 

New in version 2.0

1) Added: the <sleep> command. It pauses the script for a specified number of milli seconds, with a maximum of 20 000 mSec = 20 seconds.

2) Added: <hide button> hides the main button.

3) Updated: the option -noask in <create program group>. <create program group -noask> creates a program group without user intervention.

4) Updated: <create directory -noask> creates a directory without user intervention.

5) Added: the possibility to install from more then one floppy is introduced in version 2.0. When HJ-Install does not find a file to be copied to the destination directory, it prompts the user to insert a new disk. The user can also specify another directory to find the file in - useful when installing from CD-ROM's or backup ZIP disks.

 

New in version 2.3

1) Added: the <Wait OpeningText> command. Puts text into the textarea in the opening screen and waits for the 'next' button to be pressed.

2) Added: the symbol #EmptyLine . When placed on a single line in the script commands <wait message>, <set message> and <wait openingtext>, will have an empty line at that position.

3) A new section has been added to the manual on compressing files using compress.exe.

 

New in version 2.5

1) Added: the <open files> command, which can open any file in the source or target directory. Also: executables can be started.

2) Updated: the <copy files> command has been extended with the options -windir and -systemdir to copy files into the Windows and system directories.

 

New in version 2.6

1) Added: <remark>, which does nothing, except being useful to the script programmer to include his remarks into the script.

2) Added: <create subdirectory> which can create subdirectories of the directory created by <create directory>

3) Added: <set target directory> which can change the <copy files>, <open files -targetdir> and <create program items> target directory. The directory specification in this command is relative to the one used in <create directory>.

4) Added: <set source directory> which can change the <copy files> and <open files -sourcedir> source directory. It is specified relative to the position of install.exe

 

New in version 2.7

1) Added: <delete files>, which deletes files.

2) Added: <deltree>, to delete an entire directory structure.

3) Added: <set target root directory> which can set the installation target root directory, the same way as <create subdirectory>, but without any directory creation.

4) Updated: the command <open files> can now also use the switches "-windowsdir" and "-systemdir".

5) Updated: the command <open files> can now also take absolute filepaths, like "c:\test123.txt" or "c:\command.com".

 

New in version 2.8

1) Added: <hide quitbutton>, which hides the quit button.

2) Added: <show quitbutton>, which makes the quit button visible.

3) Bugfix: the command <run> did not function in version 2.7 due to a one character typing error in the source code. This has been fixed in version 2.8

4) Bugfix: the command <run> could cause the command <wait message> not to be executed. This has been fixed in version 2.8.1

 

New in version 2.9

1) Added: <create program items -startup> to create links into the startup program menu

2) Added: <create program items -desktop> to create links onto the Windows desktop

3) Added: <create program items -programs> to create links into the startmenu/programs part of the start menu

4) Added: <create program items -startmenu> to create links into the startmenu folder just above the start button

5) Updated: if no program group is specified before executing <create program items>, the links are created in the startmenu/programs part of the start menu.

6) Bugfix: in version 2.8 the multi-floppy install option did not work. The problem is fixed in version 2.9

 

New in version 3.0

1) Added: the command <copy tree> which can copy an entire directory structure in one simple script command. There is no limit to the amount of files and directories which can be copied with this command. Ideal for large CD-rom or networked installations.

2) Updated: Non-western program group names are now supported.

3) Added: the switch -MakeReadonly in the command <copy files>, which sets the file-attributes of the target file to readonly.

4) Added: a status window is displayed during certain install actions (copy files, delete files, deltree, copy tree, create program group, create program items). This window displays the current activity, e.g. in the case of <copy files>, the name of the file that is currently copied.

New in version 3.1

1) Improved: the command <copy tree> has been changed to <copy trees>. It can now copy subdirectories of the selected installation source directory, or the whole installation source directory. This command works now in the same way as <copy files> does. The introduced incompatibility with version 3.0 was necessary to make the command function in a similar way to <copy files>.

2) Added: the options -windir and -systemdir to <copy trees> to be able to copy whole directories into the Windows or System directory.

New in versions 3.1.1 en 3.1.2

1) Added: the user can now also quit the installation process when the opening screen shows. The opening screen now also contains a quit button. The quit button in the opening screen can not be hidden using the script command <hide quitbutton>

2) Bugfix: the program now responds correctly to alt-F4 (asking the user if he/she wants to abort the installation).

3) Bugfix: the program now correctly overwrites older files (commands <copy files> and <copy trees>) when found in the destination folder.

New in version 3.3

1) Added: command to add the opening title of the program. Before this version, the opening title was 'HJ-Install', displayed in a large font. Now this title can be set by the script command <set opening title>.

2) Added: an about button in the opening screen. When the user presses the about button, a HJ-Install information screen will pop up.

New in version 3.4

1) Added: switch –always to the commands <copy files> and <copy trees>

New in version 3.5

1) Bugfix: the error message 'Invalid argument to date encode' happened sometimes when installing from CD-Rom. This error message has been removed.

New in version 3.5.1

1) Added: <set quitbutton>, which sets the caption of the 'quit' button

2) Added: <set aboutbutton> which sets the caption of the 'about' button

3) Added: <set nextbutton> which sets the caption of the 'next' button.

New in version 3.5.2

1) Added: <set opening title fontsize>. This command sets the font size of the title in the opening screen. The default font size is 48. Only font sizes of 32 to 54 give acceptable results.