b124a5d98780f114b0ec2937f16ac18cac2263ba
[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 drivers\fs\vfat\vfatfs.sys %ROS_INSTALL%\system32\drivers
29 copy drivers\fs\cdfs\cdfs.sys %ROS_INSTALL%\system32\drivers
30 copy drivers\fs\fs_rec\fs_rec.sys %ROS_INSTALL%\system32\drivers
31 copy drivers\fs\ms\msfs.sys %ROS_INSTALL%\system32\drivers
32 copy drivers\fs\np\npfs.sys %ROS_INSTALL%\system32\drivers
33 copy drivers\fs\ntfs\ntfs.sys %ROS_INSTALL%\system32\drivers
34 copy drivers\fs\mup\mup.sys %ROS_INSTALL%\system32\drivers
35 copy drivers\bus\acpi\acpi.sys %ROS_INSTALL%\system32\drivers
36 copy drivers\bus\isapnp\isapnp.sys %ROS_INSTALL%\system32\drivers
37 copy drivers\bus\pci\pci.sys %ROS_INSTALL%\system32\drivers
38 copy drivers\dd\floppy\floppy.sys %ROS_INSTALL%\system32\drivers
39 copy drivers\input\keyboard\keyboard.sys %ROS_INSTALL%\system32\drivers
40 copy drivers\input\mouclass\mouclass.sys %ROS_INSTALL%\system32\drivers
41 copy drivers\input\psaux\psaux.sys %ROS_INSTALL%\system32\drivers
42 copy drivers\dd\blue\blue.sys %ROS_INSTALL%\system32\drivers
43 copy drivers\dd\beep\beep.sys %ROS_INSTALL%\system32\drivers
44 copy drivers\dd\null\null.sys %ROS_INSTALL%\system32\drivers
45 copy drivers\dd\serial\serial.sys %ROS_INSTALL%\system32\drivers
46 copy drivers\dd\serenum\serenum.sys %ROS_INSTALL%\system32\drivers
47 copy drivers\dd\vga\miniport\vgamp.sys %ROS_INSTALL%\system32\drivers
48 copy drivers\dd\vga\display\vgaddi.dll %ROS_INSTALL%\system32\drivers
49 copy drivers\dd\vidport\vidport.sys %ROS_INSTALL%\system32\drivers
50 copy drivers\net\afd\afd.sys %ROS_INSTALL%\system32\drivers
51 copy drivers\net\dd\ne2000\ne2000.sys %ROS_INSTALL%\system32\drivers
52 copy drivers\net\dd\miniport\nscirda\nscirda.sys %ROS_INSTALL%\system32\drivers
53 copy drivers\net\ndis\ndis.sys %ROS_INSTALL%\system32\drivers
54 copy drivers\net\packet\packet.sys %ROS_INSTALL%\system32\drivers
55 copy drivers\net\tcpip\tcpip.sys %ROS_INSTALL%\system32\drivers
56 copy drivers\net\wshtcpip\wshtcpip.dll %ROS_INSTALL%\system32
57 copy drivers\storage\atapi\atapi.sys %ROS_INSTALL%\system32\drivers
58 copy drivers\storage\scsiport\scsiport.sys %ROS_INSTALL%\system32\drivers
59 copy drivers\storage\cdrom\cdrom.sys %ROS_INSTALL%\system32\drivers
60 copy drivers\storage\disk\disk.sys %ROS_INSTALL%\system32\drivers
61 copy drivers\storage\class2\class2.sys %ROS_INSTALL%\system32\drivers
62 copy subsys\system\autochk\autochk.exe %ROS_INSTALL%\system32
63 copy subsys\system\gstart\gstart.exe %ROS_INSTALL%\system32
64 copy subsys\system\shell\shell.exe %ROS_INSTALL%\system32
65 copy subsys\system\winlogon\winlogon.exe %ROS_INSTALL%\system32
66 copy subsys\system\services\services.exe %ROS_INSTALL%\system32
67 copy services\eventlog\eventlog.exe %ROS_INSTALL%\system32
68 copy services\rpcss\rpcss.exe %ROS_INSTALL%\system32
69 copy lib\advapi32\advapi32.dll %ROS_INSTALL%\system32
70 copy lib\crtdll\crtdll.dll %ROS_INSTALL%\system32
71 copy lib\fmifs\fmifs.dll %ROS_INSTALL%\system32
72 copy lib\gdi32\gdi32.dll %ROS_INSTALL%\system32
73 copy lib\iphlpapi\iphlpapi.dll %ROS_INSTALL%\system32
74 copy lib\kernel32\kernel32.dll %ROS_INSTALL%\system32
75 copy lib\libpcap\libpcap.dll %ROS_INSTALL%\system32
76 copy lib\msafd\msafd.dll %ROS_INSTALL%\system32
77 copy lib\msvcrt\msvcrt.dll %ROS_INSTALL%\system32
78 copy lib\ntdll\ntdll.dll %ROS_INSTALL%\system32
79 copy lib\packet\packet.dll %ROS_INSTALL%\system32
80 copy lib\secur32\secur32.dll %ROS_INSTALL%\system32
81 copy lib\shell32\roshel32.dll %ROS_INSTALL%\system32
82 copy lib\snmpapi\snmpapi.dll %ROS_INSTALL%\system32
83 copy lib\user32\user32.dll %ROS_INSTALL%\system32
84 copy lib\winmm\winmm.dll %ROS_INSTALL%\system32
85 copy lib\ws2_32\ws2_32.dll %ROS_INSTALL%\system32
86 copy lib\ws2help\ws2help.dll %ROS_INSTALL%\system32
87 copy lib\wshirda\wshirda.dll %ROS_INSTALL%\system32
88 copy lib\wsock32\wsock32.dll %ROS_INSTALL%\system32
89 copy subsys\smss\smss.exe %ROS_INSTALL%\system32
90 copy subsys\csrss\csrss.exe %ROS_INSTALL%\system32
91 copy subsys\win32k\win32k.sys %ROS_INSTALL%\system32\drivers
92 copy apps\utils\cat\cat.exe %ROS_INSTALL%\bin
93 copy apps\utils\partinfo\partinfo.exe %ROS_INSTALL%\bin
94 copy apps\utils\objdir\objdir.exe %ROS_INSTALL%\bin
95 copy apps\utils\pice\module\pice.sys %ROS_INSTALL%\system32\drivers
96 copy apps\utils\pice\module\pice.sym %ROS_INSTALL%\symbols
97 copy apps\utils\pice\pice.cfg %ROS_INSTALL%\symbols
98 copy apps\tests\hello\hello.exe %ROS_INSTALL%\bin
99 copy apps\tests\args\args.exe %ROS_INSTALL%\bin
100 copy apps\tests\apc\apc.exe %ROS_INSTALL%\bin
101 copy apps\tests\shm\shmsrv.exe %ROS_INSTALL%\bin
102 copy apps\tests\shm\shmclt.exe %ROS_INSTALL%\bin
103 copy apps\tests\lpc\lpcsrv.exe %ROS_INSTALL%\bin
104 copy apps\tests\lpc\lpcclt.exe %ROS_INSTALL%\bin
105 copy apps\tests\thread\thread.exe %ROS_INSTALL%\bin
106 copy apps\tests\event\event.exe %ROS_INSTALL%\bin
107 copy apps\tests\file\file.exe %ROS_INSTALL%\bin
108 copy apps\tests\pteb\pteb.exe %ROS_INSTALL%\bin
109 copy apps\tests\consume\consume.exe %ROS_INSTALL%\bin
110 copy apps\tests\vmtest\vmtest.exe %ROS_INSTALL%\bin
111 copy apps\tests\gditest\gditest.exe %ROS_INSTALL%\bin
112 copy apps\tests\dibtest\dibtest.exe %ROS_INSTALL%\bin
113 copy apps\tests\mstest\msserver.exe %ROS_INSTALL%\bin
114 copy apps\tests\mstest\msclient.exe %ROS_INSTALL%\bin
115 copy apps\tests\nptest\npserver.exe %ROS_INSTALL%\bin
116 copy apps\tests\nptest\npclient.exe %ROS_INSTALL%\bin
117 copy apps\tests\atomtest\atomtest.exe %ROS_INSTALL%\bin
118 copy apps\tests\mutex\mutex.exe %ROS_INSTALL%\bin
119 copy apps\tests\winhello\winhello.exe %ROS_INSTALL%\bin
120 copy apps\tests\sectest\sectest.exe %ROS_INSTALL%\bin
121 copy apps\tests\isotest\isotest.exe %ROS_INSTALL%\bin
122 copy apps\tests\regtest\regtest.exe %ROS_INSTALL%\bin
123 copy apps\tests\restest\restest.exe %ROS_INSTALL%\bin
124 copy apps\tests\tokentest\tokentest.exe %ROS_INSTALL%\bin
125 copy media\fonts\helb____.ttf %ROS_INSTALL%\media\fonts
126 copy media\fonts\timr____.ttf %ROS_INSTALL%\media\fonts
127 copy media\nls\*.nls %ROS_INSTALL%\system32
128 copy ntoskrnl\ntoskrnl.map %ROS_INSTALL%\symbols