2 if "%1" == "" goto NoParameter
6 if "%ROS_INSTALL%" == "" goto UseDefault
9 set ROS_INSTALL
=c
:\reactos
11 echo Installing to
%ROS_INSTALL%
14 set ROS_INSTALL_TESTS
=%ROS_INSTALL%\test
18 md %ROS_INSTALL_TESTS%
19 md %ROS_INSTALL%\symbols
20 md %ROS_INSTALL%\system32
21 md %ROS_INSTALL%\system32\config
22 md %ROS_INSTALL%\system32\drivers
23 md %ROS_INSTALL%\media
24 md %ROS_INSTALL%\media
\fonts
27 echo installing
boot files...
28 copy boot.bat
%ROS_INSTALL%
29 copy bootc.lst
%ROS_INSTALL%
30 copy aboot.bat
%ROS_INSTALL%
31 copy loaders\dos\loadros.com
%ROS_INSTALL%
34 echo installing ntoskrnl and hal...
35 copy ntoskrnl
\ntoskrnl.exe
%ROS_INSTALL%\system32
36 copy ntoskrnl
\ntoskrnl.sym
%ROS_INSTALL%\symbols
37 copy ntoskrnl
\ntoskrnl.map
%ROS_INSTALL%\symbols
38 copy hal\halx86\hal.dll
%ROS_INSTALL%\system32
41 echo installing file system drivers...
42 copy drivers
\fs
\vfat
\vfatfs.sys
%ROS_INSTALL%\system32\drivers
43 copy drivers
\fs\cdfs\cdfs.sys
%ROS_INSTALL%\system32\drivers
44 copy drivers
\fs
\fs_rec
\fs_rec.sys
%ROS_INSTALL%\system32\drivers
45 copy drivers
\fs\ms\msfs.sys
%ROS_INSTALL%\system32\drivers
46 copy drivers
\fs
\np
\npfs.sys
%ROS_INSTALL%\system32\drivers
47 copy drivers
\fs
\ntfs
\ntfs.sys
%ROS_INSTALL%\system32\drivers
48 copy drivers
\fs\mup\mup.sys
%ROS_INSTALL%\system32\drivers
51 echo installing bus and misc drivers...
52 copy drivers
\bus
\acpi
\acpi.sys
%ROS_INSTALL%\system32\drivers
53 copy drivers
\bus\isapnp\isapnp.sys
%ROS_INSTALL%\system32\drivers
54 copy drivers
\bus\pci\pci.sys
%ROS_INSTALL%\system32\drivers
55 copy drivers\dd
\floppy
\floppy.sys
%ROS_INSTALL%\system32\drivers
56 copy drivers\lib
\bzip
2\unbzip2.sys
%ROS_INSTALL%\system32\drivers
59 echo installing input drivers...
60 copy drivers\input\keyboard\keyboard.sys
%ROS_INSTALL%\system32\drivers
61 copy drivers\input\mouclass\mouclass.sys
%ROS_INSTALL%\system32\drivers
62 copy drivers\input\psaux\psaux.sys
%ROS_INSTALL%\system32\drivers
63 copy drivers\input\sermouse\sermouse.sys
%ROS_INSTALL%\system32\drivers
66 echo installing dd drivers...
67 copy drivers\dd
\blue
\blue.sys
%ROS_INSTALL%\system32\drivers
68 copy drivers\dd
\beep
\beep.sys
%ROS_INSTALL%\system32\drivers
69 copy drivers\dd\debugout\debugout.sys
%ROS_INSTALL%\system32\drivers
70 copy drivers\dd
\null
\null.sys
%ROS_INSTALL%\system32\drivers
71 copy drivers\dd\serial\serial.sys
%ROS_INSTALL%\system32\drivers
72 copy drivers\dd
\vga\miniport
\vgamp.sys
%ROS_INSTALL%\system32\drivers
73 copy drivers\dd
\vga\display
\vgaddi.dll
%ROS_INSTALL%\system32
74 copy drivers\dd
\videoprt
\videoprt.sys
%ROS_INSTALL%\system32\drivers
76 rem copy drivers\dd\serenum\serenum.sys %ROS_INSTALL%\system32\drivers
79 echo installing
net drivers...
80 copy drivers
\net
\afd
\afd.sys
%ROS_INSTALL%\system32\drivers
81 copy drivers
\net\dd
\ne
2000\ne
2000.sys
%ROS_INSTALL%\system32\drivers
82 copy drivers
\net\dd\pcnet\pcnet.sys
%ROS_INSTALL%\system32\drivers
83 copy drivers
\net
\ndis
\ndis.sys
%ROS_INSTALL%\system32\drivers
84 copy drivers
\net
\tdi
\tdi.sys
%ROS_INSTALL%\system32\drivers
85 copy drivers
\net
\tcpip
\tcpip.sys
%ROS_INSTALL%\system32\drivers
86 copy drivers
\net\wshtcpip\wshtcpip.dll
%ROS_INSTALL%\system32
88 rem copy drivers\net\dd\miniport\nscirda\nscirda.sys %ROS_INSTALL%\system32\drivers
89 rem copy drivers\net\packet\packet.sys %ROS_INSTALL%\system32\drivers
92 echo installing storage drivers...
93 copy drivers\storage
\atapi
\atapi.sys
%ROS_INSTALL%\system32\drivers
94 copy drivers\storage\scsiport\scsiport.sys
%ROS_INSTALL%\system32\drivers
95 copy drivers\storage\cdrom\cdrom.sys
%ROS_INSTALL%\system32\drivers
96 copy drivers\storage\disk\disk.sys
%ROS_INSTALL%\system32\drivers
97 copy drivers\storage\class2\class2.sys
%ROS_INSTALL%\system32\drivers
100 echo installing system
files and services...
101 copy subsys\system
\autochk
\autochk.exe
%ROS_INSTALL%\system32
102 copy subsys\system\
cmd\
cmd.exe
%ROS_INSTALL%\system32
103 copy subsys\system\services\services.exe
%ROS_INSTALL%\system32
104 copy subsys\system\setup\setup.exe
%ROS_INSTALL%\system32
105 copy subsys\system\winlogon\winlogon.exe
%ROS_INSTALL%\system32
106 copy services\eventlog\eventlog.exe
%ROS_INSTALL%\system32
107 copy services
\rpcss
\rpcss.exe
%ROS_INSTALL%\system32
108 copy subsys\smss\smss.exe
%ROS_INSTALL%\system32
109 copy subsys\csrss\csrss.exe
%ROS_INSTALL%\system32
110 copy subsys\csrss\win32csr\win32csr.dll
%ROS_INSTALL%\system32
111 copy subsys
\ntvdm
\ntvdm.exe
%ROS_INSTALL%\system32
112 copy subsys\win32k\win32k.sys
%ROS_INSTALL%\system32
113 copy subsys\system\usetup\usetup.exe
%ROS_INSTALL%\system32
116 echo installing user
-mode dlls...
117 copy lib
\advapi
32\advapi
32.dll
%ROS_INSTALL%\system32
118 copy lib\cards\cards.dll
%ROS_INSTALL%\system32
119 copy lib\crtdll\crtdll.dll
%ROS_INSTALL%\system32
120 copy lib
\fmifs
\fmifs.dll
%ROS_INSTALL%\system32
121 copy lib
\freetype
\freetype.dll
%ROS_INSTALL%\system32
122 copy lib\gdi32\gdi32.dll
%ROS_INSTALL%\system32
123 copy lib\iphlpapi\iphlpapi.dll
%ROS_INSTALL%\system32
124 copy lib\kernel32\kernel32.dll
%ROS_INSTALL%\system32
125 copy lib\lzexpand\lz32.dll
%ROS_INSTALL%\system32
126 copy lib\msafd\msafd.dll
%ROS_INSTALL%\system32
127 copy lib\msvcrt\msvcrt.dll
%ROS_INSTALL%\system32
128 copy lib\ole32\ole32.dll
%ROS_INSTALL%\system32
129 copy lib\winmm\winmm.dll
%ROS_INSTALL%\system32
130 copy lib\comctl32.dll
%ROS_INSTALL%\system32
132 echo installing user
-mode dlls
(2)...
133 copy lib
\ntdll
\ntdll.dll
%ROS_INSTALL%\system32
134 copy lib\packet\packet.dll
%ROS_INSTALL%\system32
135 copy lib\secur32\secur32.dll
%ROS_INSTALL%\system32
136 copy lib\syssetup\syssetup.dll
%ROS_INSTALL%\system32
137 copy lib
\twain
\twain_
32.dll
%ROS_INSTALL%\system32
138 copy lib\user32\user32.dll
%ROS_INSTALL%\system32
139 copy lib
\version
\version.dll
%ROS_INSTALL%\system32
140 copy lib\winedbgc\winedbgc.dll
%ROS_INSTALL%\system32
141 copy lib\winspool\winspool.drv
%ROS_INSTALL%\system32
142 copy lib\ws2_32\ws2_32.dll
%ROS_INSTALL%\system32
145 echo installing user
-mode dlls
(3)...
146 copy lib\ws2help\ws2help.dll
%ROS_INSTALL%\system32
147 copy lib\wshirda\wshirda.dll
%ROS_INSTALL%\system32
148 copy lib\wsock32\wsock32.dll
%ROS_INSTALL%\system32
149 copy lib\kbdus\kbdus.dll
%ROS_INSTALL%\system32
151 rem copy lib\winmm\winmm.dll %ROS_INSTALL%\system32
152 rem copy lib\shell32\roshel32.dll %ROS_INSTALL%\system32
153 rem copy lib\snmpapi\snmpapi.dll %ROS_INSTALL%\system32
154 rem copy lib\libpcap\libpcap.dll %ROS_INSTALL%\system32
157 echo installing utilities...
158 copy apps\utils\cat\cat.exe
%ROS_INSTALL%\bin
159 copy apps\utils\partinfo\partinfo.exe
%ROS_INSTALL%\bin
160 copy apps\utils\objdir\objdir.exe
%ROS_INSTALL%\bin
161 copy apps\utils\pice\pice.cfg
%ROS_INSTALL%\symbols
162 copy apps\utils\sc\sc.exe
%ROS_INSTALL%\bin
163 copy apps\utils
\rundll
32\rundll
32.exe
%ROS_INSTALL%\bin
165 rem copy apps\utils\pice\module\pice.sys %ROS_INSTALL%\system32\drivers
166 rem copy apps\utils\pice\module\pice.sym %ROS_INSTALL%\symbols
169 echo installing tests...
170 copy apps
\tests\hello\hello.exe
%ROS_INSTALL%\bin
171 copy apps
\tests
\args
\args.exe
%ROS_INSTALL%\bin
172 copy apps
\tests
\apc
\apc.exe
%ROS_INSTALL%\bin
173 copy apps
\tests
\apc
2\apc
2.exe
%ROS_INSTALL%\bin
174 copy apps
\tests\shm\shmsrv.exe
%ROS_INSTALL%\bin
175 copy apps
\tests\shm\shmclt.exe
%ROS_INSTALL%\bin
176 copy apps
\tests\lpc\lpcsrv.exe
%ROS_INSTALL%\bin
177 copy apps
\tests\lpc\lpcclt.exe
%ROS_INSTALL%\bin
178 copy apps
\tests
\thread
\thread.exe
%ROS_INSTALL%\bin
179 copy apps
\tests\enumwnd\enumwnd.exe
%ROS_INSTALL%\bin
180 copy apps
\tests\event\event.exe
%ROS_INSTALL%\bin
183 echo installing tests
(2)...
184 copy apps
\tests
\file
\file.exe
%ROS_INSTALL%\bin
185 copy apps
\tests\pteb\pteb.exe
%ROS_INSTALL%\bin
186 copy apps
\tests\consume\consume.exe
%ROS_INSTALL%\bin
187 copy apps
\tests
\button
\btntest.exe
%ROS_INSTALL_TESTS%
188 copy apps
\tests
\button
2\btntest
2.exe
%ROS_INSTALL_TESTS%
189 copy apps
\tests\combo\combotst.exe
%ROS_INSTALL_TESTS%
190 copy apps
\tests\lineclip\lineclip.exe
%ROS_INSTALL_TESTS%
191 copy apps
\tests\edit\edittest.exe
%ROS_INSTALL_TESTS%
192 copy apps
\tests
\vmtest
\vmtest.exe
%ROS_INSTALL_TESTS%
193 copy apps
\tests\gditest\gditest.exe
%ROS_INSTALL_TESTS%
196 echo installing tests
(3)...
197 copy apps
\tests\shaptest\shaptest.exe
%ROS_INSTALL_TESTS%
198 copy apps
\tests\dibtest\dibtest.exe
%ROS_INSTALL_TESTS%
199 copy apps
\tests\mstest\msserver.exe
%ROS_INSTALL_TESTS%
200 copy apps
\tests\mstest\msclient.exe
%ROS_INSTALL_TESTS%
201 copy apps
\tests
\nptest
\npserver.exe
%ROS_INSTALL_TESTS%
202 copy apps
\tests
\nptest
\npclient.exe
%ROS_INSTALL_TESTS%
203 copy apps
\tests
\atomtest
\atomtest.exe
%ROS_INSTALL_TESTS%
204 copy apps
\tests\mutex\mutex.exe
%ROS_INSTALL%\bin
205 copy apps
\tests\winhello\winhello.exe
%ROS_INSTALL%\bin
206 copy apps
\tests\multiwin\multiwin.exe
%ROS_INSTALL%\bin
209 echo installing tests
(4)...
210 copy apps
\tests\wm_paint\wm_paint.exe
%ROS_INSTALL_TESTS%
211 copy apps
\tests
\bitblt\lena.bmp
%ROS_INSTALL_TESTS%
212 copy apps
\tests
\bitblt
\bitblt.exe
%ROS_INSTALL_TESTS%
213 copy apps
\tests\sectest\sectest.exe
%ROS_INSTALL_TESTS%
214 copy apps
\tests\isotest\isotest.exe
%ROS_INSTALL_TESTS%
215 copy apps
\tests
\regtest
\regtest.exe
%ROS_INSTALL_TESTS%
216 copy apps
\tests\hivetest\hivetest.exe
%ROS_INSTALL_TESTS%
217 copy apps
\tests
\tokentest
\tokentst.exe
%ROS_INSTALL_TESTS%
218 copy apps
\tests\icontest\icontest.exe
%ROS_INSTALL_TESTS%
219 copy apps
\tests\icontest\icon.ico
%ROS_INSTALL_TESTS%
222 echo installing tests
(5)...
223 copy apps
\tests\wm_paint\wm_paint.exe
%ROS_INSTALL_TESTS%
224 copy apps
\tests\primitives\primitives.exe
%ROS_INSTALL_TESTS%
225 copy apps
\tests\patblt\patblt.exe
%ROS_INSTALL_TESTS%
226 copy apps
\tests\patblt\Penguin.bmp
%ROS_INSTALL_TESTS%
227 copy apps
\tests\wm_erasebkgnd\wm_erasebkgnd.exe
%ROS_INSTALL_TESTS%
228 copy apps
\tests\wm_erasebkgnd\BACKBITMAP.BMP
%ROS_INSTALL_TESTS%
229 copy apps
\tests\stretchblt\stretchblt.exe
%ROS_INSTALL_TESTS%
230 copy apps
\tests
\txtscale
\txtscale.exe
%ROS_INSTALL_TESTS%
231 copy apps
\tests\linetest\linetest.exe
%ROS_INSTALL_TESTS%
232 copy apps
\tests\palbitblt\palbitblt.exe
%ROS_INSTALL_TESTS%
233 rem copy apps\tests\restest\restest.exe %ROS_INSTALL_TESTS%
234 rem copy apps\testsets\msvcrt\fileio\fileio.exe %ROS_INSTALL_TESTS%
235 rem copy apps\testsets\msvcrt\mbtowc\mbtowc.exe %ROS_INSTALL_TESTS%
236 rem copy apps\testsets\test\test.exe %ROS_INSTALL_TESTS%
237 rem copy apps\testsets\testperl\testperl.exe %ROS_INSTALL_TESTS%
240 echo installing fonts and media...
241 copy media
\fonts\
*.ttf
%ROS_INSTALL%\media
\fonts
242 copy media
\nls\c_1252.nls
%ROS_INSTALL%\system32
\ansi.nls
243 copy media
\nls\c_1252.nls
%ROS_INSTALL%\system32
244 copy media
\nls\c_437.nls
%ROS_INSTALL%\system32\oem.nls
245 copy media
\nls\c_437.nls
%ROS_INSTALL%\system32
246 copy media
\nls\l_intl.nls
%ROS_INSTALL%\system32\casemap.nls
247 copy media
\nls\l_intl.nls
%ROS_INSTALL%\system32
249 tools\mkhive\mkhive bootdata
%ROS_INSTALL%\system32\config
251 if "%ROS_BUILD_EXT%" == "" goto Finish
253 echo Installing extra programs from rosapps directory...
254 call ..
\rosapps\install.bat
%1
256 echo Installing targets modules ported from WINE...
257 call ..\wine\install.bat
%1
259 echo Installing targets
for POSIX
+ support...
260 call ..\posix\install.bat
%1
262 echo Installing targets
for OS
/2 support...
263 call ..\os2\install.bat
%1