cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DSEyers
Level 3

Linux Eject/Swap/Change Disks

Using latest version of InstallAnywhere. Created an installer which is made up of two cds.

When I install on RedHat Linux 4 (not tried other Linux flavours) and disk 2 is needed, the person doing the install is prompted for cd 2. However the cd refuses to eject!

Ideally
=====
We would like a user to open the cd in Linux File Broswer an double click on the executable and follow the on screen prompts.

Horrid Fix...
========
In a terminal window
1. cd /media/hda
2. ls
3. cd /
4. /media/hda/Disk1/InstData/Linux/VM/setup.bin

When prompted for disk 2
5. eject
6. swap cds
7. click OK

Any Better Solutions?
================
????????
Labels (1)
0 Kudos
(3) Replies
pv7721
Level 20

Might sound stupid, but... why don't you use a DVD instead?
0 Kudos
DSEyers
Level 3

We thought of that! But thanks for saying as the obvious is not always obvious until mentioned!

A lot of the installations are done on Servers, servers tends to be older then Desktops or just ordered with CDRoms a few years back.
0 Kudos
DSEyers
Level 3

In the end we created a script on the cd.

The script runs the installer in the background with nohup. We then do a "sleep 5" as found when run on Linux File Browser as "Open in terminal" the installer did not run, or got killed, but the sleep cured that.

In the installer we call the script directly and do not first change onto it.

Script attached.

OK they could be in their own terminal window, but they can cd off it. Same in file browser, although doing an "eject" in a terminal window works when launched from the File Browser.
0 Kudos