c3bda1c5f248fb917cdb04c57235d5e28b3b00ad
[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\ide\ide.sys %ROS_INSTALL%\system32\drivers
39 copy drivers\dd\floppy\floppy.sys %ROS_INSTALL%\system32\drivers
40 copy drivers\input\keyboard\keyboard.sys %ROS_INSTALL%\system32\drivers
41 copy drivers\input\mouclass\mouclass.sys %ROS_INSTALL%\system32\drivers
42 copy drivers\input\psaux\psaux.sys %ROS_INSTALL%\system32\drivers
43 copy drivers\dd\blue\blue.sys %ROS_INSTALL%\system32\drivers
44 copy drivers\dd\beep\beep.sys %ROS_INSTALL%\system32\drivers
45 copy drivers\dd\null\null.sys %ROS_INSTALL%\system32\drivers
46 copy drivers\dd\vga\miniport\vgamp.sys %ROS_INSTALL%\system32\drivers
47 copy drivers\dd\vga\display\vgaddi.dll %ROS_INSTALL%\system32\drivers
48 copy drivers\dd\vidport\vidport.sys %ROS_INSTALL%\system32\drivers
49 copy drivers\net\afd\afd.sys %ROS_INSTALL%\system32\drivers
50 copy drivers\net\dd\ne2000\ne2000.sys %ROS_INSTALL%\system32\drivers
51 copy drivers\net\ndis\ndis.sys %ROS_INSTALL%\system32\drivers
52 copy drivers\net\packet\packet.sys %ROS_INSTALL%\system32\drivers
53 copy drivers\net\tcpip\tcpip.sys %ROS_INSTALL%\system32\drivers
54 copy drivers\net\wshtcpip\wshtcpip.dll %ROS_INSTALL%\system32
55 copy drivers\storage\atapi\atapi.sys %ROS_INSTALL%\system32\drivers
56 copy drivers\storage\scsiport\scsiport.sys %ROS_INSTALL%\system32\drivers
57 copy drivers\storage\cdrom\cdrom.sys %ROS_INSTALL%\system32\drivers
58 copy drivers\storage\disk\disk.sys %ROS_INSTALL%\system32\drivers
59 copy drivers\storage\class2\class2.sys %ROS_INSTALL%\system32\drivers
60 copy subsys\system\autochk\autochk.exe %ROS_INSTALL%\system32
61 copy subsys\system\gstart\gstart.exe %ROS_INSTALL%\system32
62 copy subsys\system\shell\shell.exe %ROS_INSTALL%\system32
63 copy subsys\system\winlogon\winlogon.exe %ROS_INSTALL%\system32
64 copy subsys\system\services\services.exe %ROS_INSTALL%\system32
65 copy services\eventlog\eventlog.exe %ROS_INSTALL%\system32
66 copy services\rpcss\rpcss.exe %ROS_INSTALL%\system32
67 copy lib\advapi32\advapi32.dll %ROS_INSTALL%\system32
68 copy lib\crtdll\crtdll.dll %ROS_INSTALL%\system32
69 copy lib\fmifs\fmifs.dll %ROS_INSTALL%\system32
70 copy lib\gdi32\gdi32.dll %ROS_INSTALL%\system32
71 copy lib\kernel32\kernel32.dll %ROS_INSTALL%\system32
72 copy lib\msafd\msafd.dll %ROS_INSTALL%\system32
73 copy lib\msvcrt\msvcrt.dll %ROS_INSTALL%\system32
74 copy lib\ntdll\ntdll.dll %ROS_INSTALL%\system32
75 copy lib\secur32\secur32.dll %ROS_INSTALL%\system32
76 copy lib\user32\user32.dll %ROS_INSTALL%\system32
77 copy lib\ws2_32\ws2_32.dll %ROS_INSTALL%\system32
78 copy subsys\smss\smss.exe %ROS_INSTALL%\system32
79 copy subsys\csrss\csrss.exe %ROS_INSTALL%\system32
80 copy subsys\win32k\win32k.sys %ROS_INSTALL%\system32\drivers
81 copy apps\utils\cat\cat.exe %ROS_INSTALL%\bin
82 copy apps\utils\partinfo\partinfo.exe %ROS_INSTALL%\bin
83 copy apps\utils\objdir\objdir.exe %ROS_INSTALL%\bin
84 copy apps\utils\pice\module\pice.sys %ROS_INSTALL%\system32\drivers
85 copy apps\utils\pice\module\pice.sym %ROS_INSTALL%\symbols
86 copy apps\utils\pice\pice.cfg %ROS_INSTALL%\symbols
87 copy apps\tests\hello\hello.exe %ROS_INSTALL%\bin
88 copy apps\tests\args\args.exe %ROS_INSTALL%\bin
89 copy apps\tests\apc\apc.exe %ROS_INSTALL%\bin
90 copy apps\tests\shm\shmsrv.exe %ROS_INSTALL%\bin
91 copy apps\tests\shm\shmclt.exe %ROS_INSTALL%\bin
92 copy apps\tests\lpc\lpcsrv.exe %ROS_INSTALL%\bin
93 copy apps\tests\lpc\lpcclt.exe %ROS_INSTALL%\bin
94 copy apps\tests\thread\thread.exe %ROS_INSTALL%\bin
95 copy apps\tests\event\event.exe %ROS_INSTALL%\bin
96 copy apps\tests\file\file.exe %ROS_INSTALL%\bin
97 copy apps\tests\pteb\pteb.exe %ROS_INSTALL%\bin
98 copy apps\tests\consume\consume.exe %ROS_INSTALL%\bin
99 copy apps\tests\vmtest\vmtest.exe %ROS_INSTALL%\bin
100 copy apps\tests\gditest\gditest.exe %ROS_INSTALL%\bin
101 copy apps\tests\mstest\msserver.exe %ROS_INSTALL%\bin
102 copy apps\tests\mstest\msclient.exe %ROS_INSTALL%\bin
103 copy apps\tests\nptest\npserver.exe %ROS_INSTALL%\bin
104 copy apps\tests\nptest\npclient.exe %ROS_INSTALL%\bin
105 copy apps\tests\atomtest\atomtest.exe %ROS_INSTALL%\bin
106 copy apps\tests\mutex\mutex.exe %ROS_INSTALL%\bin
107 copy apps\tests\winhello\winhello.exe %ROS_INSTALL%\bin
108 copy apps\tests\sectest\sectest.exe %ROS_INSTALL%\bin
109 copy apps\tests\isotest\isotest.exe %ROS_INSTALL%\bin
110 copy apps\tests\regtest\regtest.exe %ROS_INSTALL%\bin
111 copy apps\tests\tokentest\tokentest.exe %ROS_INSTALL%\bin
112 copy media\fonts\helb____.ttf %ROS_INSTALL%\media\fonts
113 copy media\fonts\timr____.ttf %ROS_INSTALL%\media\fonts
114 copy media\nls\*.nls %ROS_INSTALL%\system32
115 copy ntoskrnl\ntoskrnl.map %ROS_INSTALL%\symbols
116