2. Making preparations
2.1 Obtaining the Windows installer
2.2 Obtaining DAEMON Tools
3. Installation
3.1 Installing InstMsiA.exe
3.2 Installing DAEMON Tools
3.3 Installing ISO.BAT
4. Configuration
4.1 Configuring DAEMON Tools
4.2 Configuring the .ISO-connection
4.3 Using ISO.BAT
"We do not consider the use of our software in schools or universities as commercial use. If you run our program on school or university PC's no further action is required".The DAEMON Tools homepage is at http://www.daemon-tools.cc. This is also the place to download the latest version. At the moment of writing the latest version released for Windows 95/98/Me was 3.47.
.ISO
file) in /home/share/iso
, say
edurithmetic.iso
.
However, before you can load a (virtual) CD-ROM in the (virtual) CD-ROM player, a so-called CD-ROM image has to be created, on the server. This can be done with the CD-ROM tool in Janitor as described in section 6. Managing CD-ROM images in chapter III. Janitor. That is why you need a CD-ROM player in the server: not to play CD-ROMs but to copy CD-ROMs to the server's harddisk. The server 'serves' the content of the CD-ROMs to the virtual CD-ROM player in the workstation via the LAN. The original CD-ROMs can be stored in a safe place, far away from sand, dust and investigative pupils.
This chapter describes the DAEMON Tools installation, configuration and the loading and unloading process of virtual CD-ROM's on the workstation. Creating desktop icons for CD-ROM's will be discussed in chapter VII. Installing educational software.
Not all of the many possibilities of DAEMON Tools are discussed here. Users will hardly notice that DAEMON Tools runs on the workstation and that the content of the CD-ROM comes from the server. If you want to learn more about DAEMON Tools, you could use the built-in help function or visit the projects home page at http://www.daemon-tools.cc.
NOTICE:
The word 'image' has different meanings in a ServerAtSchool
environment. First of all it can mean a file that holds the complete
contents of a workstation's hard disk. These so-called 'disk images'
or 'image files' are created with g4u, see chapter V. Managing disk images with ghost for unix. In
this chapter 'image' usually means a 1-on-1 copy of a
CD-ROM, a 'CD-ROM image'. This is also known as an '.ISO
file'.
Installation of DAEMON Tools also requires the Microsoft Windows Installer for Windows 95/98/Me. You may need to download the latter if it is not already installed on your workstation by now.
You may need to download software from Internet in this chapter. It
can be handy to collect the downloaded files somewhere on your
server. A good place to keep your downloads would be a directory on
the install share, e.g. \\SERVER\install\download
(or
/home/share/install/download
). As a member of the
'janitors' group (see 1.1 General
remarks in chapter III. Janitor) you
are allowed to store files there. By storing the downloads on the
server and not on the C: drive of the workstation you have easy access
to the downloads without cluttering your C: drive.
InstMsiA.exe
.
There are different ways to obtain the installer.
InstMsiA.exe
. Save
the file (do not execute it immediately from your browser).
InstMsiA.exe
. Save
the file (do not execute it immediately from your browser).
InstMsiA.exe
. You will find many places where you can
download it from.
Note that the file you are looking for (InstMsiA.exe
) has
a size of 1,709,160 bytes.
\\SERVER\install\goodies\daemon\DAEMON347.EXE
.
/ServerAtSchool/goodies/daemon
.
daemon???.exe
. Save
the file (do not execute it immediately from your browser).
daemon347.exe
. You will find many places where you can
download it from.
NOTICE:
There is also a file called TRAYICONS.ZIP
(7,177
bytes). This file contains a collection of alternative icons that can
be used as replacements for the default icons. You do not
need need these. It is up to you to replace the icons in
C:\Pprogram Files\D-Tools\Icons\
.
InstMsiA.exe
and then DAEMON347.EXE
. If you
do not have InstMsiA.exe
you can of course try to
skip the installation of this tool. However, the DAEMON Tools
installation procedure will complain if InstMsiA.exe
needs to be installed after all. There is no danger in installing
InstMsiA.exe
for a second time. At worst it will lead to
a message that the installer was already installed.
InstMsiA.exe
you obtained in the previous section
(maybe in \\SERVER\install\download
) and press
[Open]. The name of the file is now entered into the Run-dialogue.
NOTICE: If the Windows Installer was already installed, you get a warning message: "The specified software already exists". Press [OK] to confirm the dialogue.
The Windows Installer is now installed.
DAEMON347.EXE
you obtained in the previous section
(maybe in \\SERVER\install\download
) and press
[Open]. The name of the file is now entered into the Run-dialogue.
The DAEMON Tools software is now successfully installed on the workstation.
The DOS batch file ISO.BAT
takes care of this. This file
is already installed on the server, in
\\SERVER\install\goodies
. The installation of this file
boils down to copying the file from
\\SERVER\install\goodies
to P:\BIN
.
Please copy this file to P:\BIN
now. In subsequent
examples we will assume that this file will be stored there. You can
take the following steps.
ISO.BAT
.
ISO.BAT
to P:\BIN
.
If you are in a hurry and can not spare the time to learn about the inner workings of this script, you can safely skip the remainder of this section and continue with section 4. Configuration.
The contents of the file ISO.BAT
are shown in the
illustration below.
|
Explanation:
DAEMON.EXE
, telling it
to remove ('unmount') any (virtual) CD-ROM currently loaded in the
first virtual CD-ROM player (player number 0).
.ISO
) file. If the check failed, a
short usage message is displayed and the script ends.
A moment please, the CD 'R:\edurithmetic.iso' is being loaded...
CHOICE.COM
with a default
timeout of 5 seconds. This is necessary to give DAEMON Tools the
time to finish removing the previous CD-ROM. Note that
CHOICE.COM
is used because DOS lacks a standard
command like sleep(1)
.
DAEMON.EXE
,
P:\BIN\ISO.BAT
) has been installed. Now DAEMON Tools needs
to be configured. Also the file association between the
,ISO
file extension and the ISO.BAT
script
needs to be established.
DAEMON Tools can provide up to four different virtual CD-ROM players
at the same time. Since this is very confusing in a school
environment, we will configure the software to use only a single
(virtual) player. We will also assign drive letter K:
to
that one virtual player. Finally we will change a few other settings.
Please take the following steps to configure DAEMON Tools.
K:
from
the list of available letters. This must be set to
K:
. It is not necessary to set other options. Confirm
the dialogue by pressing [OK].
The virtual CD player is configured.
NOTICE: If necessary you can restore the tray icon in full glory by starting the DAEMON Tools program, using the shortcut labeled 'DAEMON Tools' on the Desktop. This wil put the tray icon back in the Taskbar where you can use the method outlined above to change the options, etc. Note that this is not necessary in the ServerAtSchool environment once you have properly configured DAEMON Tools.
NOTICE:
In case you are wondering why the drive must have drive
letter K:
, consider this. Educational programs are
installed on either the P:
drive or the Q:
drive (see chapter VII. Installing
educational software). Drive letters R:
and
V:
are also occupied in ServerAtSchool. Drive letter
Z:
is sometimes used to access the so-called
NETLOGON
share. We are reluctant to use the drive letter
O:
because it is easily confused with drive letter
Q:
. Therefore drive K:
is
the last possible letter where you can have four otherwise unused drive
letters in a row: K:
, L:
, M:
and N:
. If DAEMON Tools were to be configured with four
virtual drives, these letters would be required. The reason not to use
'lower' letters is that this may interfere with USB-devices like
multi-cardreaders and it would certainly interfere with the all
important home drive H:
.
ISO.BAT
takes care of unmounting (unloading) and
mounting (loading) CD-ROM images. See section 3.3
Installing ISO.BAT above for a full explanation of this script. We
now want to link the file extension .ISO
to
P:\BIN\ISO.BAT
to the effect that doubleclicking a file
with that extension will automatically load (mount) the CD-ROM image
into the K:
drive.
NOTICE:
This assumes that the ServerAtSchool server is successfully installed
and configured. You have to have a working connection with the server
and you should have created at least one CD-ROM image (an
.ISO
file). See section 1.1
Prerequisites above.
R:
drive.
edurithmetic.iso
. The 'Open with'
dialogue appears.
CD-ROM image file
.
P:\BIN\ISO.BAT
P:\BIN\ISO.BAT
. Press the [Open] button to confirm
the dialogue.
ISO
is now added to the list of programs.
R:\eduritmetic.iso
is being loaded.
K:
drive. You can check this via My
Computer
.
At this point the file association for .ISO
files
has been established. From now on all CD images with this extension
will be started with the ISO.BAT
batch file if they are
doubleclicked or otherwise opened. Everything is now ready for using
virtual CD-ROMs. The exact procedure (creating shortcuts for
educational software that requires the presence of a CD-ROM, etc.) is
discussed in detail in chapter VII. Installing
educational software.
If you ever want to change the file association in the future, you could use the following procedure (adapted from http://www.swfpcug.org/faq/windows_98.htm):
R:\edurithmetic.iso
.
[Shift]
key, right-click the
highlighted file.
ISO.BAT
script can be called in three different ways.
P:\BIN\ISO R:\edurithmetic.iso
.edurithmetic.iso
is loaded.
P:\BIN\ISO R:\TrafficTrainer.iso K:\MAIN.EXE
TrafficTrainer.iso
is loaded into the virtual CD-ROM
player and that subsequently the program MAIN.EXE
is
executed, in this particular case directly from the
K:
drive.
NOTICE: During display of the message, do not touch the keyboard. We
are actually 'abusing' the CHOICE.COM
program which is
designed to prompt the user for making a choice from a list of
possible choices. Here the choices are limited to the digits 0-9 and
the letters A-Z. Eventually the command will continue with the default choice of
'X'. However, if you touch any key, the time out will no longer be in
effect. CHOICE.COM
then waits forever until the user actually
presses one of the possible choices, in this case any
digitkey or letterkey. It certainly is not an
elegant solution but this is how things sometimes work at the DOS prompt.
Authors: Peter Fokker <peter (at) berestijn.nl> and Dirk Schouten <schoutdi (at) knoware.nl> $Id: dtools.html,v 1.11 2006/03/30 13:07:56 peter Exp $