added kbdus.dll to copy-over
[reactos.git] / reactos / install-unix.sh
1 #!/bin/sh
2 #
3 # UINX installation script
4 #
5 # To use: change ROS_INSTALL to where you keep your reactos files
6 #
7
8 ROS_INSTALL=~/ros/iso
9 ROS_INSTALL_TESTS=$ROS_INSTALL/test
10
11 mkdir $ROS_INSTALL
12 mkdir $ROS_INSTALL/bin
13 mkdir $ROS_INSTALL_TESTS
14 mkdir $ROS_INSTALL/symbols
15 mkdir $ROS_INSTALL/system32
16 mkdir $ROS_INSTALL/system32/config
17 mkdir $ROS_INSTALL/system32/drivers
18 mkdir $ROS_INSTALL/media
19 mkdir $ROS_INSTALL/media/fonts
20
21 cp boot.bat $ROS_INSTALL
22 cp bootc.lst $ROS_INSTALL
23 cp aboot.bat $ROS_INSTALL
24 cp loaders/dos/loadros.com $ROS_INSTALL
25 cp ntoskrnl/ntoskrnl.exe $ROS_INSTALL/system32
26 cp ntoskrnl/ntoskrnl.sym $ROS_INSTALL/symbols
27 cp hal/halx86/hal.dll $ROS_INSTALL/system32
28 cp drivers/fs/vfat/vfatfs.sys $ROS_INSTALL/system32/drivers
29 cp drivers/fs/cdfs/cdfs.sys $ROS_INSTALL/system32/drivers
30 cp drivers/fs/fs_rec/fs_rec.sys $ROS_INSTALL/system32/drivers
31 cp drivers/fs/ms/msfs.sys $ROS_INSTALL/system32/drivers
32 cp drivers/fs/np/npfs.sys $ROS_INSTALL/system32/drivers
33 cp drivers/fs/ntfs/ntfs.sys $ROS_INSTALL/system32/drivers
34 cp drivers/fs/mup/mup.sys $ROS_INSTALL/system32/drivers
35 cp drivers/bus/acpi/acpi.sys $ROS_INSTALL/system32/drivers
36 cp drivers/bus/isapnp/isapnp.sys $ROS_INSTALL/system32/drivers
37 cp drivers/bus/pci/pci.sys $ROS_INSTALL/system32/drivers
38 cp drivers/dd/floppy/floppy.sys $ROS_INSTALL/system32/drivers
39 cp drivers/lib/bzip2/unbzip2.sys $ROS_INSTALL/system32/drivers
40 cp drivers/input/keyboard/keyboard.sys $ROS_INSTALL/system32/drivers
41 cp drivers/input/mouclass/mouclass.sys $ROS_INSTALL/system32/drivers
42 cp drivers/input/psaux/psaux.sys $ROS_INSTALL/system32/drivers
43 cp drivers/dd/blue/blue.sys $ROS_INSTALL/system32/drivers
44 cp drivers/dd/beep/beep.sys $ROS_INSTALL/system32/drivers
45 cp drivers/dd/debugout/debugout.sys $ROS_INSTALL/system32/drivers
46 cp drivers/dd/null/null.sys $ROS_INSTALL/system32/drivers
47 cp drivers/dd/serial/serial.sys $ROS_INSTALL/system32/drivers
48 cp drivers/dd/serenum/serenum.sys $ROS_INSTALL/system32/drivers
49 cp drivers/dd/vga/miniport/vgamp.sys $ROS_INSTALL/system32/drivers
50 cp drivers/dd/vga/display/vgaddi.dll $ROS_INSTALL/system32
51 cp drivers/dd/videoprt/videoprt.sys $ROS_INSTALL/system32/drivers
52 cp drivers/net/afd/afd.sys $ROS_INSTALL/system32/drivers
53 cp drivers/net/dd/ne2000/ne2000.sys $ROS_INSTALL/system32/drivers
54 cp drivers/net/dd/pcnet/pcnet.sys $ROS_INSTALL/system32/drivers
55 cp drivers/net/dd/miniport/nscirda/nscirda.sys $ROS_INSTALL/system32/drivers
56 cp drivers/net/ndis/ndis.sys $ROS_INSTALL/system32/drivers
57 cp drivers/net/packet/packet.sys $ROS_INSTALL/system32/drivers
58 cp drivers/net/tdi/tdi.sys $ROS_INSTALL/system32/drivers
59 cp drivers/net/tcpip/tcpip.sys $ROS_INSTALL/system32/drivers
60 cp drivers/net/wshtcpip/wshtcpip.dll $ROS_INSTALL/system32
61 cp drivers/storage/atapi/atapi.sys $ROS_INSTALL/system32/drivers
62 cp drivers/storage/scsiport/scsiport.sys $ROS_INSTALL/system32/drivers
63 cp drivers/storage/cdrom/cdrom.sys $ROS_INSTALL/system32/drivers
64 cp drivers/storage/disk/disk.sys $ROS_INSTALL/system32/drivers
65 cp drivers/storage/class2/class2.sys $ROS_INSTALL/system32/drivers
66 cp subsys/system/autochk/autochk.exe $ROS_INSTALL/system32
67 cp subsys/system/cmd/cmd.exe $ROS_INSTALL/system32
68 cp subsys/system/services/services.exe $ROS_INSTALL/system32
69 cp subsys/system/setup/setup.exe $ROS_INSTALL/system32
70 cp subsys/system/winlogon/winlogon.exe $ROS_INSTALL/system32
71 cp services/eventlog/eventlog.exe $ROS_INSTALL/system32
72 cp services/rpcss/rpcss.exe $ROS_INSTALL/system32
73 cp lib/advapi32/advapi32.dll $ROS_INSTALL/system32
74 cp lib/crtdll/crtdll.dll $ROS_INSTALL/system32
75 cp lib/fmifs/fmifs.dll $ROS_INSTALL/system32
76 cp lib/freetype/freetype.dll $ROS_INSTALL/system32
77 cp lib/gdi32/gdi32.dll $ROS_INSTALL/system32
78 cp lib/iphlpapi/iphlpapi.dll $ROS_INSTALL/system32
79 cp lib/kernel32/kernel32.dll $ROS_INSTALL/system32
80 cp lib/libpcap/libpcap.dll $ROS_INSTALL/system32
81 cp lib/msafd/msafd.dll $ROS_INSTALL/system32
82 cp lib/msvcrt/msvcrt.dll $ROS_INSTALL/system32
83 cp lib/ntdll/ntdll.dll $ROS_INSTALL/system32
84 cp lib/packet/packet.dll $ROS_INSTALL/system32
85 cp lib/secur32/secur32.dll $ROS_INSTALL/system32
86 cp lib/shell32/roshel32.dll $ROS_INSTALL/system32
87 cp lib/snmpapi/snmpapi.dll $ROS_INSTALL/system32
88 cp lib/syssetup/syssetup.dll $ROS_INSTALL/system32
89 cp lib/user32/user32.dll $ROS_INSTALL/system32
90 cp lib/version/version.dll $ROS_INSTALL/system32
91 cp lib/winedbgc/winedbgc.dll $ROS_INSTALL/system32
92 cp lib/winmm/winmm.dll $ROS_INSTALL/system32
93 cp lib/winspool/winspool.drv $ROS_INSTALL/system32
94 cp lib/ws2_32/ws2_32.dll $ROS_INSTALL/system32
95 cp lib/ws2help/ws2help.dll $ROS_INSTALL/system32
96 cp lib/wshirda/wshirda.dll $ROS_INSTALL/system32
97 cp lib/wsock32/wsock32.dll $ROS_INSTALL/system32
98 cp lib/kbdus/kbdus.dll $ROS_INSTALL/system32
99 cp subsys/smss/smss.exe $ROS_INSTALL/system32
100 cp subsys/csrss/csrss.exe $ROS_INSTALL/system32
101 cp subsys/ntvdm/ntvdm.exe $ROS_INSTALL/system32
102 cp subsys/win32k/win32k.sys $ROS_INSTALL/system32
103 cp subsys/system/usetup/usetup.exe $ROS_INSTALL/system32
104 cp apps/utils/cat/cat.exe $ROS_INSTALL/bin
105 cp apps/utils/partinfo/partinfo.exe $ROS_INSTALL/bin
106 cp apps/utils/objdir/objdir.exe $ROS_INSTALL/bin
107 cp apps/utils/pice/module/pice.sys $ROS_INSTALL/system32/drivers
108 cp apps/utils/pice/module/pice.sym $ROS_INSTALL/symbols
109 cp apps/utils/pice/pice.cfg $ROS_INSTALL/symbols
110 cp apps/utils/sc/sc.exe $ROS_INSTALL/bin
111 cp apps/tests/hello/hello.exe $ROS_INSTALL/bin
112 cp apps/tests/args/args.exe $ROS_INSTALL/bin
113 cp apps/tests/apc/apc.exe $ROS_INSTALL/bin
114 cp apps/tests/shm/shmsrv.exe $ROS_INSTALL/bin
115 cp apps/tests/shm/shmclt.exe $ROS_INSTALL/bin
116 cp apps/tests/lpc/lpcsrv.exe $ROS_INSTALL/bin
117 cp apps/tests/lpc/lpcclt.exe $ROS_INSTALL/bin
118 cp apps/tests/thread/thread.exe $ROS_INSTALL/bin
119 cp apps/tests/event/event.exe $ROS_INSTALL/bin
120 cp apps/tests/file/file.exe $ROS_INSTALL/bin
121 cp apps/tests/pteb/pteb.exe $ROS_INSTALL/bin
122 cp apps/tests/consume/consume.exe $ROS_INSTALL/bin
123 cp apps/tests/vmtest/vmtest.exe $ROS_INSTALL_TESTS
124 cp apps/tests/gditest/gditest.exe $ROS_INSTALL_TESTS
125 cp apps/tests/shaptest/shaptest.exe $ROS_INSTALL_TESTS
126 cp apps/tests/dibtest/dibtest.exe $ROS_INSTALL_TESTS
127 cp apps/tests/mstest/msserver.exe $ROS_INSTALL_TESTS
128 cp apps/tests/mstest/msclient.exe $ROS_INSTALL_TESTS
129 cp apps/tests/nptest/npserver.exe $ROS_INSTALL_TESTS
130 cp apps/tests/nptest/npclient.exe $ROS_INSTALL_TESTS
131 cp apps/tests/atomtest/atomtest.exe $ROS_INSTALL_TESTS
132 cp apps/tests/mutex/mutex.exe $ROS_INSTALL/bin
133 cp apps/tests/winhello/winhello.exe $ROS_INSTALL/bin
134 cp apps/tests/eventpair/eventpair.exe $ROS_INSTALL_TESTS
135 cp apps/tests/threadwait/threadwait.exe $ROS_INSTALL_TESTS
136 cp apps/tests/multiwin/multiwin.exe $ROS_INSTALL/bin
137 cp apps/tests/wm_paint/wm_paint.exe $ROS_INSTALL_TESTS
138 cp apps/tests/bitblt/lena.bmp $ROS_INSTALL_TESTS
139 cp apps/tests/bitblt/bitblt.exe $ROS_INSTALL_TESTS
140 cp apps/tests/sectest/sectest.exe $ROS_INSTALL_TESTS
141 cp apps/tests/isotest/isotest.exe $ROS_INSTALL_TESTS
142 cp apps/tests/regtest/regtest.exe $ROS_INSTALL_TESTS
143 cp apps/tests/hivetest/hivetest.exe $ROS_INSTALL_TESTS
144 cp apps/tests/restest/restest.exe $ROS_INSTALL_TESTS
145 cp apps/tests/tokentest/tokentest.exe $ROS_INSTALL_TESTS
146 cp apps/tests/icontest/icontest.exe $ROS_INSTALL_TESTS
147 cp apps/tests/icontest/icon.ico $ROS_INSTALL_TESTS
148 cp apps/tests/palbitblt/palbitblt.exe $ROS_INSTALL_TESTS
149 cp apps/testsets/msvcrt/fileio/fileio.exe $ROS_INSTALL_TESTS
150 cp apps/testsets/msvcrt/mbtowc/mbtowc.exe $ROS_INSTALL_TESTS
151 cp apps/testsets/test/test.exe $ROS_INSTALL_TESTS
152 cp apps/testsets/testperl/testperl.exe $ROS_INSTALL_TESTS
153 cp media/fonts/*.ttf $ROS_INSTALL/media/fonts
154 cp media/nls/c_1252.nls $ROS_INSTALL/system32/ansi.nls
155 cp media/nls/c_437.nls $ROS_INSTALL/system32/oem.nls
156 cp media/nls/l_intl.nls $ROS_INSTALL/system32/casemap.nls
157 cp ntoskrnl/ntoskrnl.map $ROS_INSTALL/symbols
158
159 tools/mkhive/mkhive bootdata $ROS_INSTALL/system32/config
160
161 echo Done.