forked from SuperPat45/UltraModernUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CreateZipUMUI.bat
122 lines (93 loc) · 4.78 KB
/
CreateZipUMUI.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@echo off
@echo Creating UltraModernUI zip archive
del /Q UltraModernUI_2.0b2.zip
rmdir /S /Q temp
mkdir temp
mkdir "temp\Contrib\UltraModernUI\"
copy Contrib\UltraModernUI\UMUI.nsh temp\Contrib\UltraModernUI
mkdir "temp\Contrib\UltraModernUI\Ini"
copy Contrib\UltraModernUI\Ini\*.ini temp\Contrib\UltraModernUI\Ini
mkdir "temp\Contrib\UltraModernUI\Language files\"
copy "Contrib\UltraModernUI\Language files\*.nsh" "temp\Contrib\UltraModernUI\Language files"
mkdir "temp\Contrib\UltraModernUI\BGSkins\"
xcopy Contrib\UltraModernUI\BGSkins\* temp\Contrib\UltraModernUI\BGSkins /S /E
mkdir "temp\Contrib\UltraModernUI\Skins\"
xcopy Contrib\UltraModernUI\Skins\* temp\Contrib\UltraModernUI\Skins /S /E
mkdir "temp\Docs\UltraModernUI\"
copy Docs\UltraModernUI\*.* temp\Docs\UltraModernUI
mkdir "temp\Docs\UltraModernUI\images\"
copy Docs\UltraModernUI\images\*.gif temp\Docs\UltraModernUI\images
copy Docs\UltraModernUI\images\*.png temp\Docs\UltraModernUI\images
mkdir "temp\Examples\UltraModernUI\"
copy Examples\UltraModernUI\*.nsi temp\Examples\UltraModernUI
copy Examples\UltraModernUI\*.ini temp\Examples\UltraModernUI
copy Examples\UltraModernUI\*.txt temp\Examples\UltraModernUI
mkdir "temp\Contrib\UIs\UltraModernUI\"
copy Contrib\UIs\UltraModernUI\*.exe temp\Contrib\UIs\UltraModernUI
mkdir "temp\Contrib\Graphics\UltraModernUI\"
copy Contrib\Graphics\UltraModernUI\*.* temp\Contrib\Graphics\UltraModernUI
mkdir "temp\Include\"
copy Include\UMUI.nsh temp\Include
copy Include\MUIEx.nsh temp\Include
mkdir "temp\Plugins\x86-ansi\"
copy Plugins\x86-ansi\SkinnedControls.dll temp\Plugins\x86-ansi
mkdir "temp\Plugins\x86-unicode\"
copy Plugins\x86-unicode\SkinnedControls.dll temp\Plugins\x86-unicode
mkdir "temp\Docs\SkinnedControls\"
copy Docs\SkinnedControls\*.* temp\Docs\SkinnedControls
mkdir "temp\Docs\SkinnedControls\images\"
copy Docs\SkinnedControls\images\*.png temp\Docs\SkinnedControls\images
copy Docs\SkinnedControls\images\*.gif temp\Docs\SkinnedControls\images
mkdir "temp\Contrib\SkinnedControls\"
copy Contrib\SkinnedControls\*.h temp\Contrib\SkinnedControls
copy Contrib\SkinnedControls\*.c temp\Contrib\SkinnedControls
copy Contrib\SkinnedControls\SkinnedControls.sln temp\Contrib\SkinnedControls
copy Contrib\SkinnedControls\SkinnedControls.vcproj temp\Contrib\SkinnedControls
mkdir "temp\Contrib\SkinnedControls\coolsb"
copy Contrib\SkinnedControls\coolsb\*.h temp\Contrib\SkinnedControls\coolsb
copy Contrib\SkinnedControls\coolsb\*.c temp\Contrib\SkinnedControls\coolsb
copy Contrib\SkinnedControls\coolsb\detours.lib temp\Contrib\SkinnedControls\coolsb
copy Contrib\SkinnedControls\coolsb\coolsb.vcproj temp\Contrib\SkinnedControls\coolsb
mkdir "temp\Contrib\SkinnedControls\skins"
copy Contrib\SkinnedControls\skins\*.bmp temp\Contrib\SkinnedControls\skins
mkdir "temp\Examples\SkinnedControls\"
copy Examples\SkinnedControls\*.nsi temp\Examples\SkinnedControls
rem mkdir "temp\Contrib\UIs"
copy Contrib\UIs\modern_sb.exe temp\Contrib\UIs
copy Contrib\UIs\default_sb.exe temp\Contrib\UIs
rem mkdir "temp\Plugins\x86-ansi\"
copy Plugins\x86-ansi\InstallOptionsEx.dll temp\Plugins\x86-ansi
rem mkdir "temp\Plugins\x86-unicode\"
copy Plugins\x86-unicode\InstallOptionsEx.dll temp\Plugins\x86-unicode
mkdir "temp\Docs\InstallOptionsEx\"
copy Docs\InstallOptionsEx\*.* temp\Docs\InstallOptionsEx
mkdir "temp\Contrib\InstallOptionsEx\"
copy Contrib\InstallOptionsEx\*.h temp\Contrib\InstallOptionsEx
copy Contrib\InstallOptionsEx\*.cpp temp\Contrib\InstallOptionsEx
copy Contrib\InstallOptionsEx\*.c temp\Contrib\InstallOptionsEx
copy Contrib\InstallOptionsEx\ioptdll.rc temp\Contrib\InstallOptionsEx
copy Contrib\InstallOptionsEx\io.sln temp\Contrib\InstallOptionsEx
copy Contrib\InstallOptionsEx\io.vcproj temp\Contrib\InstallOptionsEx
mkdir "temp\Contrib\InstallOptionsEx\Controls"
copy Contrib\InstallOptionsEx\Controls\*.h temp\Contrib\InstallOptionsEx\Controls
mkdir "temp\Examples\InstallOptionsEx\"
copy Examples\InstallOptionsEx\*.nsi temp\Examples\InstallOptionsEx
copy Examples\InstallOptionsEx\*.ini temp\Examples\InstallOptionsEx
rem mkdir "temp\Plugins\x86-ansi\"
copy Plugins\x86-ansi\nsArray.dll temp\Plugins\x86-ansi
rem mkdir "temp\Plugins\x86-unicode\"
copy Plugins\x86-unicode\nsArray.dll temp\Plugins\x86-unicode
rem mkdir "temp\Include\"
copy Include\nsArray.nsh temp\Include
mkdir "temp\Docs\nsArray\"
copy Docs\nsArray\*.* temp\Docs\nsArray
mkdir "temp\Examples\nsArray\"
copy Examples\nsArray\*.nsi temp\Examples\nsArray
mkdir "temp\Contrib\nsArray\"
copy Contrib\nsArray\*.* temp\Contrib\nsArray
cd temp
"C:\Program Files\7-Zip\7z.exe" a -tzip -mx9 ..\UltraModernUI_2.0b2.zip *
cd ..
rmdir /S /Q temp
@echo Process completed
@echo on