home *** CD-ROM | disk | FTP | other *** search
/ MORE WinGames / WINGAMES.iso / siege / install.wbt < prev    next >
Text File  |  1993-06-30  |  3KB  |  110 lines

  1. ;=========================================================================
  2. ;                                   Siege!
  3. ;                                for Windows         
  4. ;                         Written by Edward E. Dellow        
  5. ;                    Copyright (c) 1993, Strategic Solutions  
  6. ;                                      
  7. ;                             _______
  8. ;                        ____|__     |                (R)
  9. ;                     --|       |    |-------------------
  10. ;                       |   ____|__  |  Association of
  11. ;                       |  |       |_|  Shareware
  12. ;                       |__|   o   |    Professionals
  13. ;                     -----|   |   |---------------------
  14. ;                          |___|___|    MEMBER
  15. ;    
  16. ;=========================================================================
  17. ;
  18. ;   To install Siege! for Windows
  19. ;  
  20. ;          1) Start windows 
  21. ;          2) From the Program manager Select FILE\RUN
  22. ;          3) Run the program INSTALL.EXE in this directory\disk
  23. ;          4) Answer the questions asked by the install program
  24. ;------------------------------------------------------------------------
  25. ;
  26. ;   Install script for Siege! for Windows
  27. ;
  28. ;   Edward E. Dellow  4/25/93
  29. ;
  30. ;   Copyright (c) Strategic Solutions
  31. ;
  32. ;------------------------------------------------------------------------
  33.  
  34. Title Install Siege! for Windows Evaluation
  35. Icon1 icon.exe
  36. Icon2 icon.exe
  37.  
  38. ; Default paths
  39.  
  40. Set INSTPATH=c:\ss\winsiege
  41. Set WINPATH=c:\windows
  42.  
  43. ; Get the path where the product should be put
  44.  
  45. cls
  46. Echo
  47. Echo Siege! for Windows Version 1.1
  48. Echo Evaluation version
  49. Echo Installation
  50. Echo Copyright(c) 1993 Strategic Solutions
  51. Echo Written by Edward E. Dellow
  52.  
  53. Status You are about to install Siege! for Windows on you Hard drive. Enter the pathname where you would like it to be installed.
  54.  
  55. :GetPath
  56. Ask      INSTPATH
  57. FullPath INSTPATH=%%INSTPATH%%
  58. OnError MkDir_Error
  59. Mkdir %%INSTPATH%%
  60.  
  61. ; Get the path where windows can be found
  62.  
  63. :GetWinPath
  64. OnError Install_Error
  65. Status Enter the path name containing Microsoft Windows.
  66. Ask  WINPATH
  67.  
  68. OnError Install_Error
  69.  
  70. ;--------------------
  71. ; Begin installation
  72. ;--------------------
  73.  
  74. Cls
  75. Echo Installing Siege! for Windows.
  76. Echo Install Dir = '%%INSTPATH%%'
  77. Echo Windows Dir = '%%WINPATH%%'
  78. Echo
  79. Echo One moment please...
  80.  
  81. AddGroup Stategic Solutions
  82. LZCopy wseval.ex_    %%INSTPATH%%
  83. LZCopy winsiege.hl_  %%INSTPATH%%
  84. Copy winsiege.txt  %%INSTPATH%%
  85. Copy orderfrm.txt  %%INSTPATH%%
  86. Copy baron.plc     %%INSTPATH%%
  87. Copy killer.plc    %%INSTPATH%%
  88. Copy squire.plc    %%INSTPATH%%
  89. Copy super.plc     %%INSTPATH%%
  90. Copy me.plc        %%INSTPATH%%
  91. LZCopy bwcc.dl_    %%WINPATH%%\system
  92. ReplaceItem        %%INSTPATH%%\wseval.exe,Siege! for Windows
  93. Status 
  94. Message Installation complete!
  95. ShowGroup Stategic Solutions,3
  96. Goto End
  97.  
  98. :MkDir_Error
  99. Status The path specified is invalid! Please enter a valid Directory for installation.
  100. Goto GetPath
  101.  
  102. :Install_Error
  103. cls
  104. Echo
  105. Echo An error has occurred.  
  106. Echo Please read the error message below.
  107. Pause
  108.  
  109. :End
  110.