Added support for .lst files. Thanks to Art Yerkes.
[reactos.git] / reactos / install.bat
1 @echo off
2 if "%1" == "" goto NoParameter
3 set ROS_INSTALL=%1
4 goto Install
5 :NoParameter
6 set ROS_INSTALL=c:\reactos
7 :Install
8 echo on
9 echo Installing to %ROS_INSTALL%
10 @echo off
11
12 md %ROS_INSTALL%
13 md %ROS_INSTALL%\bin
14 md %ROS_INSTALL%\symbols
15 md %ROS_INSTALL%\system32
16 md %ROS_INSTALL%\system32\config
17 md %ROS_INSTALL%\system32\drivers
18 md %ROS_INSTALL%\media
19 md %ROS_INSTALL%\media\fonts
20 copy boot.bat %ROS_INSTALL%
21 copy bootc.lst %ROS_INSTALL%
22 copy aboot.bat %ROS_INSTALL%
23 copy system.hiv %ROS_INSTALL%\system32\config
24 copy loaders\dos\loadros.com %ROS_INSTALL%
25 copy ntoskrnl\ntoskrnl.exe %ROS_INSTALL%\system32
26 copy ntoskrnl\ntoskrnl.sym %ROS_INSTALL%\symbols
27 copy hal\halx86\hal.dll %ROS_INSTALL%\system32
28 copy services\fs\vfat\vfatfs.sys %ROS_INSTALL%\system32\drivers
29 copy services\fs\ms\msfs.sys %ROS_INSTALL%\system32\drivers
30 copy services\fs\np\npfs.sys %ROS_INSTALL%\system32\drivers
31 copy services\bus\acpi\acpi.sys %ROS_INSTALL%\system32\drivers
32 copy services\bus\isapnp\isapnp.sys %ROS_INSTALL%\system32\drivers
33 copy services\bus\pci\pci.sys %ROS_INSTALL%\system32\drivers
34 copy services\dd\ide\ide.sys %ROS_INSTALL%\system32\drivers
35 copy services\dd\floppy\floppy.sys %ROS_INSTALL%\system32\drivers
36 copy services\input\keyboard\keyboard.sys %ROS_INSTALL%\system32\drivers
37 copy services\input\mouclass\mouclass.sys %ROS_INSTALL%\system32\drivers
38 copy services\input\psaux\psaux.sys %ROS_INSTALL%\system32\drivers
39 copy services\dd\blue\blue.sys %ROS_INSTALL%\system32\drivers
40 copy services\dd\vga\miniport\vgamp.sys %ROS_INSTALL%\system32\drivers
41 copy services\dd\vga\display\vgaddi.dll %ROS_INSTALL%\system32\drivers
42 copy services\dd\vidport\vidport.sys %ROS_INSTALL%\system32\drivers
43 copy services\net\afd\afd.sys %ROS_INSTALL%\system32\drivers
44 copy services\net\dd\ne2000\ne2000.sys %ROS_INSTALL%\system32\drivers
45 copy services\net\ndis\ndis.sys %ROS_INSTALL%\system32\drivers
46 copy services\net\tcpip\tcpip.sys %ROS_INSTALL%\system32\drivers
47 copy services\net\wshtcpip\wshtcpip.dll %ROS_INSTALL%\system32
48 copy services\storage\atapi\atapi.sys %ROS_INSTALL%\system32\drivers
49 copy services\storage\scsiport\scsiport.sys %ROS_INSTALL%\system32\drivers
50 copy services\storage\cdrom\cdrom.sys %ROS_INSTALL%\system32\drivers
51 copy services\storage\disk\disk.sys %ROS_INSTALL%\system32\drivers
52 copy services\storage\class2\class2.sys %ROS_INSTALL%\system32\drivers
53 copy apps\system\shell\shell.exe %ROS_INSTALL%\system32
54 copy apps\system\winlogon\winlogon.exe %ROS_INSTALL%\system32
55 copy apps\system\services\services.exe %ROS_INSTALL%\system32
56 copy lib\advapi32\advapi32.dll %ROS_INSTALL%\system32
57 copy lib\crtdll\crtdll.dll %ROS_INSTALL%\system32
58 copy lib\fmifs\fmifs.dll %ROS_INSTALL%\system32
59 copy lib\gdi32\gdi32.dll %ROS_INSTALL%\system32
60 copy lib\kernel32\kernel32.dll %ROS_INSTALL%\system32
61 copy lib\msafd\msafd.dll %ROS_INSTALL%\system32
62 copy lib\msvcrt\msvcrt.dll %ROS_INSTALL%\system32
63 copy lib\ntdll\ntdll.dll %ROS_INSTALL%\system32
64 copy lib\secur32\secur32.dll %ROS_INSTALL%\system32
65 copy lib\user32\user32.dll %ROS_INSTALL%\system32
66 copy lib\ws2_32\ws2_32.dll %ROS_INSTALL%\system32
67 copy apps\hello\hello.exe %ROS_INSTALL%\bin
68 copy apps\args\args.exe %ROS_INSTALL%\bin
69 copy apps\cat\cat.exe %ROS_INSTALL%\bin
70 copy subsys\smss\smss.exe %ROS_INSTALL%\system32
71 copy subsys\csrss\csrss.exe %ROS_INSTALL%\system32
72 copy subsys\win32k\win32k.sys %ROS_INSTALL%\system32\drivers
73 copy apps\apc\apc.exe %ROS_INSTALL%\bin
74 copy apps\shm\shmsrv.exe %ROS_INSTALL%\bin
75 copy apps\shm\shmclt.exe %ROS_INSTALL%\bin
76 copy apps\lpc\lpcsrv.exe %ROS_INSTALL%\bin
77 copy apps\lpc\lpcclt.exe %ROS_INSTALL%\bin
78 copy apps\thread\thread.exe %ROS_INSTALL%\bin
79 copy apps\event\event.exe %ROS_INSTALL%\bin
80 copy apps\file\file.exe %ROS_INSTALL%\bin
81 copy apps\pteb\pteb.exe %ROS_INSTALL%\bin
82 copy apps\consume\consume.exe %ROS_INSTALL%\bin
83 copy apps\vmtest\vmtest.exe %ROS_INSTALL%\bin
84 copy apps\gditest\gditest.exe %ROS_INSTALL%\bin
85 copy apps\mstest\msserver.exe %ROS_INSTALL%\bin
86 copy apps\mstest\msclient.exe %ROS_INSTALL%\bin
87 copy apps\nptest\npserver.exe %ROS_INSTALL%\bin
88 copy apps\nptest\npclient.exe %ROS_INSTALL%\bin
89 copy apps\atomtest\atomtest.exe %ROS_INSTALL%\bin
90 copy apps\partinfo\partinfo.exe %ROS_INSTALL%\bin
91 copy apps\objdir\objdir.exe %ROS_INSTALL%\bin
92 copy apps\mutex\mutex.exe %ROS_INSTALL%\bin
93 copy apps\winhello\winhello.exe %ROS_INSTALL%\bin
94 copy apps\pice\module\pice.sys %ROS_INSTALL%\system32\drivers
95 copy apps\pice\module\pice.sym %ROS_INSTALL%\symbols
96 copy apps\pice\pice.cfg %ROS_INSTALL%\symbols
97 copy apps\isotest\isotest.exe %ROS_INSTALL%\bin
98 copy media\fonts\helb____.ttf %ROS_INSTALL%\media\fonts
99 copy media\fonts\timr____.ttf %ROS_INSTALL%\media\fonts
100 copy media\nls\*.nls %ROS_INSTALL%\system32