install.bat 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. rem This script run from create_packages.bat
  2. rem If you run it direct, set up %BUILD_PACK_DIR% first
  3. rem Prepare all installation files
  4. set DC_INSTALL_DIR=%BUILD_PACK_DIR%\doublecmd
  5. mkdir %DC_INSTALL_DIR%
  6. mkdir %DC_INSTALL_DIR%\plugins
  7. rem WCX plugins directories
  8. mkdir %DC_INSTALL_DIR%\plugins\wcx
  9. mkdir %DC_INSTALL_DIR%\plugins\wcx\base64
  10. mkdir %DC_INSTALL_DIR%\plugins\wcx\rpm
  11. mkdir %DC_INSTALL_DIR%\plugins\wcx\sevenzip
  12. mkdir %DC_INSTALL_DIR%\plugins\wcx\unrar
  13. mkdir %DC_INSTALL_DIR%\plugins\wcx\zip
  14. rem WDX plugins directories
  15. mkdir %DC_INSTALL_DIR%\plugins\wdx
  16. mkdir %DC_INSTALL_DIR%\plugins\wdx\scripts
  17. mkdir %DC_INSTALL_DIR%\plugins\wdx\rpm_wdx
  18. mkdir %DC_INSTALL_DIR%\plugins\wdx\deb_wdx
  19. mkdir %DC_INSTALL_DIR%\plugins\wdx\audioinfo
  20. rem WFX plugins directories
  21. mkdir %DC_INSTALL_DIR%\plugins\wfx
  22. mkdir %DC_INSTALL_DIR%\plugins\wfx\ftp
  23. rem WLX plugins directories
  24. mkdir %DC_INSTALL_DIR%\plugins\wlx
  25. mkdir %DC_INSTALL_DIR%\plugins\wlx\richview
  26. mkdir %DC_INSTALL_DIR%\plugins\wlx\preview
  27. mkdir %DC_INSTALL_DIR%\plugins\wlx\wmp
  28. mkdir %DC_INSTALL_DIR%\doc
  29. rem Copy directories
  30. xcopy /E default %DC_INSTALL_DIR%\default\
  31. xcopy /E language %DC_INSTALL_DIR%\language\
  32. xcopy /E pixmaps %DC_INSTALL_DIR%\pixmaps\
  33. xcopy /E highlighters %DC_INSTALL_DIR%\highlighters\
  34. rem Copy files
  35. copy doc\*.txt %DC_INSTALL_DIR%\doc\
  36. copy doublecmd.exe %DC_INSTALL_DIR%\
  37. copy doublecmd.help %DC_INSTALL_DIR%\
  38. copy doublecmd.zdli %DC_INSTALL_DIR%\
  39. copy pinyin.tbl %DC_INSTALL_DIR%\
  40. rem Copy libraries
  41. copy *.sfx %DC_INSTALL_DIR%\
  42. copy *.dll %DC_INSTALL_DIR%\
  43. copy winpty-agent.exe %DC_INSTALL_DIR%\
  44. rem Copy manifest
  45. copy install\windows\doublecmd.visualelementsmanifest.xml %DC_INSTALL_DIR%\
  46. rem copy plugins
  47. rem WCX
  48. copy plugins\wcx\base64\base64.wcx %DC_INSTALL_DIR%\plugins\wcx\base64\
  49. copy plugins\wcx\rpm\rpm.wcx %DC_INSTALL_DIR%\plugins\wcx\rpm\
  50. copy plugins\wcx\sevenzip\sevenzip.wcx %DC_INSTALL_DIR%\plugins\wcx\sevenzip\
  51. xcopy /E plugins\wcx\sevenzip\language %DC_INSTALL_DIR%\plugins\wcx\sevenzip\language\
  52. copy plugins\wcx\unrar\unrar.wcx %DC_INSTALL_DIR%\plugins\wcx\unrar\
  53. xcopy /E plugins\wcx\unrar\language %DC_INSTALL_DIR%\plugins\wcx\unrar\language\
  54. copy plugins\wcx\zip\zip.wcx %DC_INSTALL_DIR%\plugins\wcx\zip\
  55. xcopy /E plugins\wcx\zip\language %DC_INSTALL_DIR%\plugins\wcx\zip\language\
  56. rem WDX
  57. copy plugins\wdx\rpm_wdx\rpm_wdx.wdx %DC_INSTALL_DIR%\plugins\wdx\rpm_wdx\
  58. copy plugins\wdx\deb_wdx\deb_wdx.wdx %DC_INSTALL_DIR%\plugins\wdx\deb_wdx\
  59. copy plugins\wdx\scripts\* %DC_INSTALL_DIR%\plugins\wdx\scripts\
  60. copy plugins\wdx\audioinfo\audioinfo.wdx %DC_INSTALL_DIR%\plugins\wdx\audioinfo\
  61. copy plugins\wdx\audioinfo\audioinfo.lng %DC_INSTALL_DIR%\plugins\wdx\audioinfo\
  62. rem WFX
  63. copy plugins\wfx\ftp\ftp.wfx %DC_INSTALL_DIR%\plugins\wfx\ftp\
  64. xcopy /E plugins\wfx\ftp\language %DC_INSTALL_DIR%\plugins\wfx\ftp\language\
  65. rem WLX
  66. copy plugins\wlx\richview\richview.wlx %DC_INSTALL_DIR%\plugins\wlx\richview\
  67. copy plugins\wlx\preview\preview.wlx %DC_INSTALL_DIR%\plugins\wlx\preview\
  68. copy plugins\wlx\wmp\wmp.wlx %DC_INSTALL_DIR%\plugins\wlx\wmp\