home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: OtherApp / OtherApp.zip / WLO10.ZIP / SETUP.DAT < prev   
Text File  |  1991-09-23  |  2KB  |  62 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo Microsoft (R) Windows 3.0 Applets for OS/2
  5. echo Setup Program
  6. rem  Copyright (C) Microsoft Corp. 1990-1991.  All rights reserved.
  7. echo.
  8. echo These Windows applets have been relinked to run with the Windows
  9. echo Libraries for OS/2 (WLO) version 1.0.  They are for demonstration
  10. echo purposes only.
  11. echo.
  12. echo Approximately 2.4 MB disk space is required to install all of the
  13. echo applets and the Windows Libraries for OS/2 (WLO) mapping layer.
  14. echo To exit without installing, press CTRL-C, otherwise press any key.
  15. echo.
  16. pause
  17.  
  18. copy %2readme.txt %1\README.TXT
  19.  
  20. rem  -----------WLO DLLs--------------
  21. echo.
  22. echo Copying Windows Libraries for OS/2
  23. echo.
  24. if not exist %1\wlo md %1\WLO
  25. %1\decomp %2wlo\*.* %1\wlo
  26. %1\wlo\wloinst -s %1\wlo
  27.  
  28. rem  -----------Applets---------------
  29. echo.
  30. echo Copying the Windows 3.0 Applets
  31. echo.
  32. %1\decomp %2app\*.* %1
  33. echo.
  34. echo Attaching Applet Program Icons
  35. echo.
  36. if exist %1\wloinit.ico  %1\wlo\wloinst -i %1\wloinit.ico  -e %1\wloinit.exe
  37. if exist %1\calc.ico     %1\wlo\wloinst -i %1\calc.ico     -e %1\calc.exe
  38. if exist %1\calendar.ico %1\wlo\wloinst -i %1\calendar.ico -e %1\calendar.exe
  39. if exist %1\cardfile.ico %1\wlo\wloinst -i %1\cardfile.ico -e %1\cardfile.exe
  40. if exist %1\clipbrd.ico  %1\wlo\wloinst -i %1\clipbrd.ico  -e %1\clipbrd.exe
  41. if exist %1\clock.ico    %1\wlo\wloinst -i %1\clock.ico    -e %1\clock.exe
  42. if exist %1\notepad.ico  %1\wlo\wloinst -i %1\notepad.ico  -e %1\notepad.exe
  43. if exist %1\reversi.ico  %1\wlo\wloinst -i %1\reversi.ico  -e %1\reversi.exe
  44. if exist %1\sol.ico      %1\wlo\wloinst -i %1\sol.ico      -e %1\sol.exe
  45. if exist %1\winhelp.ico  %1\wlo\wloinst -i %1\winhelp.ico  -e %1\winhelp.exe
  46. if exist %1\terminal.ico %1\wlo\wloinst -i %1\terminal.ico -e %1\terminal.exe
  47. if exist %1\pbrush.ico   %1\wlo\wloinst -i %1\pbrush.ico   -e %1\pbrush.exe
  48. if exist %1\write.ico    %1\wlo\wloinst -i %1\write.ico    -e %1\write.exe
  49.  
  50. :Done
  51. rem --- clean up files
  52. copy %1\*.dll c:\os2\dll
  53. del %1\decomp.exe
  54. del %1\*.ico
  55. del %1\wlo\*.dl@
  56. del %1\wlo\*.exe
  57. rd %1\wlo
  58. cd %1
  59. echo.
  60. echo Windows 3.0 Applets for OS/2 Installation Complete.
  61. echo.
  62.