This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwindows-installer-with-pillow.nsi
380 lines (358 loc) · 16.2 KB
/
windows-installer-with-pillow.nsi
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
; Script generated by the HM NIS Edit Script Wizard.
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "UP2B"
!define PRODUCT_VERSION "0.1.0.1 beta"
!define PRODUCT_PUBLISHER "thep0y"
!define PRODUCT_WEB_SITE "https://github.com/thep0y/up2b-gui"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\up2b.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
SetCompressor /SOLID lzma
SetCompressorDictSize 32
; MUI 1.67 compatible ------
!include "MUI.nsh"
; MUI Settings
!define MUI_ABORTWARNING
!define MUI_ICON "assets\favicon.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
; Language Selection Dialog Settings
!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
; Welcome page
!insertmacro MUI_PAGE_WELCOME
; License page
!insertmacro MUI_PAGE_LICENSE "LICENSE"
; Directory page
!insertmacro MUI_PAGE_DIRECTORY
; Instfiles page
!insertmacro MUI_PAGE_INSTFILES
; Finish page
!define MUI_FINISHPAGE_RUN "$INSTDIR\up2b.exe"
!insertmacro MUI_PAGE_FINISH
; Uninstaller pages
!insertmacro MUI_UNPAGE_INSTFILES
; Language files
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "SimpChinese"
; Reserve files
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
; MUI end ------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "dist\up2b-installer.exe"
InstallDir "$LOCALAPPDATA\Programs\up2b"
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show
RequestExecutionLevel user
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
Section "MainSection" SEC01
SetOutPath "$INSTDIR\altgraph-0.17.2.dist-info"
SetOverwrite try
File "dist\up2b\altgraph-0.17.2.dist-info\INSTALLER"
File "dist\up2b\altgraph-0.17.2.dist-info\LICENSE"
File "dist\up2b\altgraph-0.17.2.dist-info\METADATA"
File "dist\up2b\altgraph-0.17.2.dist-info\RECORD"
File "dist\up2b\altgraph-0.17.2.dist-info\top_level.txt"
File "dist\up2b\altgraph-0.17.2.dist-info\WHEEL"
File "dist\up2b\altgraph-0.17.2.dist-info\zip-safe"
SetOutPath "$INSTDIR"
File "dist\up2b\api-ms-win-core-console-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-datetime-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-debug-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-errorhandling-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-file-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-file-l1-2-0.dll"
File "dist\up2b\api-ms-win-core-file-l2-1-0.dll"
File "dist\up2b\api-ms-win-core-handle-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-heap-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-interlocked-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-libraryloader-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-localization-l1-2-0.dll"
File "dist\up2b\api-ms-win-core-memory-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-namedpipe-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-processenvironment-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-processthreads-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-processthreads-l1-1-1.dll"
File "dist\up2b\api-ms-win-core-profile-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-rtlsupport-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-string-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-synch-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-synch-l1-2-0.dll"
File "dist\up2b\api-ms-win-core-sysinfo-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-timezone-l1-1-0.dll"
File "dist\up2b\api-ms-win-core-util-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-conio-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-convert-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-environment-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-filesystem-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-heap-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-locale-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-math-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-process-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-runtime-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-stdio-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-string-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-time-l1-1-0.dll"
File "dist\up2b\api-ms-win-crt-utility-l1-1-0.dll"
SetOutPath "$INSTDIR\assets\assets"
File "dist\up2b\assets\assets\index.5aeb53cc.css"
File "dist\up2b\assets\assets\index.7724007c.js"
File "dist\up2b\assets\assets\vendor.019966ea.js"
File "dist\up2b\assets\assets\vendor.86c94f20.css"
SetOutPath "$INSTDIR\assets"
File "dist\up2b\assets\favicon.ico"
File "dist\up2b\assets\index.html"
SetOutPath "$INSTDIR"
File "dist\up2b\base_library.zip"
SetOutPath "$INSTDIR\certifi"
File "dist\up2b\certifi\cacert.pem"
SetOutPath "$INSTDIR\clr_loader\ffi\dlls\amd64"
File "dist\up2b\clr_loader\ffi\dlls\amd64\ClrLoader.dll"
File "dist\up2b\clr_loader\ffi\dlls\amd64\NXPorts.Attributes.dll"
SetOutPath "$INSTDIR\clr_loader\ffi\dlls\x86"
File "dist\up2b\clr_loader\ffi\dlls\x86\ClrLoader.dll"
File "dist\up2b\clr_loader\ffi\dlls\x86\NXPorts.Attributes.dll"
SetOutPath "$INSTDIR"
File "dist\up2b\libcrypto-1_1-x64.dll"
File "dist\up2b\libffi-8.dll"
File "dist\up2b\libssl-1_1-x64.dll"
SetOutPath "$INSTDIR\markupsafe"
File "dist\up2b\markupsafe\_speedups.cp39-win_amd64.pyd"
SetOutPath "$INSTDIR"
File "dist\up2b\MSVCP140.dll"
SetOutPath "$INSTDIR\PIL"
File "dist\up2b\PIL\_imaging.cp39-win_amd64.pyd"
File "dist\up2b\PIL\_imagingft.cp39-win_amd64.pyd"
File "dist\up2b\PIL\_imagingtk.cp39-win_amd64.pyd"
File "dist\up2b\PIL\_webp.cp39-win_amd64.pyd"
SetOutPath "$INSTDIR"
File "dist\up2b\pyexpat.pyd"
SetOutPath "$INSTDIR\pyinstaller-4.10.dist-info"
File "dist\up2b\pyinstaller-4.10.dist-info\COPYING.txt"
File "dist\up2b\pyinstaller-4.10.dist-info\entry_points.txt"
File "dist\up2b\pyinstaller-4.10.dist-info\INSTALLER"
File "dist\up2b\pyinstaller-4.10.dist-info\METADATA"
File "dist\up2b\pyinstaller-4.10.dist-info\RECORD"
File "dist\up2b\pyinstaller-4.10.dist-info\REQUESTED"
File "dist\up2b\pyinstaller-4.10.dist-info\top_level.txt"
File "dist\up2b\pyinstaller-4.10.dist-info\WHEEL"
SetOutPath "$INSTDIR"
File "dist\up2b\python39.dll"
SetOutPath "$INSTDIR\pythonnet\runtime"
File "dist\up2b\pythonnet\runtime\Python.Runtime.dll"
SetOutPath "$INSTDIR"
File "dist\up2b\select.pyd"
SetOutPath "$INSTDIR\setuptools-57.4.0.dist-info"
File "dist\up2b\setuptools-57.4.0.dist-info\entry_points.txt"
File "dist\up2b\setuptools-57.4.0.dist-info\INSTALLER"
File "dist\up2b\setuptools-57.4.0.dist-info\LICENSE"
File "dist\up2b\setuptools-57.4.0.dist-info\METADATA"
File "dist\up2b\setuptools-57.4.0.dist-info\RECORD"
File "dist\up2b\setuptools-57.4.0.dist-info\REQUESTED"
File "dist\up2b\setuptools-57.4.0.dist-info\top_level.txt"
File "dist\up2b\setuptools-57.4.0.dist-info\WHEEL"
SetOutPath "$INSTDIR"
File "dist\up2b\ucrtbase.dll"
File "dist\up2b\unicodedata.pyd"
File "dist\up2b\up2b.exe"
CreateDirectory "$SMPROGRAMS\UP2B"
CreateShortCut "$SMPROGRAMS\UP2B\UP2B.lnk" "$INSTDIR\up2b.exe"
CreateShortCut "$DESKTOP\UP2B.lnk" "$INSTDIR\up2b.exe"
File "dist\up2b\VCRUNTIME140.dll"
File "dist\up2b\VCRUNTIME140_1.dll"
SetOutPath "$INSTDIR\webview\lib"
File "dist\up2b\webview\lib\Microsoft.Toolkit.Forms.UI.Controls.WebView.dll"
File "dist\up2b\webview\lib\Microsoft.Toolkit.Forms.UI.Controls.WebView.LICENSE.md"
File "dist\up2b\webview\lib\Microsoft.Web.WebView2.Core.dll"
File "dist\up2b\webview\lib\Microsoft.Web.WebView2.LICENSE.md"
File "dist\up2b\webview\lib\Microsoft.Web.WebView2.WinForms.dll"
File "dist\up2b\webview\lib\WebBrowserInterop.x64.dll"
File "dist\up2b\webview\lib\WebBrowserInterop.x86.dll"
SetOutPath "$INSTDIR\webview\lib\x64"
File "dist\up2b\webview\lib\x64\WebView2Loader.dll"
SetOutPath "$INSTDIR\webview\lib\x86"
File "dist\up2b\webview\lib\x86\WebView2Loader.dll"
SetOutPath "$INSTDIR"
File "dist\up2b\_asyncio.pyd"
File "dist\up2b\_bz2.pyd"
File "dist\up2b\_cffi_backend.cp39-win_amd64.pyd"
File "dist\up2b\_ctypes.pyd"
File "dist\up2b\_decimal.pyd"
File "dist\up2b\_elementtree.pyd"
File "dist\up2b\_hashlib.pyd"
File "dist\up2b\_lzma.pyd"
File "dist\up2b\_multiprocessing.pyd"
File "dist\up2b\_overlapped.pyd"
File "dist\up2b\_queue.pyd"
File "dist\up2b\_socket.pyd"
File "dist\up2b\_ssl.pyd"
File "dist\up2b\_uuid.pyd"
SectionEnd
Section -AdditionalIcons
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
CreateShortCut "$SMPROGRAMS\UP2B\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
CreateShortCut "$SMPROGRAMS\UP2B\Uninstall.lnk" "$INSTDIR\uninst.exe"
SectionEnd
Section -Post
WriteUninstaller "$INSTDIR\uninst.exe"
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\up2b.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\up2b.exe"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
SectionEnd
Function un.onUninstSuccess
HideWindow
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) 已成功地从你的计算机移除。"
FunctionEnd
Function un.onInit
!insertmacro MUI_UNGETLANGUAGE
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "你确实要完全移除 $(^Name) ,其及所有的组件?" IDYES +2
Abort
FunctionEnd
Section Uninstall
Delete "$INSTDIR\${PRODUCT_NAME}.url"
Delete "$INSTDIR\uninst.exe"
Delete "$INSTDIR\_uuid.pyd"
Delete "$INSTDIR\_ssl.pyd"
Delete "$INSTDIR\_socket.pyd"
Delete "$INSTDIR\_queue.pyd"
Delete "$INSTDIR\_overlapped.pyd"
Delete "$INSTDIR\_multiprocessing.pyd"
Delete "$INSTDIR\_lzma.pyd"
Delete "$INSTDIR\_hashlib.pyd"
Delete "$INSTDIR\_elementtree.pyd"
Delete "$INSTDIR\_decimal.pyd"
Delete "$INSTDIR\_ctypes.pyd"
Delete "$INSTDIR\_cffi_backend.cp39-win_amd64.pyd"
Delete "$INSTDIR\_bz2.pyd"
Delete "$INSTDIR\_asyncio.pyd"
Delete "$INSTDIR\webview\lib\x86\WebView2Loader.dll"
Delete "$INSTDIR\webview\lib\x64\WebView2Loader.dll"
Delete "$INSTDIR\webview\lib\WebBrowserInterop.x86.dll"
Delete "$INSTDIR\webview\lib\WebBrowserInterop.x64.dll"
Delete "$INSTDIR\webview\lib\Microsoft.Web.WebView2.WinForms.dll"
Delete "$INSTDIR\webview\lib\Microsoft.Web.WebView2.LICENSE.md"
Delete "$INSTDIR\webview\lib\Microsoft.Web.WebView2.Core.dll"
Delete "$INSTDIR\webview\lib\Microsoft.Toolkit.Forms.UI.Controls.WebView.LICENSE.md"
Delete "$INSTDIR\webview\lib\Microsoft.Toolkit.Forms.UI.Controls.WebView.dll"
Delete "$INSTDIR\VCRUNTIME140_1.dll"
Delete "$INSTDIR\VCRUNTIME140.dll"
Delete "$INSTDIR\up2b.exe"
Delete "$INSTDIR\unicodedata.pyd"
Delete "$INSTDIR\ucrtbase.dll"
Delete "$INSTDIR\setuptools-57.4.0.dist-info\WHEEL"
Delete "$INSTDIR\setuptools-57.4.0.dist-info\top_level.txt"
Delete "$INSTDIR\setuptools-57.4.0.dist-info\REQUESTED"
Delete "$INSTDIR\setuptools-57.4.0.dist-info\RECORD"
Delete "$INSTDIR\setuptools-57.4.0.dist-info\METADATA"
Delete "$INSTDIR\setuptools-57.4.0.dist-info\LICENSE"
Delete "$INSTDIR\setuptools-57.4.0.dist-info\INSTALLER"
Delete "$INSTDIR\setuptools-57.4.0.dist-info\entry_points.txt"
Delete "$INSTDIR\select.pyd"
Delete "$INSTDIR\pythonnet\runtime\Python.Runtime.dll"
Delete "$INSTDIR\python39.dll"
Delete "$INSTDIR\pyinstaller-4.10.dist-info\WHEEL"
Delete "$INSTDIR\pyinstaller-4.10.dist-info\top_level.txt"
Delete "$INSTDIR\pyinstaller-4.10.dist-info\REQUESTED"
Delete "$INSTDIR\pyinstaller-4.10.dist-info\RECORD"
Delete "$INSTDIR\pyinstaller-4.10.dist-info\METADATA"
Delete "$INSTDIR\pyinstaller-4.10.dist-info\INSTALLER"
Delete "$INSTDIR\pyinstaller-4.10.dist-info\entry_points.txt"
Delete "$INSTDIR\pyinstaller-4.10.dist-info\COPYING.txt"
Delete "$INSTDIR\pyexpat.pyd"
Delete "$INSTDIR\PIL\_webp.cp39-win_amd64.pyd"
Delete "$INSTDIR\PIL\_imagingtk.cp39-win_amd64.pyd"
Delete "$INSTDIR\PIL\_imagingft.cp39-win_amd64.pyd"
Delete "$INSTDIR\PIL\_imaging.cp39-win_amd64.pyd"
Delete "$INSTDIR\MSVCP140.dll"
Delete "$INSTDIR\markupsafe\_speedups.cp39-win_amd64.pyd"
Delete "$INSTDIR\libssl-1_1-x64.dll"
Delete "$INSTDIR\libffi-8.dll"
Delete "$INSTDIR\libcrypto-1_1-x64.dll"
Delete "$INSTDIR\clr_loader\ffi\dlls\x86\NXPorts.Attributes.dll"
Delete "$INSTDIR\clr_loader\ffi\dlls\x86\ClrLoader.dll"
Delete "$INSTDIR\clr_loader\ffi\dlls\amd64\NXPorts.Attributes.dll"
Delete "$INSTDIR\clr_loader\ffi\dlls\amd64\ClrLoader.dll"
Delete "$INSTDIR\certifi\cacert.pem"
Delete "$INSTDIR\base_library.zip"
Delete "$INSTDIR\assets\index.html"
Delete "$INSTDIR\assets\favicon.ico"
Delete "$INSTDIR\assets\assets\vendor.86c94f20.css"
Delete "$INSTDIR\assets\assets\vendor.019966ea.js"
Delete "$INSTDIR\assets\assets\index.7724007c.js"
Delete "$INSTDIR\assets\assets\index.5aeb53cc.css"
Delete "$INSTDIR\api-ms-win-crt-utility-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-time-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-string-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-stdio-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-runtime-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-process-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-math-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-locale-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-heap-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-filesystem-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-environment-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-convert-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-crt-conio-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-util-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-timezone-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-sysinfo-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-synch-l1-2-0.dll"
Delete "$INSTDIR\api-ms-win-core-synch-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-string-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-rtlsupport-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-profile-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-processthreads-l1-1-1.dll"
Delete "$INSTDIR\api-ms-win-core-processthreads-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-processenvironment-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-namedpipe-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-memory-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-localization-l1-2-0.dll"
Delete "$INSTDIR\api-ms-win-core-libraryloader-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-interlocked-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-heap-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-handle-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-file-l2-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-file-l1-2-0.dll"
Delete "$INSTDIR\api-ms-win-core-file-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-errorhandling-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-debug-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-datetime-l1-1-0.dll"
Delete "$INSTDIR\api-ms-win-core-console-l1-1-0.dll"
Delete "$INSTDIR\altgraph-0.17.2.dist-info\zip-safe"
Delete "$INSTDIR\altgraph-0.17.2.dist-info\WHEEL"
Delete "$INSTDIR\altgraph-0.17.2.dist-info\top_level.txt"
Delete "$INSTDIR\altgraph-0.17.2.dist-info\RECORD"
Delete "$INSTDIR\altgraph-0.17.2.dist-info\METADATA"
Delete "$INSTDIR\altgraph-0.17.2.dist-info\LICENSE"
Delete "$INSTDIR\altgraph-0.17.2.dist-info\INSTALLER"
Delete "$SMPROGRAMS\UP2B\Uninstall.lnk"
Delete "$SMPROGRAMS\UP2B\Website.lnk"
Delete "$DESKTOP\UP2B.lnk"
Delete "$SMPROGRAMS\UP2B\UP2B.lnk"
RMDir "$SMPROGRAMS\UP2B"
RMDir "$INSTDIR\webview\lib\x86"
RMDir "$INSTDIR\webview\lib\x64"
RMDir "$INSTDIR\webview\lib"
RMDir "$INSTDIR\setuptools-57.4.0.dist-info"
RMDir "$INSTDIR\pythonnet\runtime"
RMDir "$INSTDIR\pyinstaller-4.10.dist-info"
RMDir "$INSTDIR\PIL"
RMDir "$INSTDIR\markupsafe"
RMDir "$INSTDIR\clr_loader\ffi\dlls\x86"
RMDir "$INSTDIR\clr_loader\ffi\dlls\amd64"
RMDir "$INSTDIR\certifi"
RMDir "$INSTDIR\assets\assets"
RMDir "$INSTDIR\assets"
RMDir "$INSTDIR\altgraph-0.17.2.dist-info"
RMDir "$INSTDIR"
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
SetAutoClose true
SectionEnd