home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 October / Chip_1997-10_cd.bin / ovladace / novell / nrsv / nrsv1.exe / INSTALL.IPS next >
Text File  |  1997-05-02  |  4KB  |  90 lines

  1. ;============================================================================= 
  2. @Version 1.00
  3. @SyntaxVersion 1.00
  4. ;============================================================================= 
  5. ;
  6. ; Novell Replication Services Installation
  7. ;
  8. ; "CoPyRiGhT=(c) 1997 Novell, Inc.  All Rights Reserved."
  9. ; VeRsIoN=1.00
  10. ;
  11. ;============================================================================= 
  12.  
  13. ;============================================================================= 
  14. ;
  15. ; Install NRS NLMS, 'SNAPIN's and NCF Files
  16.  
  17. @Fileset
  18.  
  19.   Description:  "Novell Replication Services 1.0"
  20.   Name:         OXFORD
  21.   Class:        OPTIONAL
  22.   Help:         "Install Novell Replication Services files.\n"
  23.  
  24.   ; Start ICMD for 'extra' functions like Console
  25.   COMMAND ICMD
  26.  
  27.   ; Stop NRS in case it is already running
  28.   ; Doing this first allows it to overlap the copying of files
  29.   Display 2, "Un-loading Novell Replication Services"
  30.   Console 'UNLOAD NRS',1
  31.  
  32.   ; No user interaction needed
  33.   ; Assumes this script file is in the root of this release
  34.   ; Flags, 0=no recurse,0=File, 1=Complain, 2=use attribs, 0=Unconditional copy
  35.   GetPath ProductSource,1,'%{NWSRC}\\Server','',NWSRC
  36.  
  37.   ; Copy the SYSTEM files over
  38.   GetPath Src,1,'%{ProductSource}\\System','',NWSRC
  39.   GetPath Dest,1,'SYS:SYSTEM',''
  40.   Copyfile 0,0,1,2,0,Src,'NRS.NLM','','',Dest,'','',''
  41.   Copyfile 0,0,1,2,0,Src,'NRS.CFG','','',Dest,'','',''
  42.   Copyfile 0,0,1,2,0,Src,'NRSLOAD.NCF','','',Dest,'','',''
  43.   Copyfile 0,0,1,2,0,Src,'NRSSTOP.NCF','','',Dest,'','',''
  44.   Copyfile 0,0,1,2,0,Src,'NRSAUTO.NLM','','',Dest,'','',''
  45.  
  46.   ; Copy the SYSTEM\NLS files over
  47.   GetPath Src,1,'%{ProductSource}\\System\\Nls\\4','',NWSRC
  48.   GetPath Dest,1,'SYS:SYSTEM\\NLS\\4',''
  49.   Copyfile 0,0,1,2,0,Src,'NRS.MSG','','',Dest,'','',''
  50.  
  51.   ; Copy the PUBLIC files over (Plus the legacy NWADMIN snapin)
  52.   GetPath Src,1,'%{ProductSource}\\Public','',NWSRC
  53.   GetPath Dest,1,'SYS:PUBLIC',''
  54.   Copyfile 0,0,1,2,0,Src,'NRSADM3X.DLL','','',Dest,'','',''
  55.   Copyfile 0,0,1,2,0,Src,'NRSREG3X.EXE','','',Dest,'','',''
  56.   Copyfile 0,0,1,2,0,Src,'NRSADMIN.DLL','','',Dest,'','',''
  57.  
  58.   ; Copy the PUBLIC\NLS files over (Plus the legacy NWADMIN snapin)
  59.   GetPath Src,1,'%{ProductSource}\\Public\\Nls\\English','',NWSRC
  60.   GetPath Dest,1,'SYS:PUBLIC\\NLS\\ENGLISH',''
  61.   Copyfile 0,0,1,2,0,Src,'NRSADMIN.HLP','','',Dest,'','',''
  62.   Copyfile 0,0,1,2,0,Src,'NRSRES3X.DLL','','',Dest,'','',''
  63.   Copyfile 0,0,1,2,0,Src,'NRSRES.DLL','','',Dest,'','',''
  64.  
  65.   ; Copy the PUBLIC\WIN95 files over
  66.   GetPath Src,1,'%{ProductSource}\\Pubw95','',NWSRC
  67.   GetPath Dest,1,'SYS:PUBLIC\\WIN95',''
  68.   Copyfile 0,0,1,2,0,Src,'NRSADM95.DLL','','',Dest,'','',''
  69.   Copyfile 0,0,1,2,0,Src,'NRSREG95.EXE','','',Dest,'','',''
  70.  
  71.   ; Copy the PUBLIC\WIN95\NLS files over
  72.   GetPath Src,1,'%{ProductSource}\\Pubw95\\Nls\\English','',NWSRC
  73.   GetPath Dest,1,'SYS:PUBLIC\\WIN95\\NLS\\ENGLISH',''
  74.   Copyfile 0,0,1,2,0,Src,'NRSADMIN.HLP','','',Dest,'','',''
  75.   Copyfile 0,0,1,2,0,Src,'NRSADMIN.CNT','','',Dest,'','',''
  76.   Copyfile 0,0,1,2,0,Src,'NRSRES95.DLL','','',Dest,'','',''
  77.  
  78.   ; Start NRS
  79.   Display 2, "Loading Novell Replication Services"
  80.   Console 'NRSLOAD',1
  81.  
  82.   ; Start NRSAUTO to update autoexec.ncf, display a message and
  83.   ; use NLMExec to force a wait till NRS is fully loaded.
  84.   ; This gets the install console displayed rather than the system console
  85.   Display 2, "Update the AUTOEXEC.NCF file"
  86.   NLMExec 1, NRSAUTO
  87.  
  88. @EndFileSet
  89.  
  90.