home *** CD-ROM | disk | FTP | other *** search
/ CD Direkt 1995 #3 / _.ISO / cdd / info / ssm / install / katalog1.exe / INST.BAT next >
DOS Batch File  |  1995-01-05  |  1KB  |  68 lines

  1. scrshow inst1 /n2
  2. pb "-k%FROM%" -h4 -v11 -r0 -o -y6 -x42
  3. pb "-k%TO%" -h4 -v11 -r0 -o -y6 -x50
  4. :Start
  5. taste
  6. if errorlevel 52 goto start
  7. if errorlevel 51 goto start
  8. if errorlevel 50 goto at
  9. if errorlevel 49 goto atsb
  10. if errorlevel 48 goto start
  11. if errorlevel 28 goto start
  12. if errorlevel 27 goto endex
  13. if errorlevel 26 goto start
  14. goto start
  15. :at
  16. SET KONFIG=AT
  17. goto inst
  18. :atsb
  19. SET KONFIG=ATSB
  20. goto inst
  21. :inst
  22. scrshow inst1 /n3
  23. scrshow inst1 /n4
  24. Copy %FROM%:\Katalog.Exe %TO%:\SSM-KATA > nul
  25. scrshow inst1 /n5
  26. katalog > nul
  27. scrshow inst1 /n6
  28. del Katalog.exe > nul
  29. scrshow inst1 /n7
  30. scrshow inst1 /n8
  31. call gesamt.bat
  32. scrshow inst1 /n9
  33. if "%KONFIG%" == "ATSB" SET KAT=SB
  34. if "%KONFIG%" == "AT" SET KAT=NO
  35. if "%KONFIG%" == "" goto error1
  36. Echo [KONFIG]     >  %TO%:\SSM-KATA\SOUND.CFG
  37. Echo.             >> %TO%:\SSM-KATA\SOUND.CFG
  38. Echo SOUND=%KAT%  >> %TO%:\SSM-KATA\SOUND.CFG
  39.  
  40. Echo @Echo off    >  SSM.BAT
  41. Echo %TO%:        >> SSM.BAT
  42. Echo CD\          >> SSM.BAT
  43. ECho CD SSM-KATA  >> SSM.BAT
  44. Echo KATALOG      >> SSM.BAT
  45. Echo CD\          >> SSM.BAT
  46. Echo CLS          >> SSM.BAT
  47. Echo ECHO ON      >> SSM.BAT
  48.  
  49. Copy ssm.bat \ > nul
  50. scrshow inst1 /n10 /p
  51. goto ende
  52.  
  53. :ende
  54. temp.bat
  55. goto endex
  56. :error1
  57. cls
  58. Echo.
  59. Echo Unerwarteter Fehler beim Erstellen der SSM.BAT!
  60. Echo Installation abgebrochen!
  61. Echo.
  62. Echo Bitte mit Katalog.com starten!
  63. Echo.
  64. :endex
  65. SET KONFIG=
  66. SET KAT=
  67. SET FROM=
  68. SET TO=