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