home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
ip7005.zip
/
7005CID.TIP
next >
Wrap
Text File
|
1993-11-02
|
4KB
|
133 lines
IP07005 CID Installation Tip
This SelectPak can be remotely installed (unattended) on OS/2 2.0
systems by using a CALL statement to invoke the command strings
specified in the IP07005.INF file.
The following is an annotated example of CID installation statements
used to apply the Server portion of this SelectPak on an XR06055 version
of OS/2 2.0. The HPFS portion of the SelectPak can be installed in the
same manner.
This example was for install on an OS/2 2.0 XR06055 client with LS 3.0
ServicePak IP07001 already installed.
/*****************************************************/
/* INSTALL SECTION */
/*****************************************************/
Do Forever
Select
when OVERALL STATE = 0 then do
(1) 'call z:\cidcsd\cidsave.cmd '
(1a) if rc <> 0 then Exit
(XX) if RunInstall(x.semaint) == BAD RC then exit /* Install
maintenance system */
(XX) if RunInstall(x.laps maint) == BAD RC then exit /* Install
LAPS prep system */
(XX) if RunInstall(x.thinifs) == BAD RC then exit /* Install
SRVIFS requester */
(XX) if RunInstall(x.casinstl) == BAD RC then exit /* Install
LCU */
Call CheckBoot /* Reboot if
it was requested */
end
when OVERALL STATE = 1 then do
(2) 'z:'
(3) 'cd z:\lan\ip07005'
(4) 'call /cmd srv /b:c /d:0 /t:c /s:z:\lan\ip07005 /k:0 /v:1'
(5) 'call z:\cidcsd\cidrest.cmd >>c:\cidcsd.log'
(6) 'call copy z:\cidcsd\startup.cmd c:\startup.cmd'
(7) Call Reboot /* Reboot */
end
end
end
exit
************************************
What the (XX), (1) thru (7) mean
************************************
(XX) standard setup for CID
step (1) back up the system files needed to boot original system
(see CIDSAVE below.) In this example CIDSAVE resides on
a SRVATTACH'd drive, z.
step (1a) error checking
step (2) cd to drive that source is on for IP07005.
step (3) cd to directory
step (4) use cmd to execute the SRV command with options needed for
standalone install
step (5) restore system files. (CIDREST is documented below.)
step (6) copy startup.cmd to system. After re-boot, erase c:\service.
Original startup.cmd saved as startup.org under c:\ needs
to be copied over startup.cmd after re-boot.
step (7) CID command to reboot
/* REM === CIDSAVE.CMD (SAVE OS/2 Files) ============ */
'c:'
'call c:\os2\attrib os2ldr -h -s -r'
'call c:\os2\attrib os2krnl -h -s -r'
'call md c:\root'
'call copy c:\config.sys c:\root'
'call copy c:\os2ldr.* c:\root'
'call copy c:\os2krnl c:\root'
'call copy c:\os2dasd.dmd c:\root'
'call copy c:\os2scsi.dmd c:\root'
'call copy c:\start.cmd c:\startup.org'
/** REM === CIDREST.CMD (RESTORE OS/2 Files) =========**/
'call c:\os2\attrib c:\os2ldr -h -s -r'
'call c:\os2\attrib c:\os2krnl -h -s -r'
'call copy c:\root\*.* c:\'
'call erase c:\root /n '
'call rd c:\root'
'call c:\os2\attrib c:\os2ldr +h +s +r'
'call c:\os2\attrib c:\os2krnl +h +s +r'