-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlib-install-app-netscape-on-qemu.sh
62 lines (57 loc) · 1.37 KB
/
lib-install-app-netscape-on-qemu.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
. lib-bogomips-sleep.sh
. lib-qemu.sh
install-app-netscape-on-qemu() {
isoimage="$1"
if [ $# -lt 1 ]
then
install-app-netscape-on-qemu-usage
return
fi
if ! [ -f "$1" ]
then
echo "file not found: $1" 1>&2
install-app-netscape-on-qemu-usage
return
fi
qemu-change-cdrom "$isoimage"
echo "running windows..."
qemu-send-line-de "c:\\windows\\win.com"
bogomips-sleep 20
echo "installing netscape..."
qemu-send-key "alt-f"
qemu-send-key "r"
qemu-send-line-de "d:\\apps\\netscape\\netscape.exe"
bogomips-sleep 200
echo "confirming welcome message..."
qemu-send-key "ret"
bogomips-sleep 1
echo "confirming welcome license..."
qemu-send-key "ret"
bogomips-sleep 1
echo "confirming installation directory..."
qemu-send-key "ret"
bogomips-sleep 1
echo "confirming installation directory creation..."
qemu-send-key "ret"
bogomips-sleep 2
echo "confirming video for windows message..."
qemu-send-key "ret"
bogomips-sleep 10
echo "confirming windows group name..."
qemu-send-key "ret"
bogomips-sleep 1
echo "confirming installation begin..."
qemu-send-key "ret"
bogomips-sleep 215
echo "denying to view readme..."
qemu-send-key "n"
bogomips-sleep 4
echo "rebooting..."
qemu-send-key "ret"
bogomips-sleep 1
qemu-send-key "ret"
bogomips-sleep 25
}
install-app-netscape-on-qemu-usage() {
echo -e "usage:\n\tinstall-app-netscape-on-qemu <WinInstallISO>" 1>&2
}