Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.1 KiB

  1. @echo off
  2. cls
  3. echo.
  4. echo ===================================
  5. echo LocStudio WAVE parser ver1.00 setup
  6. echo ===================================
  7. echo.
  8. echo please make sure followings :
  9. echo * you've already installed LocStudio 4.1x, 4.2x
  10. echo * LocStudio is not launched
  11. echo.
  12. if not "%1" == "" goto exec
  13. :usage
  14. echo [usage]
  15. echo please specify your LocStudio folder like below.
  16. echo Ex) Setup c:\LocStudio
  17. echo.
  18. goto exit
  19. :exec
  20. pause
  21. if exist %1\msloc.exe goto islsdir
  22. echo [error]
  23. echo illegal folder. please make sure.
  24. echo.
  25. goto exit
  26. :islsdir
  27. set _file_=win32cst.dll
  28. echo copy : [%_file_%]
  29. copy %_file_% %1 /v > NUL
  30. set _file_=custbin.dll
  31. echo copy : [%_file_%]
  32. copy %_file_% %1 /v > NUL
  33. set _file_=bindump.dll
  34. echo copy : [%_file_%]
  35. copy %_file_% %1 /v > NUL
  36. echo.
  37. :registry
  38. echo from now, setup set the registry data.
  39. echo push "yes" button when you see the confirmation dialog.
  40. echo.
  41. pause
  42. call _makereg.bat %1
  43. regedit %1\_setup.reg
  44. pause
  45. call _makereg.bat %1 DEL
  46. :done
  47. echo setup completed.
  48. echo.
  49. :exit
  50. set _file_=