Debian Codegraph @

install/windows/install.bat

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