home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 29 Fixes_o / 29-Fixes_o.zip / ip7005.zip / 7005CID.TIP next >
Text File  |  1993-11-02  |  4KB  |  133 lines

  1. IP07005 CID Installation Tip
  2.  
  3.  
  4.  
  5. This  SelectPak  can  be  remotely installed  (unattended) on  OS/2  2.0
  6. systems  by  using  a  CALL  statement to  invoke  the  command  strings
  7. specified in the IP07005.INF file.
  8.  
  9.  
  10. The  following is  an annotated example of  CID  installation statements
  11. used to apply the Server portion of this SelectPak on an XR06055 version
  12. of OS/2 2.0.  The HPFS portion of the SelectPak can  be installed in the
  13. same manner.
  14.  
  15.  
  16. This  example was for install on  an OS/2 2.0 XR06055 client with LS 3.0
  17. ServicePak IP07001 already installed.
  18.  
  19.  
  20.    /*****************************************************/
  21.    /*                  INSTALL SECTION                  */
  22.    /*****************************************************/
  23.  
  24.    Do Forever
  25.      Select
  26.        when OVERALL STATE = 0 then do
  27.    (1) 'call z:\cidcsd\cidsave.cmd '
  28.    (1a)     if rc <> 0 then Exit
  29.    (XX)      if RunInstall(x.semaint)   == BAD RC then exit    /* Install
  30.                                                           maintenance system */
  31.    (XX)      if RunInstall(x.laps maint) == BAD RC then exit         /* Install
  32.                                                            LAPS prep system */
  33.    (XX)      if RunInstall(x.thinifs)   == BAD RC then exit          /* Install
  34.                                                         SRVIFS requester     */
  35.    (XX)      if RunInstall(x.casinstl)  == BAD RC then exit          /* Install
  36.                                                                   LCU */
  37.          Call CheckBoot                                            /* Reboot if
  38.                                                           it was requested   */
  39.        end
  40.        when OVERALL STATE = 1 then do
  41.     (2)      'z:'
  42.     (3)     'cd z:\lan\ip07005'
  43.     (4)      'call /cmd srv /b:c /d:0 /t:c /s:z:\lan\ip07005 /k:0 /v:1'
  44.     (5)     'call z:\cidcsd\cidrest.cmd >>c:\cidcsd.log'
  45.     (6)      'call copy z:\cidcsd\startup.cmd c:\startup.cmd'
  46.     (7)     Call Reboot                                         /* Reboot */
  47.       end
  48.      end
  49.    end
  50.    exit
  51.  
  52.    ************************************
  53.      What the (XX), (1) thru (7) mean
  54.    ************************************
  55.  
  56.  
  57.       (XX)  standard setup for CID
  58.  
  59.       step (1)  back up the system files needed to boot original system
  60.                 (see CIDSAVE below.)  In this example CIDSAVE resides on
  61.                 a SRVATTACH'd drive, z.
  62.       step (1a) error checking
  63.       step (2) cd to drive that source is on for IP07005.
  64.       step (3) cd to directory
  65.       step (4) use cmd to execute the SRV command with options needed for
  66.                   standalone install
  67.       step (5) restore system files. (CIDREST is documented below.)
  68.       step (6) copy startup.cmd to system. After re-boot, erase c:\service.
  69.                   Original startup.cmd saved as startup.org under c:\ needs
  70.                   to be copied over startup.cmd after re-boot.
  71.       step (7) CID command to reboot
  72.  
  73.  
  74.  
  75.   /*  REM ===   CIDSAVE.CMD (SAVE OS/2 Files) ============ */
  76.  
  77.   'c:'
  78.   'call c:\os2\attrib os2ldr -h -s -r'
  79.   'call c:\os2\attrib os2krnl -h -s -r'
  80.   'call md c:\root'
  81.   'call copy c:\config.sys c:\root'
  82.   'call copy c:\os2ldr.* c:\root'
  83.   'call copy c:\os2krnl c:\root'
  84.   'call copy c:\os2dasd.dmd c:\root'
  85.   'call copy c:\os2scsi.dmd c:\root'
  86.   'call copy c:\start.cmd c:\startup.org'
  87.  
  88.  
  89.   /** REM ===   CIDREST.CMD (RESTORE OS/2 Files) =========**/
  90.   'call c:\os2\attrib c:\os2ldr -h -s -r'
  91.   'call c:\os2\attrib c:\os2krnl -h -s -r'
  92.   'call copy c:\root\*.* c:\'
  93.   'call erase c:\root /n '
  94.   'call rd c:\root'
  95.   'call c:\os2\attrib c:\os2ldr +h +s +r'
  96.   'call c:\os2\attrib c:\os2krnl +h +s +r'
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.