home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / sdk / win32s / install.bat next >
Encoding:
DOS Batch File  |  1995-07-11  |  2.4 KB  |  49 lines

  1. @echo off
  2. cls
  3. echo ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  4. echo ░                                                                       ░
  5. echo ░ Win32s Development File Installation Script                           ░
  6. echo ░ -------------------------------------------                           ░
  7. echo ░                                                                       ░
  8. echo ░ The Win32s development files consist of Setup Toolkit components      ░
  9. echo ░ to assist creating Setup programs that will install your Win32        ░
  10. echo ░ application and Win32s binaries onto Windows 3.1                      ░
  11. echo ░                                                                       ░
  12. echo ░ A debugging version of Win32s along with symbol files for both        ░
  13. echo ░ the debug and nodebug versions of Win32s system components are        ░
  14. echo ░ also installed.  These files are for testing and debugging.           ░
  15. echo ░                                                                       ░
  16. echo ░ These development files are intended for use with the Windows 3.1 SDK ░
  17. echo ░ and products that bundle the Windows 3.1 SDK components.              ░
  18. echo ░                                                                       ░
  19. echo ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  20. if "%1" == "" goto usage
  21.  
  22.  
  23. if exist %1\win32s\bin\switch.bat goto exist
  24.  
  25. pause
  26. xcopy . %1\win32s\ /s /e
  27. del %1\win32s\install.bat
  28.  
  29. goto end
  30.  
  31. :exist
  32. echo ░                                                                       ░
  33. echo ░ Installation destination already exists. Please give another          ░
  34. echo ░ destination, or remove it.                                            ░
  35. echo ░                                                                       ░
  36. echo ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  37.  
  38. goto end
  39.  
  40. :usage
  41. echo ░                                                                       ░
  42. echo ░ Usage: install [drive letter:]                                        ░
  43. echo ░ Example: install c:                                                   ░
  44. echo ░          This installs the development files into C:\WIN32S           ░
  45. echo ░                                                                       ░
  46. echo ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  47.  
  48. :end
  49.