home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 March / PCWK0397.iso / novell / webserv3 / disk1 / web.ips < prev   
Text File  |  1996-12-17  |  15KB  |  308 lines

  1.  
  2. ;****************************************************************************
  3. ; Install Script for WEB Server
  4. ; $Revision:   1.15  $    
  5. ; $Date:   25 Nov 1996 07:52:32  $
  6. ;****************************************************************************
  7.  
  8. @FileSet
  9.  
  10.     Description: "Novell WEB Server 3.0"
  11.     Name:        WEB
  12.     Class:       MANDATORY
  13.  
  14.     Bytes:       9000000
  15.  
  16. command icmd
  17.  
  18. display 1, "Welcome to the Novell Web Server 3.0 Installation                                          "
  19. display 1, "Please make sure TCP/IP is configured and bound.  If not, select\n
  20.             Yes after the next prompt, escape to Previous Screen, and choose\n
  21.             Configure NetWork Protocols to configure and bind TCP/IP."
  22.  
  23. Menu Yes_No, "Do you wish to exit to configure and bind TCP/IP ?",
  24.      2,0,
  25.      "Yes", '1',
  26.      "No", '0'
  27.  
  28. GotoIfEqual '%{Yes_No}', '1', final_exit
  29.  
  30. ;lic.p1
  31. display 1,
  32. "[INTERNATIONAL VERSION -- BETA SOFTWARE]\n\n
  33. BETA SOFTWARE LICENSE  AGREEMENT\n\n
  34. BEFORE YOU SELECT THE YES@ OPTION AT THE END OF THIS DOCUMENT,\n
  35. PLEASE CAREFULLY REVIEW ALL TERMS AND CONDITIONS AND BE SURE\n
  36. YOU UNDERSTAND THEM.  BY CHOOSING YES,@ YOU (HEREIN LICENSEE@)\n
  37. BECOME A PARTY, WITH NOVELL, INC. (HEREIN NOVELL@) TO THE BETA\n
  38. SOFTWARE LICENSE AGREEMENT, LEGALLY BOUND BY ITS TERMS AND\n
  39. CONDITIONS, AS SHOWN. IF YOU DO NOT AGREE TO ANY OF THE TERMS\n
  40. AND CONDITIONS SHOWN, YOU MUST SELECT THE NO@ OPTION, IN WHICH\n
  41. CASE THE NOVELL SOFTWARE MAY NOT BE LEGALLY INSTALLED OR USED."
  42.  
  43. ;lic.p2
  44. display 1,
  45. "1.     Grant of License.  Novell grants Licensee a non-exclusive license\n
  46. to use the Beta International version of NOVELL Web Server 3.0 (ASoftware@)\n
  47. that will be automatically extracted and/or installed upon Licensee's\n
  48. acceptance of the terms and conditions of this Agreement.  The Software\n
  49. is protected by the copyright laws of the United States and international\n
  50. copyright treaties, and is subject to export control laws and regulations\n
  51. of the United States.  All rights in the Software are owned by Novell or\n
  52. its licensors.  No license under any invention, patent, copyright, trade\n
  53. secret or other proprietary right is granted, either directly or\n
  54. indirectly, by this Agreement except as specifically granted herein."
  55.  
  56. ;lic.p3
  57. display 1,
  58. "Licensee may distribute an unlimited number of copies of the Software\n
  59. internally and externally provided that (i) Licensee does not receive\n
  60. any direct payment for any such copies; and (ii) prior to such\n
  61. distribution, Licensee has a written or electronic agreement with\n
  62. such parties that is no less protective of Novell's rights than this\n
  63. Agreement and that requires the party to protect and use the\n
  64. Software in accordance with the terms of this Agreement.  Licensee\n
  65. agrees to promptly notify Novell in writing of any of any circumstances\n
  66. which become known to Company surrounding any possession or use of\n
  67. the Software by any person or entity other than those authorized\n
  68. under this Agreement."
  69.  
  70. ;lic.p4
  71. display 1,
  72. "2.     Disclaimer and Limitation of Liability. THE PRODUCT IS\n
  73. PROVIDED  AS IS. NOVELL GRANTS NO CONDITIONS OR WARRANTIES,\n
  74. EITHER EXPRESS OR IMPLIED, INCLUDING ALL IMPLIED CONDITIONS OR\n
  75. WARRANTIES OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT, OR\n
  76. FITNESS FOR PURPOSE.  IN NO EVENT SHALL NOVELL BE LIABLE FOR ANY\n
  77. LOSSES OR DAMAGES CAUSED BY THE USE OF THE PRODUCT BY COMPANY.\n\n
  78. THE SOFTWARE IS NOT DESIGNED, MANUFACTURED OR INTENDED FOR USE\n
  79. OR RESALE FOR ON-LINE CONTROL EQUIPMENT IN HAZARDOUS\n
  80. ENVIRONMENTS REQUIRING FAIL SAFE PERFORMANCE, SUCH AS IN THE\n
  81. OPERATION OF NUCLEAR FACILITIES, AIRCRAFT NAVIGATION OR AIRCRAFT\n
  82. COMMUNICATIONS SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE SUPPORT\n
  83. MACHINES, OR WEAPONS SYSTEMS, IN WHICH FAILURE OF THE\n
  84. SOFTWARE COULD LEAD DIRECTLY TO DEATH, PERSONAL INJURY, OR\n
  85. SEVERE PHYSICAL OR ENVIRONMENTAL DAMAGE."
  86.  
  87. ;lic.p5
  88. display 1,
  89. "  THE SOFTWARE IS ONLY COMPATIBLE WITH CERTAIN COMPUTERS AND OPERATING\n
  90. SYSTEMS.  THE SOFTWARE IS NOT WARRANTED FOR NON-COMPATIBLE SYSTEMS.\n
  91. Call Novell Customer Support or your Dealer for information about\n
  92. compatibility.\n\n
  93.   In addition, Novell does not represent or warrant that it will make\n
  94. the Software generally available to the public or that target dates\n
  95. will be met.  Novell may change or cancel its plans at any time.\n
  96. Licensee hereby acknowledges that the Software is of pre-release\n
  97. quality, has not been fully tested, and may contain errors.  Licensee\n
  98. assumes the entire risk arising out of the use of the Software.\n\n
  99.   IN NO EVENT SHALL NOVELL OR ITS LICENSORS BE LIABLE FOR ANY\n
  100. INCIDENTAL, CONSEQUENTIAL, SPECIAL OR INDIRECT DAMAGES OF ANY SORT,"
  101.  
  102. ;lic.p6
  103. display 1,
  104. "WHETHER ARISING IN TORT, CONTRACT OR OTHERWISE  INCLUDING WITHOUT\n
  105.  LIMITATION LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, OR LOSS\n
  106. OF DATA) ARISING OUT OF USE OF THE SOFTWARE OR INABILITY TO USE THE\n
  107. DATA) ARISING OUT OF USE OF THE SOFTWARE OR INABILITY TO USE THE\n
  108. SOFTWARE, EVEN IF NOVELL HAS BEEN INFORMED OF THE POSSIBILITY OF SUCH\n
  109. DAMAGES.  NOVELL WILL HAVE NO LIABILITY FOR ANY CLAIM OR LOSS THAT\n
  110. RESULTS FROM MODIFICATIONS TO THE SOFTWARE THAT WERE NOT MADE BY\n
  111. NOVELL.  BECAUSE SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION\n
  112. OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, THE ABOVE LIMITATIONS AND\n
  113. EXCLUSIONS MAY NOT APPLY TO LICENSEE.\n\n
  114. 4.     U.S Export Laws and Regulations.  Because The Software was developed in the United States of America, U. S. export laws and regulations apply to its use.  The Software may not be downloaded,\n
  115. exported or redistributed in any form in or to Cuba, France, Iran, Iraq, Libya, North Korea, Syria, or to residents or nationals of any of the foregoing countries."
  116.  
  117. ;lic.p7
  118. display 1,
  119. "Licensee may not export or transfer, whether directly or indirectly, The Software, or any portion or adaptation thereof, or any system containing The Software or portion thereof, to anyone outside the\n 
  120. United States, without first complying strictly and fully with all export controls that may be imposed on The Software by the United States Government (as noted in the U.S. Department of Commerce\n
  121. Export Administration Regulations') or any country or organization of nations within whose jurisdiction the Licensee resides or does business.\n\n
  122.   Licensee acknowledges that you are not restricted from receiving U.S. goods and agree to comply with all applicable U.S. export laws and import laws in the country in which you reside."
  123.  
  124. ;lic.p8
  125. display 1,
  126. "5.     U.S. Government Restricted Rights.  Use, duplication, or disclose by the United States Government is subject to restrictions as set forth in FAR  52.227 14 (June 1987) Alternate III(g)(3)\n
  127. (June 1987), FAR  52.227-19 (June 1987), or DFARS  52.227-7013 (c)(I)(ii) (June 1988), as applicable.  Contractor/Manufacturer is Novell, Inc., 122 East 1700 South, Provo, Utah 84606.\n\n
  128. 6.     Term and Termination.  This Agreement is effective on the date Licensee [download/install] the Software and will remain in force until the end of the Beta period or until terminated, whichever\n
  129. occurs sooner.  Licensee may terminate this Agreement at any time by destroying the Software together with all copies and adaptations.  This Agreement will also automatically terminate if Licensee\n
  130. breaches any of the terms or conditions."
  131.  
  132. ;lic.p9
  133. display 1,
  134. "Upon termination, Licensee must cease use of the Software and shall promptly return or certify destruction of all copies of the Software, any adaptations and all other materials provided by or through Novell.\n\n
  135. 7.   General\n
  136. a.   This Agreement shall be governed and construed in accordance with the laws of Utah (without regard to conflicts of laws provisions).  Furthermore, it is understood that this Agreement will be treated\n
  137. as though it were executed in Utah County of the State of Utah. In any legal proceeding arising out of this Agreement, the prevailing party shall be entitled to an award of its costs and reasonable attorneys' fees.\n
  138. b.   If any provision of this Agreement is determined to be void or unenforceable, the remaining provisions shall be given full force and effect.  If any provision is unenforceable because of scope or\n
  139. breadth, such provision shall be valid to the extent permitted by law."
  140.  
  141. ;lic.p10
  142. display 1,
  143. "c.   No agency, partnership, joint venture or other joint relation is created by this Agreement.\n
  144. d.   The parties agree that the complete and exclusive statement of the agreement between the parties relating to this subject shall consist of this Agreement.  Any reproduction of this Agreement by\n
  145. reliable means will be considered an original of this document.  This Agreement is executed in English and may not be modified or amended except in writing signed by authorized representatives of both parties.\n
  146. e.   No waiver of any right under this Agreement shall be effective unless in writing, signed by a duly authorized representative of the party to be bound.  No waiver of any past or present right arising\n
  147. from any breach or failure to perform shall be deemed to be a waiver of any future right arising under this Agreement."
  148.  
  149.  
  150. Menu Yes_No, "I have read and accept the license agreement",
  151.      2,0,
  152.      "I Accept  - Yes", '1',
  153.      "I Decline - No ", '0'
  154.  
  155. GotoIfEqual '%{Yes_No}', '0', final_exit
  156.  
  157.  
  158. ;****************************************************************
  159. ; INW_WEB directory, Web Common files shared by all virtual servers
  160. ;****************************************************************
  161.  
  162. getpath     inwdest, 4, 'SYS:\\INW_WEB', "Default Path for Product Root is %s"
  163. display 1, "If you are upgrading from Web Server 2.5X, the Server Root path that you will specify must be the path where the Web Server 2.5 X was installed."
  164. getpath     wdest, 4, 'sys:\\web', "Default Path for Server Root is %s"
  165.  
  166. copyfile    1, 1, 1, 1, 1,
  167.             NWSRC, 'INW_WEB', '', '',
  168.             inwdest, ''    , '', ''
  169.  
  170. ;****************************************************************
  171. ; Delete index.htm from INW_WEB
  172. ;****************************************************************
  173. erasefile    0, inwdest, index.htm, '', ''
  174.  
  175.  
  176. ;****************************************************************
  177. ; Copy web.cfg to sys:etc directory                   
  178. ;****************************************************************
  179.  
  180. getpath     etcdest, 1, 'SYS:\\ETC', ''
  181.  
  182. copyfile    0, 0, 1, 1, 0,
  183.             NWSRC, 'ETC\\web.cfg', '', '',
  184.             etcdest, ''        , '', ''
  185.  
  186. ;****************************************************************
  187. ; WEB directory: copy WEB\DOCS    (unconditionally)
  188. ;                copy WEB\MAPS    (unconditionally)
  189. ;                copy WEB\SAMPLES (unconditionally)
  190. ;                copy WEB\SCRIPTS (unconditionally)
  191. ;                copy WEB\CONFIG  (if not present)
  192. ;                create WEB\LOGS
  193. ;****************************************************************
  194.  
  195. ;display 1, "If you are upgrading from Web Server 2.5X, the Server Root path that you will specify must be the path where the Web Server 2.5 X was installed."
  196. ;getpath     wdest, 4, 'sys:\\web', "Default Path for Server Root is %s"
  197.  
  198. copyfile    1, 1, 1, 1, 8, 
  199.             NWSRC, 'WEB\\DOCS', '', ''   , 
  200.             wdest, 'DOCS'     , '', ''
  201.  
  202. copyfile    1, 1, 1, 1, 8, 
  203.             NWSRC, 'WEB\\MAPS', '', ''   , 
  204.             wdest, 'MAPS'     , '', ''
  205.  
  206. copyfile    1, 1, 1, 1, 8, 
  207.             NWSRC, 'WEB\\SAMPLES', '', ''   , 
  208.             wdest, 'SAMPLES'     , '', ''
  209.  
  210. copyfile    1, 1, 1, 1, 8, 
  211.             NWSRC, 'WEB\\SCRIPTS', '', ''   , 
  212.             wdest, 'SCRIPTS'     , '', ''
  213.  
  214. copyfile    1, 1, 1, 1, 8, 
  215.             NWSRC, 'WEB\\CONFIG', '', '', 
  216.             wdest, 'CONFIG'     , '', '',
  217.             1
  218.  
  219. setdir      wdest, 'LOGS', '', '', 10, 0, 0
  220.  
  221. ;****************************************************************
  222. ; Copy index.htm (if present, prompt user)
  223. ;****************************************************************
  224.  
  225. copyfile    0, 0, 1, 1, 0,
  226.             NWSRC, 'INW_WEB\\index.htm', '', '',
  227.             wdest, 'DOCS'           , '', '',
  228.             2
  229.  
  230.  
  231. ;****************************************************************
  232. ; Create EVALLIC directories 
  233. ;****************************************************************
  234.  
  235. getpath     sdest, 1, 'SYS:', ''
  236.  
  237. setdir      sdest, 'EVALLIC', '', '', 10, 0, 0
  238.  
  239.  
  240. ;****************************************************************************
  241. ; Save tcpip.nlm and tcpip.msg in SYS:\SYSTEM\TCPIP.SAV directory
  242. ;****************************************************************************
  243.  
  244. getpath     tcpdest, 1, 'SYS:\\SYSTEM\\TCPIP.SAV', '' 
  245. getpath     tcpsrc1, 1, 'SYS:\\SYSTEM', '' 
  246. getpath     tcpsrc2, 1, 'SYS:\\SYSTEM\\NLS\\4', '' 
  247.  
  248. copyfile    0, 0, 0, 1, 0,
  249.             tcpsrc1, 'tcpip.nlm', '', '',
  250.             tcpdest, ''         , '', ''
  251. copyfile    0, 0, 0, 1, 0,
  252.             tcpsrc2, 'tcpip.msg', '', '',
  253.             tcpdest, ''         , '', ''
  254.  
  255.  
  256. ;***************************************************************************
  257. ; Copy the NLM files into SYSTEM directory (if not present or src is newer)
  258. ;***************************************************************************
  259.  
  260. getpath     sdest, 1, 'SYS:\\SYSTEM', ''
  261.  
  262. copyfile    1, 1, 1, 1, 1,
  263.             NWSRC, 'SYSTEM', '', '',
  264.             sdest, ''      , '', '',
  265.             3
  266.  
  267. ;****************************************************************
  268. ; Copy the NETBASIC components (unconditionally)
  269. ;****************************************************************
  270.  
  271. getpath     bdest, 1, 'SYS:\\NETBASIC', ''
  272.  
  273. copyfile    1, 1, 1, 1, 1,
  274.             NWSRC, 'NETBASIC', '', '',
  275.             bdest, ''        , '', ''
  276.  
  277. ;****************************************************************
  278. ; Copy the Client components into the PUBLIC directory 
  279. ;     (if not present or src is newer)
  280. ;****************************************************************
  281.  
  282. getpath     pdest, 1, 'SYS:\\PUBLIC', ''
  283.  
  284. copyfile    1, 1, 1, 1, 1,
  285.             NWSRC, 'PUBLIC', '', '',
  286.             pdest, ''      , '', '',
  287.             3
  288.  
  289.  
  290. ;****************************************************************
  291. ; Exec Other NLMs
  292. ;****************************************************************
  293.  
  294. nlmexec 1, 'SYS:SYSTEM\\WEBLIC'
  295. nlmexec 1, 'SYS:SYSTEM\\WEBINST %{wdest} %{inwdest}'
  296.  
  297. ProductRecord WEB, 1, "Novell Web Server"
  298. ProductRecord WEB, 0, "3.0" 
  299. ProductRecord WEB, 4, "UNINSTAL.NLM WEB"
  300.  
  301. label done
  302.  
  303. display 1, "The Novell Web Server product is installed. From the server console execute the commands DOWN and EXIT. Then reboot the server from DOS."  
  304.  
  305. label final_exit
  306.  
  307. @EndFileSet
  308.