home *** CD-ROM | disk | FTP | other *** search
Wrap
; *************************************************************** ; ; This script has been developed to install "Support Pack for NetWare 4.11". ; Date: 10/16/96 ; ; *************************************************************** ; @SyntaxVersion 1.00 ; "CoPyRiGhT=(c) 1996 Novell, Inc. All Rights Reserved." ; VeRsIoN=2.00 CopyToServer SYSTEM\NWUPDATE, PI_ICMD.NLM, '', '' CopyToServer SYSTEM\NWUPDATE, PI_INIT.NLM, '', '' Command NWUPDATE\PI_ICMD GetPath TempInstallDir, 1, 'SYS:\\SYSTEM\\NWUPDATE', '' GetPath TempSystemDir, 1, 'SYS:\\SYSTEM', '' ValueSet PatchKitLevel, "1" SetVar PatchKitID, "PK411%{PatchKitLevel}" ;-- WARNING: ;ProductRecord does not support passing a varible ;When modifing PatchKitID also modify the description string on ProductRecord ; Example: ; ProductRecord SPACK, 1, "NetWare v4.11 Support Pack 411SP1" ValueSet InstallIntranetWare, 0 ValueSet InstallNetWare, 0 ; *************************************************************** ; This file set is commented out because we only want to install the (Support Pack ONLY). ; to find addition commented line search for "XXX" ; Note: line 68, Name: PTONLY_KIT , Class: OPTIONAL_OFF was changed to OPTIONAL. ; Note: lines 217, and 335 commended out to avoid adding a PMLOAD FOR START_IT @FileSet Description: "V1.0 Support Pack for NetWare 4.11 + NIAS 4.0 or MPR 3.1" Name: PTIT_KIT ;xxx CLASS: OPTIONAL_OFF CLASS: OPTIONAL HELP: "Choose this option to update NetWare 4.11 with NIAS 4.0 and/or MPR 3.1 installed also. (Choose one option only!)" ValueSet InstallIntranetWare, 1 @EndFileSet @FileSet Description: "V1.0 Support Pack for NetWare 4.11" Name: PTONLY_KIT CLASS: OPTIONAL_OFF ;xxx CLASS: OPTIONAL HELP: "Choose this option if you desire to update NetWare 4.11 and do NOT have NIAS 4.0 or MPR 3.1 installed also. (Choose one option only!)" ValueSet InstallNetWare, 1 @EndFileSet ; *************************************************************** ; *************************************************************** ;********* Test for OS Version ;********* Test for Support Pack Level GotoIfEqual %{InstallIntranetWare}, %{InstallNetWare}, ERROR_MustSelectOneOption ; (Note that PI_INIT.NLM sets the PI_* variables used below) NLMExec 1, NWUPDATE\PI_INIT, ccode ; GotoIfLess %{PatchKitLevel}, %{PI_InstalledPatchKitLevel}, ERROR_PatchKitIsOutdated PI_EditNCF_KEYSTRINGS 'adtrstfx','alequefx','alldirfx','alwritfx','auddirfx','audnspfx', 'autodump','brdcstfx','chklanfx','clrdirfx','clsscrfx','comabrfx', 'comcopfx','comredfx','comsdsfx','comstpfx','comupdfx','credirfx', 'crtdirfx','diag410 ','dsprcsfx','duplicfx','eadflgfx','eapurgfx', 'eavlmtfx','eofredfx','evntrpfx','exvmgtfx','fndsymfx','getdirfx', 'getvinfx','getvolfx','ipxhanfx','ipxstafx','lckstnfx','lsllckfx', 'lsltimfx','macreqfx','mapconfx','maxpckfx','memcolfx','migfrefx', 'miginifx','migkeyfx','migstrfx','mmdismfx','mmmirrfx','mmremmfx', 'msinpqfx','msshim ','mssmemfx','msvolmfx','nsmodffx','nswildfx', 'opnclbfx','pboutwfx','prgdelfx','prgfilfx','protidfx','pubrecfx', 'readflfx','regopnfx','relquefx','rendirfx','respolfx','ripfix ', 'rpcerrfx','rtconnfx','serperfx','shrramfx','shrresfx','srsyncfx', 'srvprsfx','srvstpfx','stdrchfx','stpsrvfx','sublckfx','subspcfx', 'synmemfx','synmsgfx','synthrfx','timresfx','totblkfx','unkspcfx', 'vgenfufx','watdogfx','worktdfx','swtintfx', 'PM410' ,'PMLOAD ','Activate Server', '' ; Last entry MUST be null string (indicates end of list) ; Note that SMPSHMFX is not in the list because the SMP install ; handles that patch explicitely on its own. ;********* Get the source and destination paths GotoIfEqual 0, '%{PI_OSType}', SetupPaths_NATIVE GotoIfEqual 1, '%{PI_OSType}', SetupPaths_NWOS2 GotoIfEqual 2, '%{PI_OSType}', SetupPaths_SFT3 Display 0, 'Unknown OS Type %{PI_OSType}' Goto ERROR_EXIT Label SetupPaths_NATIVE GetPath startupDir, 3, '%{NWBOOT}', '', NWBOOT GetPath autoexecDir, 3, 'SYS:SYSTEM', '' ; SetVar RelativePatchPath, '\\%{PatchKitID}' SetVar RelativePatchPath, '\\PK411' GetPath PatchSrc, 3, '%{NWSRC}%{RelativePatchPath}', '', NWSRC ; GetPath PatchDest, 3, '%{NWBOOT}\\PATCHES%{RelativePatchPath}', '', NWBOOT GetPath PatchDest, 3, '%{NWBOOT}', '', NWBOOT GetPath SourceBootDrive, 3, '%{NWSRC}\\BOOT', '', NWSRC GetPath DestBootDrive, 3, '%{NWBOOT}', '', NWBOOT GetPath SourceSYSDrive, 3, '%{NWSRC}\\SYS', '', NWSRC SetVar DestSYSDrive, "SYS:" GetPath MPR30, 3, '%{NWSRC}\\MPR\\30', '', NWSRC GetPath MPR31, 3, '%{NWSRC}\\MPR\\31', '', NWSRC Goto InstallPatches_NonSFT3 Label SetupPaths_NWOS2 GetPath startupDir, 3, '%{NWBOOT}', '', NWBOOT GetPath autoexecDir, 3, 'SYS:SYSTEM', '' ; SetVar RelativePatchPath, '\\%{PatchKitID}' SetVar RelativePatchPath, '\\pk411' GetPath PatchSrc, 3, '%{NWSRC}%{RelativePatchPath}', '', NWSRC ; GetPath PatchDest, 3, '%{NWBOOT}\\PATCHES%{RelativePatchPath}', '', NWBOOT GetPath PatchDest, 3, '%{NWBOOT}', '', NWBOOT GetPath SourceBootDrive, 3, '%{NWSRC}\\BOOT', '', NWSRC GetPath DestBootDrive, 3, '%{NWBOOT}', '', NWBOOT GetPath SourceSYSDrive, 3, '%{NWSRC}\\SYS', '', NWSRC SetVar DestSYSDrive, "SYS:" GetPath MPR30, 3, '%{NWSRC}\\MPR\\30', '', NWSRC GetPath MPR31, 3, '%{NWSRC}\\MPR\\31', '', NWSRC Goto InstallPatches_NonSFT3 Label SetupPaths_SFT3 GetPath autoexecDir, 3, 'SYS:SYSTEM', '', NWBOOT ; SetVar RelativePatchPath, '\\%{PatchKitID}' SetVar RelativePatchPath, '\\PK411' GetPath PatchSrc, 3, '%{NWSRC}%{RelativePatchPath}', '', NWSRC GetPath SourceBootDrive, 3, '%{NWSRC}\\BOOT', '', NWSRC GetPath SourceSYSDrive, 3, '%{NWSRC}\\SYS', '', NWSRC SetVar DestSYSDrive, 'SYS:' GetPath MPR30, 3, '%{NWSRC}\\MPR\\30', '', NWSRC GetPath MPR31, 3, '%{NWSRC}\\MPR\\31', '', NWSRC Goto InstallPatches_SFT3 ; *************************************************************** ; *************************************************************** Label InstallPatches_NonSFT3 Display 2, "Support Pack %{PatchKitID} for NetWare v4.11 is about to be installed." ;********* Copy Patches CopyFile 1, 1, 1, 1, 0, PatchSrc, '', '', '',PatchDest, '', '', '', 0 ;********* Copy system NLMS TO NWBOOT AND SYS: if any are present on the source. ;********* Copy to the SYS: Volume CopyFile 1, 1, 0, 1, 0, SourceSYSDrive, '', '', '', DestSYSDrive, '', '', '', 0 ;********* Copy to the BOOT Drive. CopyFile 1, 1, 0, 1, 0, SourceBootDrive, '', '', '', DestBootDrive, '', '', '', 0 ;********* Copy IntranetWare Specific file here. GotoIfEqual 0, %{InstallIntranetWare}, NoInstallIntranetWare ;********* Copy the MPR31 Product and also its associated NLS Files. Display 0, "PINSTALL.NLM will now be invoked to update Multiprotocol Router 3.1 files. Follow the prompts." ; CopyFile 0, 1, 0, 1, 0, MPR31, '', '', '', autoexecDir, '', '', '', 4 ; CopyFile 0, 1, 0, 1, 0, '%{MPR31}\\NLS\\%{PI_LanguageID}', '', '', '', 'SYS:\\SYSTEM\\NLS\\%{PI_LanguageID}', '', '', '', 4 CopyFile 1, 1, 0, 1, 0, mpr31, '', '', '', TempInstallDir, '', '', '', 4 NLMExec 1, '%{TempInstallDir}\\NIAS_PTF\\DISK1\\pinstall', ccode Label NoInstallIntranetWare ;********* Copy NetWare Specific file here. GotoIfEqual 0, %{InstallNetWare}, NoInstallNetWare ;********* Copy the MPR30 Product and also its associated NLS Files. Display 0, "PINSTALL.NLM will now be invoked to update a subset of Multiprotocol Router 3.0 files contained in NetWare 4.11." ; CopyFile 0, 1, 0, 1, 0, '%{MPR30}\\NLS\\%{PI_LanguageID}', '', '', '', 'SYS:\\SYSTEM\\NLS\\%{PI_LanguageID}', '', '', '', 4 ; CopyFile 0, 1, 0, 1, 0, MPR30, '', '', '', autoexecDir, '', '', '', 4 CopyFile 1, 1, 0, 1, 0, MPR30, '', '', '', TempInstallDir, '', '', '', 4 NLMExec 1, '%{TempInstallDir}\\pinstall', ccode Label NoInstallNetWare ; ;********* Test for Language ; GotoIfEqual 1, %{PI_LanguageID}, 1Language ; GotoIfEqual 2, %{PI_LanguageID}, 2Language ; GotoIfEqual 3, %{PI_LanguageID}, 3Language ; GotoIfEqual 4, %{PI_LanguageID}, 4Language ; GotoIfEqual 5, %{PI_LanguageID}, 5Language ; GotoIfEqual 6, %{PI_LanguageID}, 6Language ; GotoIfEqual 7, %{PI_LanguageID}, 7Language ; GotoIfEqual 8, %{PI_LanguageID}, 8Language ; GotoIfEqual 12, %{PI_LanguageID}, 12Language ; GotoIfEqual 14, %{PI_LanguageID}, 14Language ; Goto EXIT_LANGUAGE ; ; ;********* Copy English Files here ; Label 4Language ; ; Display 2, "Updating Language files." ; CopyFile 0, 1, 0, 1, 0, '%{NWSRC}\\NLS\\%{PI_LanguageID}', '', '', '', 'SYS:\\SYSTEM\\NLS\\%{PI_LanguageID}', '', '', '', 4 ; ; Goto EXIT_LANGUAGE ; ; Label EXIT_LANGUAGE ;********* Synchronize SYS:\SYSTEM <---> NWBOOT ; Display 2, "Sychronizing %{NWBOOT} with SYS:\SYSTEM" ; CopyFile 0, 1, 0, 1, 0, autoexecDir, '', '', '', NWBOOT, '', '', '', 9 Display 2, "Updating files on %{NWBOOT} with SYS:\SYSTEM" CopyFile 0, 0, 0, 1, 0, autoexecDir, 'CNE2100.LDI', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'INETCFG.NLM', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'MSM.NLM', '', '', NWBOOT, '', '', '', 9 ; CopyFile 0, 0, 0, 1, 0, autoexecDir, 'MSM31X.NLM', '', '', NWBOOT, '', '', '', 9 ; CopyFile 0, 0, 0, 1, 0, autoexecDir, 'NBI31X.NLM', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'NE1500T.LAN', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'NTR2000.LAN', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'SMP.NLM', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'TCPIP.NLM', '', '', NWBOOT, '', '', '', 9 Display 2, "Done copying files." ;********* Edit the NCF FILES Display 2, "Modifying STARTUP.NCF, comments added to highlight changes, original file renamed STARTUP.PT" GetPath startupDir, 3, '%{NWBOOT}', '', NWBOOT GetPath autoexecDir, 3, 'SYS:SYSTEM', '' ;--- Edit STARTUP.NCF ; Define the list of lines to be added at the top of the NCF file ; Clear the list of lines ; PI_EditNCF_ADDLINE '' ; (not adding anything) ;PI_EditNCF_ADDLINE '; The following lines were moved and/or added by the %{PatchKitID} Support Pack installation' ; PI_EditNCF_ADDLINE 'LOAD %{PatchDest}\\PK411.NLM' GotoIfEqual 1, %{InstallNetWare}, CommentPMLoadIT PI_EditNCF_ADDLINE '; End of modifications made by Support Pack installation' PI_EditNCF_ADDLINE ' ' ;Add blank Line Goto EditContinue Label CommentPMLoadIT PI_EditNCF_ADDLINE '; End of modifications made by Support Pack installation' PI_EditNCF_ADDLINE ' ' ;Add blank Line Label EditContinue PI_EditNCF startupDir, 'STARTUP.NCF', '.PT', ccode ;--- Edit AUTOEXEC.NCF ; Clear the list of lines PI_EditNCF_ADDLINE '' ; (not adding anything) PI_EditNCF autoexecDir, 'AUTOEXEC.NCF', '.PT', ccode ;********* Swap the loader ;NetWare for OS/2 does not need LOADER.EXE SWAPPED. ; GotoIfEqual 1, '%{PI_OSType}', SkipInstallLoader_ForNWOS2 Display 2, "Updating SERVER.EXE with a new version of LOADER.EXE." ; NLMExec 1, '%{PatchDest}\\LSWAP %{PatchDest}\\LOADER.EXE %{NWBOOT}\\SERVER.EXE', ccode NLMExec 1, '%{NWBOOT}\\LSWAP %{NWBOOT}\\LOADER.EXE %{NWBOOT}\\SERVER.EXE', ccode ; Label SkipInstallLoader_ForNWOS2 ;********* Load PK411 and the patches ; Display 2, "Loading PK411" ; NLMExec 0, '%{PatchDest}\\PK411.NLM', ccode ; Display 2, "Executing PMLOAD console command\n" ; Console 'PMLOAD %{PatchDest}\\START_PT', 5 ; ; GotoIfEqual 1, %{InstallNetWare}, DontLoadIT ; ; Console 'PMLOAD %{PatchDest}\\START_IT', 2 Label DontLoadIT Goto COMMON_FINISH_UP ; *************************************************************** ; *************************************************************** Label InstallPatches_SFT3 ;********* Stuff that happens once Display 2, "Support Pack %{PatchKitID} for NetWare v4.11 SFT3 is about to be installed." ; Note that PI_ICMD.NLM assumes that PI_IOCON.NLM and PI_IOMKD.NLM are ; located in SYS:SYSTEM. CopyToServer SYSTEM, PI_IOCON.NLM, '', '' CopyToServer SYSTEM, PI_IOMKD.NLM, '', '' ;********* Copy system NLMS TO NWBOOT AND SYS: if any are present on the source. ;********* Copy to the SYS: Volume Display 2, "Copying files to SYS:\\... including sub-directories." CopyFile 1, 1, 0, 1, 0, SourceSYSDrive, '', '', '',DestSYSDrive, '', '', '', 0 ;********* Copy IntranetWare Specific file here. GotoIfEqual 0, %{InstallIntranetWare}, NoInstallIntranetWare Display 0, "PINSTALL.NLM will now be invoked to update Multiprotocol Router 3.1 files." CopyFile 1,1,0,1,0, mpr31, '', '', '', TempInstallDir, '', '', '', 4 NLMExec 1, '%{TempInstallDir}\\NIAS_PTF\\DISK1\\pinstall', ccode Label NoInstallIntranetWare ;********* Copy NetWare Specific file here. GotoIfEqual 0, %{InstallNetWare}, NoInstallNetWare Display 0, "PINSTALL.NLM will now be invoked to update subset of Multiprotocol Router 3.0 files contained in NetWare 4.11." CopyFile 1, 1, 0, 1, 0, MPR30, '', '', '', TempInstallDir, '', '', '', 4 NLMExec 1, '%{TempInstallDir}\\pinstall', ccode Label NoInstallNetWare GetDOSServer saveEngineNum SetVar engineNum, 0 Label SFT3_DoOtherEngine ;********* Stuff that happens for each engine SetDOSServer %{engineNum}, ccode GotoIfNEqual 0, %{ccode}, SFT3_IOEngineNotPresent GetPath startupDir, 3, '%{NWBOOT}', '', NWBOOT ; GetPath PatchDest, 3, '%{NWBOOT}\\PATCHES%{RelativePatchPath}', '', NWBOOT GetPath PatchDest, 3, '%{NWBOOT}', '', NWBOOT GetPath DestBootDrive, 3, '%{NWBOOT}', '', NWBOOT ;********* Copy Patches Display 2, "Copying dynamic updates files." CopyFile 1, 1, 1, 1, 0, PatchSrc, '', '', '',PatchDest, '', '', '', 0 ;********* Copy system NLMS TO NWBOOT AND SYS: if any are present on the source. ;********* Copy to the BOOT Drive. Display 2, "Copying files to Boot drive" CopyFile 1, 1, 0, 1, 0, SourceBootDrive, '', '', '',DestBootDrive, '', '', '', 0 ;********* Synchronize SYS:\SYSTEM <---> NWBOOT ; Display 2, "Sychronizing %{NWBOOT} with SYS:\SYSTEM" ; CopyFile 0, 1, 0, 1, 0, autoexecDir, '', '', '', NWBOOT, '', '', '', 9 Display 2, "Updating files on %{NWBOOT} with SYS:\SYSTEM" CopyFile 0, 0, 0, 1, 0, autoexecDir, 'CNE2100.LDI', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'INETCFG.NLM', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'MSM.NLM', '', '', NWBOOT, '', '', '', 9 ;CopyFile 0, 0, 0, 1, 0, autoexecDir, 'MSM31X.NLM', '', '', NWBOOT, '', '', '', 9 ;CopyFile 0, 0, 0, 1, 0, autoexecDir, 'NBI31X.NLM', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'NE1500T.LAN', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'NTR2000.LAN', '', '', NWBOOT, '', '', '', 9 ; CopyFile 0, 0, 0, 1, 0, autoexecDir, 'SMP.NLM', '', '', NWBOOT, '', '', '', 9 CopyFile 0, 0, 0, 1, 0, autoexecDir, 'TCPIP.NLM', '', '', NWBOOT, '', '', '', 9 Display 2, "Done copying files." ;********* Edit the NCF FILES ;----- Edit IOSTART.NCF Display 2, "Modifying IOSTART.NCF- comments added to highlight changes" ; Clear the list of lines PI_EditNCF_ADDLINE '' ; Define the list of lines to be added at the top of the NCF file PI_EditNCF_ADDLINE '; The following lines were moved and/or added by the %{PatchKitID} Support Pack installation' ; Search for a "SET NEW START ADDRESS FOR UNCLAIMED..." command in IOSTART.NCF. PI_SrchNCF startupDir, 'IOSTART.NCF', 'New Start Address For Unclaimed Memory Block', NewStartReturnedLine, ccode GotoIfNEqual 0, '%{ccode}', SkipNewStartAddline PI_EditNCF_ADDLINE '%{NewStartReturnedLine}' Label SkipNewStartAddline ; Search for a "SET NEW END ADDRESS FOR UNCLAIMED..." command in IOSTART.NCF. PI_SrchNCF startupDir, 'IOSTART.NCF', 'New End Address For Unclaimed Memory Block', NewEndReturnedLine, ccode GotoIfNEqual 0, '%{ccode}', SkipNewEndAddline PI_EditNCF_ADDLINE '%{NewEndReturnedLine}' Label SkipNewEndAddline ;PI_EditNCF_ADDLINE 'LOAD %{PatchDest}\\PK411.NLM' ; PI_EditNCF_ADDLINE 'PMLOAD %{PatchDest}\\IO\\START_PT' ; GotoIfEqual 1, %{InstallNetWare}, SFT3CommentPMLoadIT1 ; PI_EditNCF_ADDLINE 'PMLOAD %{PatchDest}\\IO\\START_IT' PI_EditNCF_ADDLINE '; End of modifications made by Support Pack installation' PI_EditNCF_ADDLINE ' ' ;Add blank Line Goto SFT3EditContinue1 Label SFT3CommentPMLoadIT1 ; PI_EditNCF_ADDLINE '; PMLOAD %{PatchDest}\\IO\\START_IT' PI_EditNCF_ADDLINE '; End of modifications made by Support Pack installation' PI_EditNCF_ADDLINE ' ' ;Add blank Line Label SFT3EditContinue1 ; Now actually edit the NCF file... PI_EditNCF startupDir, 'IOSTART.NCF', '.PT', ccode ;----- Edit IOAUTO.NCF ; Clear the list of lines PI_EditNCF_ADDLINE '' ; (not adding anything) PI_EditNCF startupDir, 'IOAUTO.NCF', '.PT', ccode ;----- Edit MSSTART.NCF Display 2, "Modifying MSSTART.NCF" ; Clear the list of lines PI_EditNCF_ADDLINE '' ; (not adding anything) ; Define the list of lines to be added at the top of the NCF file PI_EditNCF_ADDLINE '; The following two lines were added by the %{PatchKitID} Support Pack installation' ; PI_EditNCF_ADDLINE 'LOAD %{PatchDest}\\PK411.NLM' ; PI_EditNCF_ADDLINE 'PMLOAD %{PatchDest}\\MS\\START_PT' GotoIfEqual 1, %{InstallNetWare}, SFT3CommentPMLoadIT2 ; PI_EditNCF_ADDLINE 'PMLOAD %{PatchDest}\\MS\\START_IT' PI_EditNCF_ADDLINE ' ' ;Add blank Line Goto SFT3EditContinue2 Label SFT3CommentPMLoadIT2 ; PI_EditNCF_ADDLINE '; PMLOAD %{PatchDest}\\MS\\START_IT' PI_EditNCF_ADDLINE ' ' ;Add blank Line Label SFT3EditContinue2 PI_EditNCF startupDir, 'MSSTART.NCF', '.PT', ccode ;----- Edit MSAUTO.NCF ; Clear the list of lines PI_EditNCF_ADDLINE '' ; (not adding anything) PI_EditNCF autoexecDir, 'MSAUTO.NCF', '.PT', ccode ;********* Swap the loader Display 2, "Updating MSERVER.EXE with latest version of LOADER" ; NLMExec 1, '%{PatchDest}\\LSWAP %{PatchDest}\\LOADER.EXE %{NWBOOT}\\MSERVER.EXE', ccode NLMExec 1, '%{NWBOOT}\\LSWAP %{NWBOOT}\\LOADER.EXE %{NWBOOT}\\MSERVER.EXE', ccode ;********* Load PK411 and patches in IOEngine ;Display 2, "Loading PK411 in IOEngine" ;NLMExec_IO 0, '%{PatchDest}\\PK411.NLM', ccode ;Display 2, "Loading IOEngine patches\n" ;Console_IO 'PMLOAD %{PatchDest}\\IO\\START_PT', 5 GotoIfEqual 1, %{InstallNetWare}, SFT3DontLoadIT_IO ; Console_IO 'PMLOAD %{PatchDest}\\IO\\START_IT', 2 Label SFT3DontLoadIT_IO Label SFT3_IOEngineNotPresent_continue ValueAdd engineNum, 1 GotoIfEqual 1, '%{engineNum}', SFT3_DoOtherEngine ;********* Set DOS server back to original engine number SetDOSServer %{saveEngineNum}, ccode ;********* Load PK411 and patches in MSEngine ;Display 2, "Loading PK411 in MSEngine" ;NLMExec 0, '%{PatchDest}\\PK411.NLM', ccode ; Display 2, "Loading MSEngine patches\n" ; Console 'PMLOAD %{PatchDest}\\MS\\START_PT', 5 ;GotoIfEqual 1, %{InstallNetWare}, SFT3DontLoadIT_MS ;Console 'PMLOAD %{PatchDest}\\MS\\START_IT', 2 ;Label SFT3DontLoadIT_MS ;********* Finished Goto COMMON_FINISH_UP Label SFT3_IOEngineNotPresent display 0, 'IOEngine[%{engineNum}] not present (will be skipped)' Goto SFT3_IOEngineNotPresent_continue ; *************************************************************** ; *************************************************************** ; Common exit stuff Label ERROR_MustSelectOneOption display 0, 'ERROR: More than one option was selected, select ONE of the two file groups only.' Goto CLEANUP ; Skip the CLEANUP stuff (we never copied anything) Label ERROR_PatchKitIsOutdated display 0, 'ERROR: Support Pack is outdated.\n This Support Pack (%{PatchKitID}), is older than currently installed Support Pack (%{PI_InstalledPatchKitID}).' Goto CLEANUP Label COMMON_FINISH_UP ;********* Remove old records (we now just use OS_PATCHES) Display 2, "Removing old records from PRODUCT.DAT file" NLMExec 1, 'SYS:\\SYSTEM\\UINSTALL 410PT3', ccode NLMExec 1, 'SYS:\\SYSTEM\\UINSTALL 410PT4', ccode NLMExec 1, 'SYS:\\SYSTEM\\UINSTALL 410IT6' ccode NLMExec 1, 'SYS:\\SYSTEM\\UINSTALL 410PT6' ccode ; ;********* Update OS_PATCHES record in PRODUCTS.DAT ; ;We have a problem using %{PatchKitID} variable as part of the ProductRecord discription. ; ;NetWare for OS/2 will page fault for some customers adding the ProductRecord. ; GotoIfEqual 1, '%{PI_OSType}', SkipProductRecord_ForNWOS2 ; ProductRecord PATCHKIT, 1, "NetWare v4.11 Support Pack 411SP(Rel_Ver. B)" ; Label SkipProductRecord_ForNWOS2 ;********* Add IntranetWare ProductRecord here. ; GotoIfEqual 0, %{InstallIntranetWare}, NoIntranetWareProductRecord ProductRecord SPACK, 1, "V1.0 Support Pack for NetWare 4.11 (10/96)" Label NoIntranetWareProductRecord ;********* Add NetWare ProductRecord here. ; GotoIfEqual 0, %{InstallNetWare}, NoNetWareProductRecord ; ; ProductRecord SPACK, 1, "V1.0 Support Pack for NetWare 4.11 (10/96)" ; ; Label NoNetWareProductRecord ; Fall through to CLEANUP ;********* Setup closeing screens dependent on the version of OS. GotoIfEqual 0, '%{PI_OSType}', CloseScreen_NATIVE GotoIfEqual 1, '%{PI_OSType}', CloseScreen_NWOS2 GotoIfEqual 2, '%{PI_OSType}', CloseScreen_SFT3 Label CloseScreen_SFT3 Display 0, "Support Pack installation is complete!\n\n ISSUE:\n\n NetWare SFTIII parses the IOSTART.NCF by scanning the file twice.\n First pass to scan for all SET parameters, except for the following:\n\n Set New Start Address For Unclaimed Memory Block\n Set New End Address For Unclaimed Memory Block\n\n Second pass to scan for LOAD commands and the two SET parameters listed above. The LOAD command and SET parameters are executed in the order that they apear in the NCF file..\n\n This Support Pack installation makes an attempt to move the two SET parameters above the LOAD statement for the Support Pack." Display 0, "Novell recommends that all SFTIII configurations have ALL SET paramters before ALL LOAD commands\n\n Novell also recommends that all SFTIII installations have a minimum of 12 Meg for for each IO Engine by doing the following in the IOSTART.NCF\n\n Set New Start Address For Unclaimed Memory Block=12000000\n\n By doing this the following ABEND can be avoided: ABEND: SERVER-4.10-385: Insufficient memory to available to allocate enough receive buffers. is a result of having insufficient IOEngine memory and also loading the patches be for the SET parameters.\n\n Review the NCF files for accuracy then DOWN the server and RESTART SERVER to complete the Support Pack installation." Goto CLEANUP Label CloseScreen_NATIVE Label CloseScreen_NWOS2 Display 0, "Support Pack installation is complete!\n\nPlease review the NCF files for accuracy, DOWN the server and then RESTART SERVER to complete the installation of Support Pack. Thank you for installing the Support Pack." Goto CLEANUP Label CLEANUP EraseFile 0, TempInstallDir, '','','' EraseFile 0, TempSystemDir, 'PI_IOMKD.NLM','','' EraseFile 0, TempSystemDir, 'PI_IOCON.NLM','','' Label EXIT