 Attention CID System Administrators:
 
 The following instructions have been put together to help you remotely
 install OS/2 2.0 Service Pak XR06100 over your existing OS/2 client
 installations. These modifications should be made to the LAN CID Utility (LCU)
 Rexx .CMD file used to set up a client machine for remote update. If you use
 NetView Distribution Manager/2 (NVDM/2) you will need to make similar changes
 to the files used by that product for remote installion.
 
 The SEMAINT.EXE that is in Service Pak XR06100 will not work until the Service
 Pak is installed. Use the SEMAINT.EXE that was provided in OS/2 2.0. If you
 are following any of the documents that tell how to install Service Pak
 XR06055 DO NOT run GETFIX or copy files from Service Pak XR06100 to the
 "CID\EXE" directory. If you are setting up your code server for the first time
 use GETOSCID to get the files from the OS/2 2.0 diskette images.
 
 Following is an example procedure which can be used to set up the client.
 This procedure should be used following the execution of SEMAINT found
 in the section labeled INSTALL of the above mentioned Rexx .CMD file. The
 variable names used in this example follow the convention already used
 in the original CMD file,
 
 SPINSTALL:
  /* 1. ready the hidden / read-only files in the root directory for update */
 
  bootdrive || '\os2\attrib ' || bootdrive || '\os2boot  -h -s -r'
  bootdrive || '\os2\attrib ' || bootdrive || '\os2ldr   -h -s -r'
  bootdrive || '\os2\attrib ' || bootdrive || '\os2krnl  -h -s -r'
 
  /* 2. preserve a backup copy of current config file */
 
  'copy ' || bootdrive || '\config.sys ' || bootdrive || '\config.sp2'
 
  /* 3. assure that the 'new' unpack utility is in the working environment */
 
  'copy ' || sp2img || '\unpack2.exe ' || bootdrive || '\service'
 
  /* 4. assure core system files are present in the boot service partition */
 
  bootdrive || '\service\unpack2 ' || sp2img || '\fix\os2\unpack.ex_ '   ||
 bootdrive || '\service'
  bootdrive || '\service\unpack2 ' || sp2img || '\fix\os2\uhpfs.dl_ '    ||
 bootdrive || '\service'
  bootdrive || '\service\unpack2 ' || sp2img || '\fix\os2\shpiinst.dl_ ' ||
 bootdrive || '\service'
  bootdrive || '\service\unpack2 ' || sp2img || '\fix\os2\chkdsk.co_ '   ||
 bootdrive || '\service'
  bootdrive || '\service\unpack2 ' || sp2img || '\fix\os2\os2ldr.___ '   ||
 bootdrive || '\service'
  bootdrive || '\service\unpack2 ' || sp2img || '\fix\os2\os2ldr.ms_ '   ||
 bootdrive || '\service'
  bootdrive || '\service\unpack2 ' || sp2img || '\fix\os2\os2scsi.dm_ '  ||
 bootdrive || '\service'
 
  /* 5. update other utility software as required. */
  bootdrive || '\os2\replace ' || sp2img || '\*.* ' || bootdrive || '\service'
 
  /* 6. place hardware specific files in root of boot drive */
 
  'copy ' || sp2img || '\*.bio ' || bootdrive || '\'
  'copy ' || sp2img || '\*.sys ' || bootdrive || '\'
  'copy ' || sp2img || '\*.add ' || bootdrive || '\'
  'copy ' || sp2img || '\*.dmd ' || bootdrive || '\'
  'copy ' || sp2img || '\*.i13 ' || bootdrive || '\'
 
  /* 7. update the core system files in root sub-directory */
 
  'copy ' || bootdrive || '\service\os2krnli ' || bootdrive || '\os2krnl'
  'copy ' || bootdrive || '\service\os2ldr.* ' || bootdrive || '\os2ldr.*'
  'copy ' || bootdrive || '\service\os2boot '  || bootdrive || '\os2boot'
 
  /* 8. assure 'latest' display driver is available */
 
  bootdrive || '\service\unpack ' || sp2img || '\vga ' || bootdrive || '\service
 /n:bvhvga.dll'
 
  /* 9. restore config file */
 
  'copy ' || bootdrive || '\config.sp2 ' || bootdrive || '\config.sys'
  /* 10.  Install OS/2 boot record */
 
  bootdrive || '\service\sysinstx ' || bootdrive
 
  /* 11. Return updated files to hidden state */
 
  bootdrive || '\os2\attrib ' || bootdrive || '\os2boot  +h +s +r'
  bootdrive || '\os2\attrib ' || bootdrive || '\os2ldr   +h +s +r'
  bootdrive || '\os2\attrib ' || bootdrive || '\os2krnl  +h +s +r'
 end
 
For users who have a service directory already on their machine and will
be installing Service Pak XR06100 via redirection the following batch
file is equivalent to the REXX code above and can be used to update the
service directory prior to installing Service Pak XR06100.
 
REM ** ready the SHR files in the root directory for update *
  C:\os2\attrib C:\os2boot  -h -s -r
  C:\os2\attrib C:\os2ldr   -h -s -r
  C:\os2\attrib C:\os2krnl  -h -s -r
 
REM ** preserve a backup copy of current config file
  copy C:\config.sys C:\config.sp2
 
REM ** assure that the new unpack utility is in the working environment *
  copy X:\sp2img\unpack2.exe C:\service
 
REM ** assure core system files are present in the boot service partition *
  C:\service\unpack2 X:\sp2img\fix\os2\unpack.ex_ C:\service
  C:\service\unpack2 X:\sp2img\fix\os2\uhpfs.dl_ C:\service
  C:\service\unpack2 X:\sp2img\fix\os2\shpiinst.dl_ C:\service
  C:\service\unpack2 X:\sp2img\fix\os2\chkdsk.co_ C:\service
  C:\service\unpack2 X:\sp2img\fix\os2\os2ldr.___ C:\service
  C:\service\unpack2 X:\sp2img\fix\os2\os2ldr.ms_ C:\service
  C:\service\unpack2 X:\sp2img\fix\os2\os2scsi.dm_ C:\service
 
REM ** update other utility software as required. *
  C:\os2\replace X:\sp2img\*.* C:\service
 
REM ** place hardware specific files in root of boot drive *
  copy X:\sp2img\*.bio C:\
  copy X:\sp2img\*.sys C:\
  copy X:\sp2img\*.add C:\
  copy X:\sp2img\*.dmd C:\
  copy X:\sp2img\*.i13 C:\
 
REM ** update the core system files in root sub-directory *
  copy C:\service\os2krnli C:\os2krnl
  copy C:\service\os2ldr.* C:\os2ldr.*
  copy C:\service\os2boot  C:\os2boot
 
REM ** assure latest display driver is available *
  C:\service\unpack X:\sp2img\vga C:\service /n:bvhvga.dll
 
REM ** restore config file *
  copy C:\config.sp2 C:\config.sys
 
REM ** Install OS/2 boot record *
  C:\service\sysinstx C:
 
REM ** Return updated files to hidden state *
  C:\os2\attrib C:\os2boot  +h +s +r
  C:\os2\attrib C:\os2ldr   +h +s +r
  C:\os2\attrib C:\os2krnl  +h +s +r
 
REM ** End of the batch file *
 
For additional information please refer to the OS/2 Redbook "Automated
Installation for CID Enabled OS/2 V2.x" (Document Number GG24-3783-01)
or please contact IBM OS/2 Technical Support team and reference APAR number
PJ10237.
