- Timestamp:
- Jan 5, 2022 1:10:34 AM (3 years ago)
- Location:
- trunk/src/VBox/Main/UnattendedTemplates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/UnattendedTemplates/os2_cid_install.cmd
r93122 r93127 20 20 if "%1" == "PHASE1" goto phase1 21 21 if "%1" == "PHASE2" goto phase2 22 @echo ** error: invalid or missing parameter. Expected PHASE1 or PHASE2 as the first parameter to the script. 22 if "%1" == "PHASE3" goto phase3 23 @echo ** error: invalid or missing parameter. Expected PHASE1, PHASE2 or PHASE3 as the first parameter to the script. 23 24 pause 24 25 cmd.exe … … 135 136 cd C:\OS2 136 137 C: 137 C:\VBoxCID\OS2_UTIL.EXE -- C:\VBoxCID\SEMAINT.EXE /S:%CDROM%\os2image /B:C: /L1:C:\VBoxCID\1.4.1-Maint.log /T:C:\OS2 138 REM does not exit with status 0 on success. 139 goto semaint_ok 138 @REM Treat 0xfe00 as a success status. It seems to mean that a reboot is required. 139 C:\VBoxCID\OS2_UTIL.EXE --as-zero 0xfe00 -- C:\VBoxCID\SEMAINT.EXE /S:%CDROM%\os2image /B:C: /L1:C:\VBoxCID\1.4.1-Maint.log /T:C:\OS2 && goto semaint_ok 140 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\VBoxCID\1.4.1-Maint.log 140 141 pause 141 142 :semaint_ok … … 144 145 cd C:\VBoxCID 145 146 C: 146 C:\VBoxCID\OS2_UTIL.EXE -- C:\VBoxCID\SEINST.EXE /S:%CDROM%\os2image /B:C: /L1:C:\VBoxCID\1.4.2-CIDInst.log /R:C:\VBoxCID\OS2.RSP /T:A:\ 147 REM does not exit with status 0 on success. 148 goto seinst_ok 147 @REM Treat 0xff02 as a success status. It seems to mean that a reboot is required. 148 C:\VBoxCID\OS2_UTIL.EXE --as-zero 0xff02 -- C:\VBoxCID\SEINST.EXE /S:%CDROM%\os2image /B:C: /L1:C:\VBoxCID\1.4.2-CIDInst.log /R:C:\VBoxCID\OS2.RSP /T:A:\ && goto seinst_ok 149 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\VBoxCID\1.4.2-CIDInst.log 149 150 pause 150 151 :seinst_ok … … 189 190 190 191 REM 191 REM Phase 2 - The rest of the installation running of the base install.192 REM Phase 2 - Install GRADD drivers (VGA is horribly slow). 192 193 REM 193 194 :phase2 … … 218 219 @echo Step 2.1 - Install the video driver. 219 220 @echo . 220 C:\VBoxCID\OS2_UTIL.EXE -- C:\OS2\INSTALL\DspInstl.EXE /PD:C:\OS2\INSTALL\GENGRADD.DSC /S:%CDROM%\OS2IMAGE /T:C: /RES:1024X768X16777216 /U 221 @REM does not exit with status 0 on success. 222 goto dspinstl_ok 221 @REM Treat 0xfe00 as a success status. It seems to mean that a reboot is required. 222 C:\VBoxCID\OS2_UTIL.EXE --as-zero 0xfe00 -- C:\OS2\INSTALL\DspInstl.EXE /PD:C:\OS2\INSTALL\GENGRADD.DSC /S:%CDROM%\OS2IMAGE /T:C: /RES:1024X768X16777216 /U && goto dspinstl_ok 223 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\OS2\INSTALL\DSPINSTL.LOG 224 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\OS2\INSTALL\GRADD.LOG 223 225 pause 224 226 :dspinstl_ok 225 227 226 call VCfgCID.CMD /L1:C:\VBoxCID\2.1-Video.log /L2:C:\VBoxCID\2.1-Video-2.log /RES:1024X768X16777216227 228 @REM TODO: Error: 1 Error getting current desktop mode 229 @REM UPDATE: This is probably not working because SVGA.EXE doesn't want to play along with our graphics adapter, 230 @REM so it looks like there is no simple way of changing the resolution or select a better monitor. 231 call VCfgCID.CMD /L1:C:\VBoxCID\2.1-Video.log /L2:C:\VBoxCID\2.1-Video-2.log /RES:1024X768X16777216 /MON:548 228 232 goto vcfgcid_ok 233 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\VBoxCID\2.1-Video.log 229 234 pause 230 235 :vcfgcid_ok … … 233 238 234 239 :step2_2 235 @echo . 236 @echo Step 2.2 - Install multimedia. 240 @echo Install startup.cmd for phase3. 241 ren C:\STARTUP.CMD C:\VBoxCID\Phase2-end-startup.cmd 242 @echo C:\VBoxCID\OS2_UTIL.EXE --tee-to-backdoor --tee-to-file C:\VBoxCID\Phase3.log --append -- C:\OS2\CMD.EXE /C C:\VBoxCID\VBoxCID.CMD PHASE3> C:\STARTUP.CMD && goto phase3_startup_ok 243 pause 244 :phase3_startup_ok 245 246 REM now reboot. 247 goto reboot 248 249 250 REM 251 REM Phase 2 - The rest of the installation running of the base install with fast GRADD drivers. 252 REM 253 :phase3 254 SET CDROM=E: 255 IF EXIST "%CDROM%\VBoxCID.CMD" goto phase3_found_cdrom 256 SET CDROM=D: 257 IF EXIST "%CDROM%\VBoxCID.CMD" goto phase3_found_cdrom 258 SET CDROM=F: 259 IF EXIST "%CDROM%\VBoxCID.CMD" goto phase3_found_cdrom 260 SET CDROM=G: 261 IF EXIST "%CDROM%\VBoxCID.CMD" goto phase3_found_cdrom 262 SET CDROM=H: 263 IF EXIST "%CDROM%\VBoxCID.CMD" goto phase3_found_cdrom 264 SET CDROM=S: 265 IF EXIST "%CDROM%\VBoxCID.CMD" goto phase3_found_cdrom 266 @echo ** error: Unable to find the CDROM drive 267 pause 268 CMD 269 SET CDROM=E: 270 :phase3_found_cdrom 271 cd C:\VBoxCID 272 C: 273 274 @echo on 275 276 :step3_1 277 @echo . 278 @echo Step 3.1 - Install multimedia. 237 279 @echo . 238 280 cd C:\mmtemp 239 281 C: 240 DIR 241 C:\VBoxCID\OS2_UTIL.EXE -- MInstall.EXE /M /R:C:\VBoxCID\MMOS2.RSP && goto mmos2_ok 242 @REM TODO: crashes 282 @REM Does not have any /L, /L1, or /L2 options. Fixed log file: C:\MINSTALL.LOG. 283 @REM Treat 0xfe00 as a success status. It seems to mean that a reboot is required. 284 C:\VBoxCID\OS2_UTIL.EXE --as-zero 0xfe00 -- MInstall.EXE /M /R:C:\VBoxCID\MMOS2.RSP && goto mmos2_ok 285 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\MINSTALL.LOG 243 286 pause 244 287 :mmos2_ok 245 DIR 246 cd C:\VBoxCID 247 248 :step2_3 249 @echo .250 @echo Step 2.3 - Install features.251 @ echo.252 C:\VBoxCID\OS2_UTIL.EXE -- CLIFI.EXE /A:C /B:C: /S:%CDROM%\os2image\fi /R:C:\OS2\INSTALL\FIBASE.RSP /L1:C:\VBoxCID\2.2-FeatureInstaller.log /R2:C:\VBoxCID\OS2.RSP288 cd C:\VBoxCID 289 290 :step3_2 291 @echo . 292 @echo Step 3.2 - Install features. 293 @echo . 294 @REM Treat 0xfe00 as a success status. It seems to mean that a reboot is required. 295 C:\VBoxCID\OS2_UTIL.EXE --as-zero 0xfe00 -- CLIFI.EXE /A:C /B:C: /S:%CDROM%\os2image\fi /R:C:\OS2\INSTALL\FIBASE.RSP /L1:C:\VBoxCID\3.2-FeatureInstaller.log /R2:C:\VBoxCID\OS2.RSP 253 296 @REM does not exit with status 0 on success. 254 297 goto features_ok 298 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\VBoxCID\3.2-FeatureInstaller.log 255 299 pause 256 300 :features_ok 257 301 258 :step2_4 259 @echo . 260 @echo Step 2.4 - Install Netscape. 261 @echo . 262 CD C:\VBoxCID 263 C: 264 %CDROM% 265 SET DPATH=%DPATH%;C:\NETSCAPE\SIUTIL; 266 C:\VBoxCID\OS2_UTIL.EXE -- %CDROM%\CID\SERVER\NETSCAPE\INSTALL.EXE /X /A:I /TU:C: /C:%CDROM%\CID\SERVER\NETSCAPE\NS46.ICF /S:%CDROM%\CID\SERVER\NETSCAPE /R:C:\VBoxCID\Netscape.RSP /L1:C:\VBoxCID\2.8-Netscape.log /L2:C:\VBoxCID\2.8-Netscape-2.log && goto netscape_ok 267 :netscape_ok 268 CD %CDROM%\ 269 C: 270 271 :step2_5 272 @echo . 273 @echo Step 2.5 - Install feature installer. 274 @echo . 275 @REM No /L2: support. 276 @REM The /NN option is to make it not fail if netscape is missing. 277 C:\VBoxCID\OS2_UTIL.EXE -- C:\OS2\INSTALL\WSFI\FiSetup.EXE /B:C: /S:C:\OS2\INSTALL\WSFI\FISETUP /NN /L1:C:\VBoxCID\2.5-FiSetup.log && goto fisetup_ok 278 pause 279 :fisetup_ok 280 281 :step2_6 282 @echo . 283 @echo Step 2.6 - Install MPTS. 302 :step3_3 303 @echo . 304 @echo Step 3.3 - Install MPTS. 284 305 @echo . 285 306 @REM If we want to use non-standard drivers like the intel ones, copy the .NIF- and … … 289 310 CD %CDROM%\CID\SERVER\MPTS 290 311 %CDROM% 291 C:\VBoxCID\OS2_UTIL.EXE -- %CDROM%\CID\SERVER\MPTS\MPTS.EXE /R:C:\VBoxCID\MPTS.RSP /S:%CDROM%\CID\SERVER\MPTS /T:C: /L1:C:\VBoxCID\2.6-Mpts.log && goto mpts_ok 312 @REM Treat 0xfe00 as a success status. It seems to mean that a reboot is required. 313 C:\VBoxCID\OS2_UTIL.EXE --as-zero 0xfe00 -- %CDROM%\CID\SERVER\MPTS\MPTS.EXE /R:C:\VBoxCID\MPTS.RSP /S:%CDROM%\CID\SERVER\MPTS /T:C: /L1:C:\VBoxCID\3.3-Mpts.log && goto mpts_ok 314 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\VBoxCID\3.3-Mpts.log 292 315 pause 293 316 :mpts_ok … … 295 318 C: 296 319 297 :step 2_7298 @echo . 299 @echo Step 2.7- Install TCP/IP.320 :step3_4 321 @echo . 322 @echo Step 3.4 - Install TCP/IP. 300 323 @echo . 301 324 CD %CDROM%\CID\SERVER\TCPAPPS 302 325 %CDROM% 303 C:\VBoxCID\OS2_UTIL.EXE -- CLIFI.EXE /A:C /B:C: /S:%CDROM%\CID\SERVER\TCPAPPS\INSTALL /R:%CDROM%\CID\SERVER\TCPAPPS\INSTALL\TCPINST.RSP /L1:C:\VBoxCID\2.7-tcp.log /L2:C:\VBoxCID\2.7-tcp-2.log 304 @REM does not exit with status 0 on success. 305 goto tcp_ok 326 @REM Treat 0xfe00 as a success status. It seems to mean that a reboot is required. 327 C:\VBoxCID\OS2_UTIL.EXE --as-zero 0xfe00 -- CLIFI.EXE /A:C /B:C: /S:%CDROM%\CID\SERVER\TCPAPPS\INSTALL /R:%CDROM%\CID\SERVER\TCPAPPS\INSTALL\TCPINST.RSP /L1:C:\VBoxCID\3.4-tcp.log /L2:C:\VBoxCID\3.4-tcp-2.log && goto tcp_ok 328 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\VBoxCID\3.4-tcp.log 306 329 pause 307 330 :tcp_ok … … 316 339 cd %CDROM%\ 317 340 318 :step 2_8319 @echo . 320 @echo Step 2.8- Install IBM LAN Requestor/Peer.341 :step3_5 342 @echo . 343 @echo Step 3.5 - Install IBM LAN Requestor/Peer. 321 344 @echo . 322 345 SET REMOTE_INSTALL_STATE=CAS_OS/2 Peer 323 346 CD %CDROM%\CID\SERVER\IBMLS 324 347 %CDROM% 325 C:\VBoxCID\OS2_UTIL.EXE -- %CDROM%\CID\SERVER\IBMLS\LANINSTR.EXE /REQ /R:C:\VBoxCID\IBMLan.rsp /L1:C:\VBoxCID\2.8-IBMLan.log /L2:C:\VBoxCID\2.8-IBMLan-2.log && goto ibmlan_ok 348 C:\VBoxCID\OS2_UTIL.EXE -- %CDROM%\CID\SERVER\IBMLS\LANINSTR.EXE /REQ /R:C:\VBoxCID\IBMLan.rsp /L1:C:\VBoxCID\3.5-IBMLan.log /L2:C:\VBoxCID\3.5-IBMLan-2.log && goto ibmlan_ok 349 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\VBoxCID\3.5-IBMLan.log 326 350 :ibmlan_ok 327 351 CD %CDROM%\ 328 352 C: 329 353 330 :step2_9 331 @echo . 332 @echo Step 2.9 - Install guest additions. 354 :step3_6 355 @echo . 356 @echo Step 3.6 - Install Netscape. 357 @echo . 358 CD C:\VBoxCID 359 C: 360 %CDROM% 361 @REM Skipping as it hangs after a "Message file not found." error. (The DPATH amendment doesn't help.) Logs give no clue. 362 @REM Maybe we're installing it too early? Needs TCPIP or smth. 363 goto netscape_ok 364 SET DPATH=%DPATH%;C:\NETSCAPE\SIUTIL; 365 C:\VBoxCID\OS2_UTIL.EXE -- %CDROM%\CID\SERVER\NETSCAPE\INSTALL.EXE /X /A:I /TU:C: /C:%CDROM%\CID\SERVER\NETSCAPE\NS46.ICF /S:%CDROM%\CID\SERVER\NETSCAPE /R:C:\VBoxCID\Netscape.RSP /L1:C:\VBoxCID\3.6-Netscape.log /L2:C:\VBoxCID\3.6-Netscape-2.log && goto netscape_ok 366 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\VBoxCID\3.6-Netscape.log 367 pause 368 :netscape_ok 369 CD %CDROM%\ 370 C: 371 372 :step3_7 373 @echo . 374 @echo Step 3.7 - Install feature installer. 375 @echo . 376 @REM No /L2: support. 377 @REM The /NN option is to make it not fail if netscape is missing. 378 C:\VBoxCID\OS2_UTIL.EXE -- C:\OS2\INSTALL\WSFI\FiSetup.EXE /B:C: /S:C:\OS2\INSTALL\WSFI\FISETUP /NN /L1:C:\VBoxCID\3.7-FiSetup.log && goto fisetup_ok 379 C:\VBoxCID\OS2_UTIL.EXE --file-to-backdoor C:\VBoxCID\3.7-FiSetup.log 380 pause 381 :fisetup_ok 382 383 :step3_8 384 @echo . 385 @echo Step 3.8 - Install guest additions. 333 386 @echo . 334 387 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@ … … 342 395 @@VBOX_COND_END@@ 343 396 344 :step 2_10345 @echo . 346 @echo Step 2.10- Install the test execution service (TXS).397 :step3_9 398 @echo . 399 @echo Step 3.9 - Install the test execution service (TXS). 347 400 @echo . 348 401 @@VBOX_COND_IS_INSTALLING_TEST_EXEC_SERVICE@@ … … 360 413 361 414 362 :step 2_11363 @echo . 364 @echo Step 2.11- Install final startup.cmd and copy over OS2LDR again.415 :step3_10 416 @echo . 417 @echo Step 3.9 - Install final startup.cmd and copy over OS2LDR again. 365 418 @echo . 366 419 attrib -r -h -s C:\STARTUP.CMD … … 379 432 attrib +r +h +s C:\OS2LDR 380 433 381 :step 2_12382 @echo . 383 @echo Step 2.12- Cleanup434 :step3_11 435 @echo . 436 @echo Step 3.11 - Cleanup 384 437 @echo . 385 438 del /N C:\*.bio … … 400 453 :skip_sys_cleanup 401 454 402 :step 2_13455 :step3_12 403 456 @@VBOX_COND_HAS_POST_INSTALL_COMMAND@@ 404 457 @echo . 405 @echo Step 2.13- Custom actions: "@@VBOX_INSERT_POST_INSTALL_COMMAND@@"458 @echo Step 3.12 - Custom actions: "@@VBOX_INSERT_POST_INSTALL_COMMAND@@" 406 459 @echo . 407 460 cd C:\VBoxCID -
trunk/src/VBox/Main/UnattendedTemplates/os2_response_files.rsp
r93122 r93127 21 21 REM Just to be on the safe side, all paths include disk #0 thru #6. 22 22 REM as it doesn't contain much interesting. 23 LIBPATH=.;A:\;S:\OS2IMAGE\DISK_0;S:\OS2IMAGE\DISK_1;S:\OS2IMAGE\DISK_2;S:\OS2IMAGE\DISK_3;S:\OS2IMAGE\DISK_4;S:\OS2IMAGE\DISK_5;S:\OS2IMAGE\DISK_6;S:\OS2IMAGE\DISK_7; 24 SET PATH=.;A:\;S:\OS2IMAGE\DISK_0;S:\OS2IMAGE\DISK_1;S:\OS2IMAGE\DISK_2;S:\OS2IMAGE\DISK_3;S:\OS2IMAGE\DISK_4;S:\OS2IMAGE\DISK_5;S:\OS2IMAGE\DISK_6;S:\OS2IMAGE\DISK_7; 25 SET DPATH=.;A:\;S:\OS2IMAGE\DISK_0;S:\OS2IMAGE\DISK_1;S:\OS2IMAGE\DISK_2;S:\OS2IMAGE\DISK_3;S:\OS2IMAGE\DISK_4;S:\OS2IMAGE\DISK_5;S:\OS2IMAGE\DISK_6;S:\OS2IMAGE\DISK_7; 23 REM Also adding typical C:\ locations for good measure... 24 LIBPATH=.;A:\;S:\OS2IMAGE\DISK_0;S:\OS2IMAGE\DISK_1;S:\OS2IMAGE\DISK_2;S:\OS2IMAGE\DISK_3;S:\OS2IMAGE\DISK_4;S:\OS2IMAGE\DISK_5;S:\OS2IMAGE\DISK_6;S:\OS2IMAGE\DISK_7;C:\OS2\DLL;C:\MPTN\DLL;C:\TCPIP\DLL;C:\IBMCOM\DLL; 25 SET PATH=.;A:\;S:\OS2IMAGE\DISK_0;S:\OS2IMAGE\DISK_1;S:\OS2IMAGE\DISK_2;S:\OS2IMAGE\DISK_3;S:\OS2IMAGE\DISK_4;S:\OS2IMAGE\DISK_5;S:\OS2IMAGE\DISK_6;S:\OS2IMAGE\DISK_7;C:\OS2;C:\OS2\SYSTEM; 26 SET DPATH=.;A:\;S:\OS2IMAGE\DISK_0;S:\OS2IMAGE\DISK_1;S:\OS2IMAGE\DISK_2;S:\OS2IMAGE\DISK_3;S:\OS2IMAGE\DISK_4;S:\OS2IMAGE\DISK_5;S:\OS2IMAGE\DISK_6;S:\OS2IMAGE\DISK_7;C:\OS2;C:\OS2\SYSTEM; 26 27 27 28 COUNTRY=001,COUNT437.SYS … … 156 157 Local_IPC = YES 157 158 INET_Access = YES 158 NETBIOS_Access = NO159 NETBIOS_Access = YES 159 160 ) 160 161 … … 168 169 netbeui_nif = netbeui.nif 169 170 tcpbeui_nif = tcpbeui.nif 170 tcpip_nif = tcpip.nif171 nonetadp_nif = nonetadp.nif171 tcpip_nif = tcpip.nif 172 IBMEAN_nif = IBMEAN.nif 172 173 173 174 [NETBIOS] … … 180 181 181 182 DriverName = netbeui$ 182 Bindings = NONETADP_nif183 Bindings = IBMEAN_nif 183 184 ETHERAND_TYPE = "I" 184 185 USEADDRREV = "YES" … … 215 216 216 217 DriverName = tcpbeui$ 217 Bindings = nonetadp_nif218 Bindings = ,IBMEAN_nif 218 219 NODETYPE = "B-Node" 219 220 OS2TRACEMASK = 0x0 … … 237 238 238 239 DriverName = TCPIP$ 239 Bindings = nonetadp_nif240 241 [ nonetadp_nif]242 243 DriverName = NULLNDS$240 Bindings = IBMEAN_nif 241 242 [IBMEAN_nif] 243 244 DriverName = IBMEAN$ 244 245 ) 245 246 @@VBOX_SPLITTER_END[MPTS.RSP]@@ … … 288 289 # Multimedia Presentation Manager/2 response file - Setting up SB16. 289 290 # 290 @@VBOX_SPLITTER_START[MM PM2.RSP]@@291 @@VBOX_SPLITTER_START[MMOS2.RSP]@@ 291 292 MMINSTSOURCE = "C:\\mmtemp" 292 293 MMINSTTARGET = "C:" … … 304 305 GROUP.43 = "Sound Blaster 16=NUM=1,V1=1,V1=5,V1=5,V1=220,V1=330," 305 306 ) 306 @@VBOX_SPLITTER_END[MM PM2.RSP]@@307 @@VBOX_SPLITTER_END[MMOS2.RSP]@@ 307 308 308 309 #
Note:
See TracChangeset
for help on using the changeset viewer.