hytos / ID2.nsi @ c3d2e266
이력 | 보기 | 이력해설 | 다운로드 (14.1 KB)
1 |
; This file is not used anymore |
---|---|
2 |
; Script generated by the HM NIS Edit Script Wizard. |
3 |
|
4 |
; HM NIS Edit Wizard helper defines |
5 |
!define PRODUCT_NAME "ID2" |
6 |
!define PRODUCT_VERSION "1.1" |
7 |
!define PRODUCT_PUBLISHER "DOFTECH" |
8 |
!define PRODUCT_WEB_SITE "http://www.doftech.co.kr/" |
9 |
!define PRODUCT_DIR_REGKEY "Software\${PRODUCT_PUBLISHER}\${PRODUCT_NAME}" |
10 |
!define PRODUCT_UNINST_KEY "Software\${PRODUCT_PUBLISHER}\${PRODUCT_NAME}\Uninstall" |
11 |
!define PRODUCT_UNINST_ROOT_KEY "HKLM" |
12 |
!define /date TIMESTAMP "%Y-%m-%d-%H-%M-%S" |
13 |
|
14 |
; MUI 1.67 compatible ------ |
15 |
!include "MUI.nsh" |
16 |
!include "x64.nsh" |
17 |
|
18 |
; MUI Settings |
19 |
!define MUI_ABORTWARNING |
20 |
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico" |
21 |
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" |
22 |
|
23 |
; Welcome page |
24 |
!insertmacro MUI_PAGE_WELCOME |
25 |
; License page |
26 |
!insertmacro MUI_PAGE_LICENSE "license.txt" |
27 |
; Directory page |
28 |
!insertmacro MUI_PAGE_DIRECTORY |
29 |
; Instfiles page |
30 |
!insertmacro MUI_PAGE_INSTFILES |
31 |
; Finish page |
32 |
!define MUI_FINISHPAGE_RUN "$INSTDIR\${PRODUCT_NAME}.exe" |
33 |
!insertmacro MUI_PAGE_FINISH |
34 |
|
35 |
; Uninstaller pages |
36 |
!insertmacro MUI_UNPAGE_INSTFILES |
37 |
|
38 |
; Language files |
39 |
!insertmacro MUI_LANGUAGE "Korean" |
40 |
|
41 |
; MUI end ------ |
42 |
|
43 |
; RequestExecutionLevel admin |
44 |
|
45 |
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" |
46 |
OutFile "Setup\${PRODUCT_NAME}-${TIMESTAMP}.exe" |
47 |
InstallDir "$PROGRAMFILES\${PRODUCT_NAME}" |
48 |
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" |
49 |
ShowInstDetails show |
50 |
ShowUnInstDetails show |
51 |
BrandingText "DOFTECH(C)" |
52 |
|
53 |
Section "MainSection" SEC01 |
54 |
SetOutPath "$INSTDIR" |
55 |
SetOverwrite try |
56 |
File "dist\App\${PRODUCT_NAME}.exe" |
57 |
File "dist\App\*.dll" |
58 |
File "dist\App\*.pyd" |
59 |
File "dist\App\base_library.zip" |
60 |
File "dist\App\*.qss" |
61 |
File "dist\App\*.manifest" |
62 |
|
63 |
SetOutPath "$INSTDIR\Commands" |
64 |
File "dist\App\Commands\*.py" |
65 |
|
66 |
SetOutPath "$INSTDIR\cv2" |
67 |
File "dist\App\cv2\*.pyd" |
68 |
|
69 |
SetOutPath "$INSTDIR\db" |
70 |
File "dist\App\db\*.db" |
71 |
|
72 |
SetOutPath "$INSTDIR\Include" |
73 |
File "dist\App\Include\pyconfig.h" |
74 |
|
75 |
SetOutPath "$INSTDIR\lib2to3" |
76 |
File "dist\App\lib2to3\*.txt" |
77 |
File "dist\App\lib2to3\*.pickle" |
78 |
SetOutPath "$INSTDIR\lib2to3\tests\data" |
79 |
File "dist\App\lib2to3\tests\data\README" |
80 |
|
81 |
SetOutPath "$INSTDIR\numpy\core" |
82 |
File "dist\App\numpy\core\*.pyd" |
83 |
SetOutPath "$INSTDIR\numpy\fft" |
84 |
File "dist\App\numpy\fft\*.pyd" |
85 |
SetOutPath "$INSTDIR\numpy\linalg" |
86 |
File "dist\App\numpy\linalg\*.pyd" |
87 |
SetOutPath "$INSTDIR\numpy\random" |
88 |
File "dist\App\numpy\random\*.pyd" |
89 |
|
90 |
SetOutPath "$INSTDIR\PIL" |
91 |
File "dist\App\PIL\*.pyd" |
92 |
|
93 |
SetOutPath "$INSTDIR\PyQt5" |
94 |
File "dist\App\PyQt5\*.pyd" |
95 |
SetOutPath "$INSTDIR\PyQt5\Qt\bin" |
96 |
File "dist\App\PyQt5\Qt\bin\qt.conf" |
97 |
File "dist\App\PyQt5\Qt\bin\*.dll" |
98 |
SetOutPath "$INSTDIR\PyQt5\Qt\plugins\iconengines" |
99 |
File "dist\App\PyQt5\Qt\plugins\iconengines\*.dll" |
100 |
SetOutPath "$INSTDIR\PyQt5\Qt\plugins\imageformats" |
101 |
File "dist\App\PyQt5\Qt\plugins\imageformats\*.dll" |
102 |
SetOutPath "$INSTDIR\PyQt5\Qt\plugins\platforms" |
103 |
File "dist\App\PyQt5\Qt\plugins\platforms\*.dll" |
104 |
SetOutPath "$INSTDIR\PyQt5\Qt\plugins\platformthemes" |
105 |
File "dist\App\PyQt5\Qt\plugins\platformthemes\*.dll" |
106 |
SetOutPath "$INSTDIR\PyQt5\Qt\plugins\styles" |
107 |
File "dist\App\PyQt5\Qt\plugins\styles\*.dll" |
108 |
SetOutPath "$INSTDIR\PyQt5\Qt\translations" |
109 |
File "dist\App\PyQt5\Qt\translations\*.qm" |
110 |
|
111 |
SetOutPath "$INSTDIR\Scripts" |
112 |
File "dist\App\Scripts\*.sql" |
113 |
|
114 |
SetOutPath "$INSTDIR\shapely\speedups" |
115 |
File "dist\App\shapely\speedups\*.pyd" |
116 |
|
117 |
SetOutPath "$INSTDIR\Shapes" |
118 |
File "dist\App\Shapes\*.py" |
119 |
|
120 |
SetOutPath "$INSTDIR\tcl" |
121 |
File "dist\App\tcl\tclIndex" |
122 |
File "dist\App\tcl\*.tcl" |
123 |
SetOutPath "$INSTDIR\tcl\encoding" |
124 |
File "dist\App\tcl\encoding\*.enc" |
125 |
SetOutPath "$INSTDIR\tcl\http1.0" |
126 |
File "dist\App\tcl\http1.0\*.tcl" |
127 |
SetOutPath "$INSTDIR\tcl\msgs" |
128 |
File "dist\App\tcl\msgs\*.msg" |
129 |
SetOutPath "$INSTDIR\tcl\opt0.4" |
130 |
File "dist\App\tcl\opt0.4\*.tcl" |
131 |
|
132 |
SetOutPath "$INSTDIR\tcl\tzdata" |
133 |
File "dist\App\tcl\tzdata\*.*" |
134 |
SetOutPath "$INSTDIR\tcl\tzdata\Africa" |
135 |
File "dist\App\tcl\tzdata\Africa\*.*" |
136 |
SetOutPath "$INSTDIR\tcl\tzdata\America" |
137 |
File "dist\App\tcl\tzdata\America\*.*" |
138 |
SetOutPath "$INSTDIR\tcl\tzdata\Antarctica" |
139 |
File "dist\App\tcl\tzdata\Antarctica\*.*" |
140 |
SetOutPath "$INSTDIR\tcl\tzdata\Arctic" |
141 |
File "dist\App\tcl\tzdata\Arctic\*.*" |
142 |
SetOutPath "$INSTDIR\tcl\tzdata\Asia" |
143 |
File "dist\App\tcl\tzdata\Asia\*.*" |
144 |
SetOutPath "$INSTDIR\tcl\tzdata\Atlantic" |
145 |
File "dist\App\tcl\tzdata\Atlantic\*.*" |
146 |
SetOutPath "$INSTDIR\tcl\tzdata\Australia" |
147 |
File "dist\App\tcl\tzdata\Australia\*.*" |
148 |
SetOutPath "$INSTDIR\tcl\tzdata\Brazil" |
149 |
File "dist\App\tcl\tzdata\Brazil\*.*" |
150 |
SetOutPath "$INSTDIR\tcl\tzdata\Canada" |
151 |
File "dist\App\tcl\tzdata\Canada\*.*" |
152 |
SetOutPath "$INSTDIR\tcl\tzdata" |
153 |
SetOutPath "$INSTDIR\tcl\tzdata\Chile" |
154 |
File "dist\App\tcl\tzdata\Chile\*.*" |
155 |
SetOutPath "$INSTDIR\tcl\tzdata\Etc" |
156 |
File "dist\App\tcl\tzdata\Etc\*.*" |
157 |
SetOutPath "$INSTDIR\tcl\tzdata\Europe" |
158 |
File "dist\App\tcl\tzdata\Europe\*.*" |
159 |
SetOutPath "$INSTDIR\tcl\tzdata\Indian" |
160 |
File "dist\App\tcl\tzdata\Indian\*.*" |
161 |
SetOutPath "$INSTDIR\tcl\tzdata\Pacific" |
162 |
File "dist\App\tcl\tzdata\Pacific\*.*" |
163 |
SetOutPath "$INSTDIR\tcl\tzdata\SystemV" |
164 |
File "dist\App\tcl\tzdata\SystemV\*.*" |
165 |
SetOutPath "$INSTDIR\tcl\tzdata\US" |
166 |
File "dist\App\tcl\tzdata\US\*.*" |
167 |
|
168 |
SetOutPath "$INSTDIR\tk" |
169 |
File "dist\App\tk\*.tcl" |
170 |
File "dist\App\tk\license.terms" |
171 |
SetOutPath "$INSTDIR\tk\images" |
172 |
File "dist\App\tk\images\*.*" |
173 |
SetOutPath "$INSTDIR\tk\msgs" |
174 |
File "dist\App\tk\msgs\*.msg" |
175 |
SetOutPath "$INSTDIR\tk\ttk" |
176 |
File "dist\App\tk\ttk\*.tcl" |
177 |
|
178 |
SetOutPath "$INSTDIR\win32com\shell" |
179 |
File "dist\App\win32com\shell\*.pyd" |
180 |
|
181 |
SetOutPath "$INSTDIR\Tesseract-OCR" |
182 |
File ".\Tesseract-OCR\*.exe" |
183 |
File ".\Tesseract-OCR\*.dll" |
184 |
SetOutPath "$INSTDIR\Tesseract-OCR\doc" |
185 |
File ".\Tesseract-OCR\doc\*.*" |
186 |
SetOutPath "$INSTDIR\Tesseract-OCR\java" |
187 |
File ".\Tesseract-OCR\java\*.jar" |
188 |
SetOutPath "$INSTDIR\Tesseract-OCR\tessdata\configs" |
189 |
File ".\Tesseract-OCR\tessdata\configs\*.*" |
190 |
SetOutPath "$INSTDIR\Tesseract-OCR\tessdata" |
191 |
File ".\Tesseract-OCR\tessdata\*.*" |
192 |
SetOutPath "$INSTDIR\Tesseract-OCR\tessdata\tessconfigs" |
193 |
File ".\Tesseract-OCR\tessdata\tessconfigs\*.*" |
194 |
|
195 |
SetOutPath "$INSTDIR" |
196 |
CreateDirectory "$SMPROGRAMS\���� ���α�" |
197 |
CreateShortCut "$SMPROGRAMS\���� ���α�\���� ���α�.lnk" "$INSTDIR\${PRODUCT_NAME}.exe" |
198 |
CreateShortCut "$DESKTOP\���� ���α�.lnk" "$INSTDIR\${PRODUCT_NAME}.exe" |
199 |
SectionEnd |
200 |
|
201 |
Section -AdditionalIcons |
202 |
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}" |
203 |
CreateShortCut "$SMPROGRAMS\���� ���α�\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url" |
204 |
CreateShortCut "$SMPROGRAMS\���� ���α�\Uninstall.lnk" "$INSTDIR\uninst.exe" |
205 |
SectionEnd |
206 |
|
207 |
Section -Post |
208 |
WriteUninstaller "$INSTDIR\uninst.exe" |
209 |
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\${PRODUCT_NAME}.exe" |
210 |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)" |
211 |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe" |
212 |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\${PRODUCT_NAME}.exe" |
213 |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" |
214 |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}" |
215 |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}" |
216 |
SectionEnd |
217 |
|
218 |
Function .onInit |
219 |
ReadRegStr $R0 HKLM "${PRODUCT_UNINST_KEY}" "UninstallString" |
220 |
StrCmp $R0 "" done |
221 |
|
222 |
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \ |
223 |
"${PRODUCT_NAME} is already installed. $\n$\nClick `OK` to remove the \ |
224 |
previous version or `Cancel` to cancel this upgrade." \ |
225 |
IDOK uninst |
226 |
Abort done |
227 |
|
228 |
;Run the uninstaller |
229 |
uninst: |
230 |
ClearErrors |
231 |
ExecWait '"$R0" _?=$INSTDIR' ;Do not copy the uninstaller to a temp file |
232 |
;abort ; ���α� ���� |
233 |
|
234 |
IfErrors no_remove_uninstaller |
235 |
;You can either use Delete /REBOOTOK in the uninstaller or add some code |
236 |
;here to remove the uninstaller. Use a registry key to check |
237 |
;whether the user has chosen to uninstall. If you are using an uninstaller |
238 |
;components page, make sure all sections are uninstalled. |
239 |
no_remove_uninstaller: |
240 |
|
241 |
done: |
242 |
FunctionEnd |
243 |
|
244 |
Function un.onUninstSuccess |
245 |
HideWindow |
246 |
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name)��(��) ������ ���ŵǾ����ϴ�." |
247 |
FunctionEnd |
248 |
|
249 |
Function un.onUninstSuninstSuccess |
250 |
FunctionEnd |
251 |
|
252 |
Function un.onInit |
253 |
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(^Name)��(��) �����Ͻðڽ��ϱ�?" IDYES +2 |
254 |
Abort |
255 |
FunctionEnd |
256 |
|
257 |
Section Uninstall |
258 |
Delete "$INSTDIR\${PRODUCT_NAME}.url" |
259 |
Delete "$INSTDIR\${PRODUCT_NAME}.exe.manifest" |
260 |
Delete "$INSTDIR\${PRODUCT_NAME}.exe" |
261 |
Delete "$INSTDIR\uninst.exe" |
262 |
Delete "$INSTDIR\*.pyd" |
263 |
Delete "$INSTDIR\*.py" |
264 |
Delete "$INSTDIR\*.dll" |
265 |
Delete "$INSTDIR\*.zip" |
266 |
Delete "$INSTDIR\coffee.qss" |
267 |
|
268 |
Delete "$INSTDIR\Commands\*.py" |
269 |
RMDir "$INSTDIR\Commands" |
270 |
|
271 |
Delete "$INSTDIR\cv2\*.pyd" |
272 |
RMDir "$INSTDIR\cv2" |
273 |
|
274 |
Delete "$INSTDIR\db\*.db" |
275 |
RMDir "$INSTDIR\db" |
276 |
|
277 |
Delete "$INSTDIR\include\*.h" |
278 |
RMDir "$INSTDIR\Include" |
279 |
|
280 |
Delete "$INSTDIR\lib2to3\tests\data\*.*" |
281 |
Delete "$INSTDIR\lib2to3\*.*" |
282 |
RMDir "$INSTDIR\lib2to3\tests\data" |
283 |
RMDir "$INSTDIR\lib2to3\tests" |
284 |
RMDir "$INSTDIR\lib2to3" |
285 |
|
286 |
Delete "$INSTDIR\numpy\core\*.pyd" |
287 |
Delete "$INSTDIR\numpy\fft\*.pyd" |
288 |
Delete "$INSTDIR\numpy\linalg\*.pyd" |
289 |
Delete "$INSTDIR\numpy\random\*.pyd" |
290 |
RMDir "$INSTDIR\numpy\core" |
291 |
RMDir "$INSTDIR\numpy\fft" |
292 |
RMDir "$INSTDIR\numpy\linalg" |
293 |
RMDir "$INSTDIR\numpy\random" |
294 |
RMDir "$INSTDIR\numpy" |
295 |
|
296 |
Delete "$INSTDIR\PIL\*.pyd" |
297 |
RMDir "$INSTDIR\PIL" |
298 |
|
299 |
Delete "$INSTDIR\PyQt5\*.pyd" |
300 |
Delete "$INSTDIR\PyQt5\Qt\bin\*.dll" |
301 |
Delete "$INSTDIR\PyQt5\Qt\bin\qt.conf" |
302 |
Delete "$INSTDIR\PyQt5\Qt\plugins\iconengines\*.dll" |
303 |
Delete "$INSTDIR\PyQt5\Qt\plugins\imageformats\*.dll" |
304 |
Delete "$INSTDIR\PyQt5\Qt\plugins\platforms\*.dll" |
305 |
Delete "$INSTDIR\PyQt5\Qt\plugins\platformthemes\*.dll" |
306 |
Delete "$INSTDIR\PyQt5\Qt\plugins\styles\*.dll" |
307 |
Delete "$INSTDIR\PyQt5\Qt\translations\*.qm" |
308 |
RMDir "$INSTDIR\PyQt5\Qt\plugins\platforms" |
309 |
RMDir "$INSTDIR\PyQt5\Qt\plugins\imageformats" |
310 |
RMDir "$INSTDIR\PyQt5\Qt\plugins\iconengines" |
311 |
RMDir "$INSTDIR\PyQt5\Qt\plugins\platformthemes" |
312 |
RMDir "$INSTDIR\PyQt5\Qt\plugins\styles" |
313 |
RMDir "$INSTDIR\PyQt5\Qt\plugins" |
314 |
RMDir "$INSTDIR\PyQt5\Qt\bin" |
315 |
RMDir "$INSTDIR\PyQt5\Qt\translations" |
316 |
RMDir "$INSTDIR\PyQt5\Qt" |
317 |
RMDir "$INSTDIR\PyQt5" |
318 |
|
319 |
Delete "$INSTDIR\Scripts\*.sql" |
320 |
RMDir "$INSTDIR\Scripts" |
321 |
|
322 |
Delete "$INSTDIR\shapely\speedups\*.pyd" |
323 |
RMDir "$INSTDIR\shapely\speedups" |
324 |
RMDir "$INSTDIR\shapely" |
325 |
|
326 |
Delete "$INSTDIR\Shapes\*.py" |
327 |
RMDir "$INSTDIR\Shapes" |
328 |
|
329 |
Delete "$INSTDIR\tcl\*.tcl" |
330 |
Delete "$INSTDIR\tcl\tclIndex" |
331 |
Delete "$INSTDIR\tcl\tzdata\*.*" |
332 |
Delete "$INSTDIR\tcl\tzdata\US\*.*" |
333 |
Delete "$INSTDIR\tcl\tzdata\SystemV\*.*" |
334 |
Delete "$INSTDIR\tcl\tzdata\Pacific\*.*" |
335 |
Delete "$INSTDIR\tcl\tzdata\Mexico\*.*" |
336 |
Delete "$INSTDIR\tcl\tzdata\Indian\*.*" |
337 |
Delete "$INSTDIR\tcl\tzdata\Europe\*.*" |
338 |
Delete "$INSTDIR\tcl\tzdata\Etc\*.*" |
339 |
Delete "$INSTDIR\tcl\tzdata\Chile\*.*" |
340 |
Delete "$INSTDIR\tcl\tzdata\Canada\*.*" |
341 |
Delete "$INSTDIR\tcl\tzdata\Brazil\*.*" |
342 |
Delete "$INSTDIR\tcl\tzdata\Australia\*.*" |
343 |
Delete "$INSTDIR\tcl\tzdata\Atlantic\*.*" |
344 |
Delete "$INSTDIR\tcl\tzdata\Asia\*.*" |
345 |
Delete "$INSTDIR\tcl\tzdata\Arctic\*.*" |
346 |
Delete "$INSTDIR\tcl\tzdata\Antarctica\*.*" |
347 |
Delete "$INSTDIR\tcl\tzdata\America\*.*" |
348 |
Delete "$INSTDIR\tcl\tzdata\Africa\*.*" |
349 |
Delete "$INSTDIR\tcl\opt0.4\*.tcl" |
350 |
Delete "$INSTDIR\tcl\msgs\*.msg" |
351 |
Delete "$INSTDIR\tcl\http1.0\*.tcl" |
352 |
Delete "$INSTDIR\tcl\encoding\*.enc" |
353 |
RMDir "$INSTDIR\tcl\tzdata\US" |
354 |
RMDir "$INSTDIR\tcl\tzdata\SystemV" |
355 |
RMDir "$INSTDIR\tcl\tzdata\Pacific" |
356 |
RMDir "$INSTDIR\tcl\tzdata\Mexico" |
357 |
RMDir "$INSTDIR\tcl\tzdata\Indian" |
358 |
RMDir "$INSTDIR\tcl\tzdata\Europe" |
359 |
RMDir "$INSTDIR\tcl\tzdata\Etc" |
360 |
RMDir "$INSTDIR\tcl\tzdata\Chile" |
361 |
RMDir "$INSTDIR\tcl\tzdata\Canada" |
362 |
RMDir "$INSTDIR\tcl\tzdata\Brazil" |
363 |
RMDir "$INSTDIR\tcl\tzdata\Australia" |
364 |
RMDir "$INSTDIR\tcl\tzdata\Atlantic" |
365 |
RMDir "$INSTDIR\tcl\tzdata\Asia" |
366 |
RMDir "$INSTDIR\tcl\tzdata\Arctic" |
367 |
RMDir "$INSTDIR\tcl\tzdata\Antarctica" |
368 |
RMDir "$INSTDIR\tcl\tzdata\America\North_Dakota" |
369 |
RMDir "$INSTDIR\tcl\tzdata\America\Kentucky" |
370 |
RMDir "$INSTDIR\tcl\tzdata\America\Indiana" |
371 |
RMDir "$INSTDIR\tcl\tzdata\America\Argentina" |
372 |
RMDir "$INSTDIR\tcl\tzdata\America" |
373 |
RMDir "$INSTDIR\tcl\tzdata\Africa" |
374 |
RMDir "$INSTDIR\tcl\tzdata" |
375 |
RMDir "$INSTDIR\tcl\opt0.4" |
376 |
RMDir "$INSTDIR\tcl\msgs" |
377 |
RMDir "$INSTDIR\tcl\http1.0" |
378 |
RMDir "$INSTDIR\tcl\encoding" |
379 |
RMDir "$INSTDIR\tcl" |
380 |
|
381 |
Delete "$INSTDIR\tk\*.tcl" |
382 |
Delete "$INSTDIR\tk\license.terms" |
383 |
Delete "$INSTDIR\tk\ttk\*.tcl" |
384 |
Delete "$INSTDIR\tk\msgs\*.msg" |
385 |
Delete "$INSTDIR\tk\images\*.*" |
386 |
RMDir "$INSTDIR\tk\ttk" |
387 |
RMDir "$INSTDIR\tk\msgs" |
388 |
RMDir "$INSTDIR\tk\images" |
389 |
RMDir "$INSTDIR\tk" |
390 |
|
391 |
Delete "$INSTDIR\win32com\shell\*.pyd" |
392 |
RMDir "$INSTDIR\win32com\shell" |
393 |
RMDir "$INSTDIR\win32com" |
394 |
|
395 |
Delete "$INSTDIR\Tesseract-OCR\*.dll" |
396 |
Delete "$INSTDIR\Tesseract-OCR\*.exe" |
397 |
Delete "$INSTDIR\Tesseract-OCR\tessdata\tessconfigs\*.*" |
398 |
Delete "$INSTDIR\Tesseract-OCR\tessdata\*.*" |
399 |
Delete "$INSTDIR\Tesseract-OCR\tessdata\configs\*.*" |
400 |
Delete "$INSTDIR\Tesseract-OCR\java\*.jar" |
401 |
Delete "$INSTDIR\Tesseract-OCR\doc\*.*" |
402 |
RMDir "$INSTDIR\Tesseract-OCR\tessdata\tessconfigs" |
403 |
RMDir "$INSTDIR\Tesseract-OCR\tessdata\configs" |
404 |
RMDir "$INSTDIR\Tesseract-OCR\tessdata" |
405 |
RMDir "$INSTDIR\Tesseract-OCR\java" |
406 |
RMDir "$INSTDIR\Tesseract-OCR\doc" |
407 |
RMDir "$INSTDIR\Tesseract-OCR" |
408 |
|
409 |
Delete "$SMPROGRAMS\���� ���α�\Uninstall.lnk" |
410 |
Delete "$SMPROGRAMS\���� ���α�\Website.lnk" |
411 |
Delete "$DESKTOP\���� ���α�.lnk" |
412 |
Delete "$SMPROGRAMS\���� ���α�\���� ���α�.lnk" |
413 |
|
414 |
RMDir /r "$INSTDIR" |
415 |
RMDir "$SMPROGRAMS\���� ���α�" |
416 |
|
417 |
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" |
418 |
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" |
419 |
SetAutoClose true |
420 |
SectionEnd |