-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVisionGuardInstaller.nsi
502 lines (460 loc) · 33.3 KB
/
VisionGuardInstaller.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
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
############################################################################################
# NSIS Installation Script created by NSIS Quick Setup Script Generator v1.09.18
# Entirely Edited with NullSoft Scriptable Installation System
# by Vlasis K. Barkas aka Red Wine red_wine@freemail.gr Sep 2006
############################################################################################
!define APP_NAME "VisionGuard"
!define COMP_NAME "GSoC-24 Intel OpenVINO Toolkit"
!define WEB_SITE "https://summerofcode.withgoogle.com/programs/2024/projects/QUbIeRAM"
!define VERSION "1.1.0.0"
!define COPYRIGHT "Inbasekaran Perumal © 2024"
!define DESCRIPTION "Application"
!define LICENSE_TXT "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\License.txt.txt"
!define INSTALLER_NAME "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Setup-Windows-x64\VisionGuard-Setup.exe"
!define MAIN_APP_EXE "VisionGuardApp.exe"
!define INSTALL_TYPE "SetShellVarContext current"
!define REG_ROOT "HKCU"
!define REG_APP_PATH "Software\Microsoft\Windows\CurrentVersion\App Paths\${MAIN_APP_EXE}"
!define UNINSTALL_PATH "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_NAME}"
!define REG_START_MENU "Start Menu Folder"
var SM_Folder
######################################################################
VIProductVersion "${VERSION}"
VIAddVersionKey "ProductName" "${APP_NAME}"
VIAddVersionKey "CompanyName" "${COMP_NAME}"
VIAddVersionKey "LegalCopyright" "${COPYRIGHT}"
VIAddVersionKey "FileDescription" "${DESCRIPTION}"
VIAddVersionKey "FileVersion" "${VERSION}"
######################################################################
SetCompressor ZLIB
Name "${APP_NAME}"
Caption "${APP_NAME}"
OutFile "${INSTALLER_NAME}"
BrandingText "${APP_NAME}"
XPStyle on
InstallDirRegKey "${REG_ROOT}" "${REG_APP_PATH}" ""
InstallDir "$PROGRAMFILES\VisionGuard"
######################################################################
!include "MUI.nsh"
!define MUI_ABORTWARNING
!define MUI_UNABORTWARNING
!insertmacro MUI_PAGE_WELCOME
!ifdef LICENSE_TXT
!insertmacro MUI_PAGE_LICENSE "${LICENSE_TXT}"
!endif
!insertmacro MUI_PAGE_DIRECTORY
!ifdef REG_START_MENU
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "VisionGuard"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${REG_ROOT}"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${UNINSTALL_PATH}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${REG_START_MENU}"
!insertmacro MUI_PAGE_STARTMENU Application $SM_Folder
!endif
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_RUN "$INSTDIR\${MAIN_APP_EXE}"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH
!insertmacro MUI_LANGUAGE "English"
######################################################################
Section -MainProgram
${INSTALL_TYPE}
SetOverwrite ifnewer
SetOutPath "$INSTDIR"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\D3Dcompiler_47.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\License.txt.txt"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\opencv_videoio_ffmpeg4100_64.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\opencv_videoio_msmf4100_64.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\opencv_videoio_msmf4100_64d.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\opencv_world4100.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\opencv_world4100d.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\opengl32sw.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_auto_batch_plugin.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_auto_plugin.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_c.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_hetero_plugin.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_intel_cpu_plugin.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_intel_gpu_plugin.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_intel_npu_plugin.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_ir_frontend.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_onnx_frontend.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_paddle_frontend.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_pytorch_frontend.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_tensorflow_frontend.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\openvino_tensorflow_lite_frontend.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\Qt6Charts.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\Qt6Core.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\Qt6Gui.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\Qt6Network.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\Qt6OpenGL.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\Qt6OpenGLWidgets.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\Qt6Pdf.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\Qt6Svg.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\Qt6Widgets.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\tbb12.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\vision-guard-removebg.png"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\VisionGuardApp.exe"
SetOutPath "$INSTDIR\translations"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_ar.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_bg.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_ca.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_cs.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_da.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_de.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_en.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_es.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_fa.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_fi.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_fr.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_gd.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_he.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_hr.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_hu.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_it.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_ja.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_ka.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_ko.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_lv.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_nl.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_nn.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_pl.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_pt_BR.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_ru.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_sk.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_tr.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_uk.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_zh_CN.qm"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\translations\qt_zh_TW.qm"
SetOutPath "$INSTDIR\tls"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\tls\qcertonlybackend.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\tls\qopensslbackend.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\tls\qschannelbackend.dll"
SetOutPath "$INSTDIR\styles"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\styles\qmodernwindowsstyle.dll"
SetOutPath "$INSTDIR\platforms"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\platforms\qwindows.dll"
SetOutPath "$INSTDIR\omz_models\open-closed-eye-0001"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\open-closed-eye-0001\open-closed-eye.onnx"
SetOutPath "$INSTDIR\omz_models\open-closed-eye-0001\FP32"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\open-closed-eye-0001\FP32\open-closed-eye-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\open-closed-eye-0001\FP32\open-closed-eye-0001.xml"
SetOutPath "$INSTDIR\omz_models\open-closed-eye-0001\FP16-INT8"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\open-closed-eye-0001\FP16-INT8\open-closed-eye-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\open-closed-eye-0001\FP16-INT8\open-closed-eye-0001.xml"
SetOutPath "$INSTDIR\omz_models\open-closed-eye-0001\FP16"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\open-closed-eye-0001\FP16\open-closed-eye-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\open-closed-eye-0001\FP16\open-closed-eye-0001.xml"
SetOutPath "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP32"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\head-pose-estimation-adas-0001\FP32\head-pose-estimation-adas-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\head-pose-estimation-adas-0001\FP32\head-pose-estimation-adas-0001.xml"
SetOutPath "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP16-INT8"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\head-pose-estimation-adas-0001\FP16-INT8\head-pose-estimation-adas-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\head-pose-estimation-adas-0001\FP16-INT8\head-pose-estimation-adas-0001.xml"
SetOutPath "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP16"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\head-pose-estimation-adas-0001\FP16\head-pose-estimation-adas-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\head-pose-estimation-adas-0001\FP16\head-pose-estimation-adas-0001.xml"
SetOutPath "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP32"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\gaze-estimation-adas-0002\FP32\gaze-estimation-adas-0002.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\gaze-estimation-adas-0002\FP32\gaze-estimation-adas-0002.xml"
SetOutPath "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP16-INT8"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\gaze-estimation-adas-0002\FP16-INT8\gaze-estimation-adas-0002.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\gaze-estimation-adas-0002\FP16-INT8\gaze-estimation-adas-0002.xml"
SetOutPath "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP16"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\gaze-estimation-adas-0002\FP16\gaze-estimation-adas-0002.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\gaze-estimation-adas-0002\FP16\gaze-estimation-adas-0002.xml"
SetOutPath "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP32"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-98-detection-0001\FP32\facial-landmarks-98-detection-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-98-detection-0001\FP32\facial-landmarks-98-detection-0001.xml"
SetOutPath "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP16-INT8"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-98-detection-0001\FP16-INT8\facial-landmarks-98-detection-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-98-detection-0001\FP16-INT8\facial-landmarks-98-detection-0001.xml"
SetOutPath "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP16"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-98-detection-0001\FP16\facial-landmarks-98-detection-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-98-detection-0001\FP16\facial-landmarks-98-detection-0001.xml"
SetOutPath "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP32"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-35-adas-0002\FP32\facial-landmarks-35-adas-0002.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-35-adas-0002\FP32\facial-landmarks-35-adas-0002.xml"
SetOutPath "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP16-INT8"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-35-adas-0002\FP16-INT8\facial-landmarks-35-adas-0002.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-35-adas-0002\FP16-INT8\facial-landmarks-35-adas-0002.xml"
SetOutPath "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP16"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-35-adas-0002\FP16\facial-landmarks-35-adas-0002.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\facial-landmarks-35-adas-0002\FP16\facial-landmarks-35-adas-0002.xml"
SetOutPath "$INSTDIR\omz_models\face-detection-retail-0005\FP32"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0005\FP32\face-detection-retail-0005.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0005\FP32\face-detection-retail-0005.xml"
SetOutPath "$INSTDIR\omz_models\face-detection-retail-0005\FP16-INT8"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0005\FP16-INT8\face-detection-retail-0005.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0005\FP16-INT8\face-detection-retail-0005.xml"
SetOutPath "$INSTDIR\omz_models\face-detection-retail-0005\FP16"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0005\FP16\face-detection-retail-0005.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0005\FP16\face-detection-retail-0005.xml"
SetOutPath "$INSTDIR\omz_models\face-detection-retail-0004\FP32"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0004\FP32\face-detection-retail-0004.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0004\FP32\face-detection-retail-0004.xml"
SetOutPath "$INSTDIR\omz_models\face-detection-retail-0004\FP16-INT8"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0004\FP16-INT8\face-detection-retail-0004.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0004\FP16-INT8\face-detection-retail-0004.xml"
SetOutPath "$INSTDIR\omz_models\face-detection-retail-0004\FP16"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0004\FP16\face-detection-retail-0004.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-retail-0004\FP16\face-detection-retail-0004.xml"
SetOutPath "$INSTDIR\omz_models\face-detection-adas-0001\FP32"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-adas-0001\FP32\face-detection-adas-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-adas-0001\FP32\face-detection-adas-0001.xml"
SetOutPath "$INSTDIR\omz_models\face-detection-adas-0001\FP16-INT8"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-adas-0001\FP16-INT8\face-detection-adas-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-adas-0001\FP16-INT8\face-detection-adas-0001.xml"
SetOutPath "$INSTDIR\omz_models\face-detection-adas-0001\FP16"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-adas-0001\FP16\face-detection-adas-0001.bin"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\omz_models\face-detection-adas-0001\FP16\face-detection-adas-0001.xml"
SetOutPath "$INSTDIR\networkinformation"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\networkinformation\qnetworklistmanager.dll"
SetOutPath "$INSTDIR\imageformats"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qgif.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qicns.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qico.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qjpeg.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qpdf.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qsvg.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qtga.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qtiff.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qwbmp.dll"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\imageformats\qwebp.dll"
SetOutPath "$INSTDIR\iconengines"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\iconengines\qsvgicon.dll"
SetOutPath "$INSTDIR\generic"
File "C:\Users\Inba\Documents\GSoC\VisionGuard\build\bin\Vision-Guard-Windows-x64\generic\qtuiotouchplugin.dll"
SectionEnd
######################################################################
Section -Icons_Reg
SetOutPath "$INSTDIR"
WriteUninstaller "$INSTDIR\uninstall.exe"
!ifdef REG_START_MENU
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$SM_Folder"
CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
CreateShortCut "$DESKTOP\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
CreateShortCut "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
!ifdef WEB_SITE
WriteIniStr "$INSTDIR\${APP_NAME} website.url" "InternetShortcut" "URL" "${WEB_SITE}"
CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk" "$INSTDIR\${APP_NAME} website.url"
!endif
!insertmacro MUI_STARTMENU_WRITE_END
!endif
!ifndef REG_START_MENU
CreateDirectory "$SMPROGRAMS\VisionGuard"
CreateShortCut "$SMPROGRAMS\VisionGuard\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
CreateShortCut "$DESKTOP\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_EXE}"
CreateShortCut "$SMPROGRAMS\VisionGuard\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"
!ifdef WEB_SITE
WriteIniStr "$INSTDIR\${APP_NAME} website.url" "InternetShortcut" "URL" "${WEB_SITE}"
CreateShortCut "$SMPROGRAMS\VisionGuard\${APP_NAME} Website.lnk" "$INSTDIR\${APP_NAME} website.url"
!endif
!endif
WriteRegStr ${REG_ROOT} "${REG_APP_PATH}" "" "$INSTDIR\${MAIN_APP_EXE}"
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayName" "${APP_NAME}"
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "UninstallString" "$INSTDIR\uninstall.exe"
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayIcon" "$INSTDIR\${MAIN_APP_EXE}"
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "DisplayVersion" "${VERSION}"
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "Publisher" "${COMP_NAME}"
!ifdef WEB_SITE
WriteRegStr ${REG_ROOT} "${UNINSTALL_PATH}" "URLInfoAbout" "${WEB_SITE}"
!endif
SectionEnd
######################################################################
Section Uninstall
${INSTALL_TYPE}
Delete "$INSTDIR\D3Dcompiler_47.dll"
Delete "$INSTDIR\License.txt.txt"
Delete "$INSTDIR\opencv_videoio_ffmpeg4100_64.dll"
Delete "$INSTDIR\opencv_videoio_msmf4100_64.dll"
Delete "$INSTDIR\opencv_videoio_msmf4100_64d.dll"
Delete "$INSTDIR\opencv_world4100.dll"
Delete "$INSTDIR\opencv_world4100d.dll"
Delete "$INSTDIR\opengl32sw.dll"
Delete "$INSTDIR\openvino.dll"
Delete "$INSTDIR\openvino_auto_batch_plugin.dll"
Delete "$INSTDIR\openvino_auto_plugin.dll"
Delete "$INSTDIR\openvino_c.dll"
Delete "$INSTDIR\openvino_hetero_plugin.dll"
Delete "$INSTDIR\openvino_intel_cpu_plugin.dll"
Delete "$INSTDIR\openvino_intel_gpu_plugin.dll"
Delete "$INSTDIR\openvino_intel_npu_plugin.dll"
Delete "$INSTDIR\openvino_ir_frontend.dll"
Delete "$INSTDIR\openvino_onnx_frontend.dll"
Delete "$INSTDIR\openvino_paddle_frontend.dll"
Delete "$INSTDIR\openvino_pytorch_frontend.dll"
Delete "$INSTDIR\openvino_tensorflow_frontend.dll"
Delete "$INSTDIR\openvino_tensorflow_lite_frontend.dll"
Delete "$INSTDIR\Qt6Charts.dll"
Delete "$INSTDIR\Qt6Core.dll"
Delete "$INSTDIR\Qt6Gui.dll"
Delete "$INSTDIR\Qt6Network.dll"
Delete "$INSTDIR\Qt6OpenGL.dll"
Delete "$INSTDIR\Qt6OpenGLWidgets.dll"
Delete "$INSTDIR\Qt6Pdf.dll"
Delete "$INSTDIR\Qt6Svg.dll"
Delete "$INSTDIR\Qt6Widgets.dll"
Delete "$INSTDIR\tbb12.dll"
Delete "$INSTDIR\vision-guard-removebg.png"
Delete "$INSTDIR\VisionGuardApp.exe"
Delete "$INSTDIR\translations\qt_ar.qm"
Delete "$INSTDIR\translations\qt_bg.qm"
Delete "$INSTDIR\translations\qt_ca.qm"
Delete "$INSTDIR\translations\qt_cs.qm"
Delete "$INSTDIR\translations\qt_da.qm"
Delete "$INSTDIR\translations\qt_de.qm"
Delete "$INSTDIR\translations\qt_en.qm"
Delete "$INSTDIR\translations\qt_es.qm"
Delete "$INSTDIR\translations\qt_fa.qm"
Delete "$INSTDIR\translations\qt_fi.qm"
Delete "$INSTDIR\translations\qt_fr.qm"
Delete "$INSTDIR\translations\qt_gd.qm"
Delete "$INSTDIR\translations\qt_he.qm"
Delete "$INSTDIR\translations\qt_hr.qm"
Delete "$INSTDIR\translations\qt_hu.qm"
Delete "$INSTDIR\translations\qt_it.qm"
Delete "$INSTDIR\translations\qt_ja.qm"
Delete "$INSTDIR\translations\qt_ka.qm"
Delete "$INSTDIR\translations\qt_ko.qm"
Delete "$INSTDIR\translations\qt_lv.qm"
Delete "$INSTDIR\translations\qt_nl.qm"
Delete "$INSTDIR\translations\qt_nn.qm"
Delete "$INSTDIR\translations\qt_pl.qm"
Delete "$INSTDIR\translations\qt_pt_BR.qm"
Delete "$INSTDIR\translations\qt_ru.qm"
Delete "$INSTDIR\translations\qt_sk.qm"
Delete "$INSTDIR\translations\qt_tr.qm"
Delete "$INSTDIR\translations\qt_uk.qm"
Delete "$INSTDIR\translations\qt_zh_CN.qm"
Delete "$INSTDIR\translations\qt_zh_TW.qm"
Delete "$INSTDIR\tls\qcertonlybackend.dll"
Delete "$INSTDIR\tls\qopensslbackend.dll"
Delete "$INSTDIR\tls\qschannelbackend.dll"
Delete "$INSTDIR\styles\qmodernwindowsstyle.dll"
Delete "$INSTDIR\platforms\qwindows.dll"
Delete "$INSTDIR\omz_models\open-closed-eye-0001\open-closed-eye.onnx"
Delete "$INSTDIR\omz_models\open-closed-eye-0001\FP32\open-closed-eye-0001.bin"
Delete "$INSTDIR\omz_models\open-closed-eye-0001\FP32\open-closed-eye-0001.xml"
Delete "$INSTDIR\omz_models\open-closed-eye-0001\FP16-INT8\open-closed-eye-0001.bin"
Delete "$INSTDIR\omz_models\open-closed-eye-0001\FP16-INT8\open-closed-eye-0001.xml"
Delete "$INSTDIR\omz_models\open-closed-eye-0001\FP16\open-closed-eye-0001.bin"
Delete "$INSTDIR\omz_models\open-closed-eye-0001\FP16\open-closed-eye-0001.xml"
Delete "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP32\head-pose-estimation-adas-0001.bin"
Delete "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP32\head-pose-estimation-adas-0001.xml"
Delete "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP16-INT8\head-pose-estimation-adas-0001.bin"
Delete "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP16-INT8\head-pose-estimation-adas-0001.xml"
Delete "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP16\head-pose-estimation-adas-0001.bin"
Delete "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP16\head-pose-estimation-adas-0001.xml"
Delete "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP32\gaze-estimation-adas-0002.bin"
Delete "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP32\gaze-estimation-adas-0002.xml"
Delete "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP16-INT8\gaze-estimation-adas-0002.bin"
Delete "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP16-INT8\gaze-estimation-adas-0002.xml"
Delete "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP16\gaze-estimation-adas-0002.bin"
Delete "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP16\gaze-estimation-adas-0002.xml"
Delete "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP32\facial-landmarks-98-detection-0001.bin"
Delete "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP32\facial-landmarks-98-detection-0001.xml"
Delete "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP16-INT8\facial-landmarks-98-detection-0001.bin"
Delete "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP16-INT8\facial-landmarks-98-detection-0001.xml"
Delete "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP16\facial-landmarks-98-detection-0001.bin"
Delete "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP16\facial-landmarks-98-detection-0001.xml"
Delete "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP32\facial-landmarks-35-adas-0002.bin"
Delete "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP32\facial-landmarks-35-adas-0002.xml"
Delete "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP16-INT8\facial-landmarks-35-adas-0002.bin"
Delete "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP16-INT8\facial-landmarks-35-adas-0002.xml"
Delete "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP16\facial-landmarks-35-adas-0002.bin"
Delete "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP16\facial-landmarks-35-adas-0002.xml"
Delete "$INSTDIR\omz_models\face-detection-retail-0005\FP32\face-detection-retail-0005.bin"
Delete "$INSTDIR\omz_models\face-detection-retail-0005\FP32\face-detection-retail-0005.xml"
Delete "$INSTDIR\omz_models\face-detection-retail-0005\FP16-INT8\face-detection-retail-0005.bin"
Delete "$INSTDIR\omz_models\face-detection-retail-0005\FP16-INT8\face-detection-retail-0005.xml"
Delete "$INSTDIR\omz_models\face-detection-retail-0005\FP16\face-detection-retail-0005.bin"
Delete "$INSTDIR\omz_models\face-detection-retail-0005\FP16\face-detection-retail-0005.xml"
Delete "$INSTDIR\omz_models\face-detection-retail-0004\FP32\face-detection-retail-0004.bin"
Delete "$INSTDIR\omz_models\face-detection-retail-0004\FP32\face-detection-retail-0004.xml"
Delete "$INSTDIR\omz_models\face-detection-retail-0004\FP16-INT8\face-detection-retail-0004.bin"
Delete "$INSTDIR\omz_models\face-detection-retail-0004\FP16-INT8\face-detection-retail-0004.xml"
Delete "$INSTDIR\omz_models\face-detection-retail-0004\FP16\face-detection-retail-0004.bin"
Delete "$INSTDIR\omz_models\face-detection-retail-0004\FP16\face-detection-retail-0004.xml"
Delete "$INSTDIR\omz_models\face-detection-adas-0001\FP32\face-detection-adas-0001.bin"
Delete "$INSTDIR\omz_models\face-detection-adas-0001\FP32\face-detection-adas-0001.xml"
Delete "$INSTDIR\omz_models\face-detection-adas-0001\FP16-INT8\face-detection-adas-0001.bin"
Delete "$INSTDIR\omz_models\face-detection-adas-0001\FP16-INT8\face-detection-adas-0001.xml"
Delete "$INSTDIR\omz_models\face-detection-adas-0001\FP16\face-detection-adas-0001.bin"
Delete "$INSTDIR\omz_models\face-detection-adas-0001\FP16\face-detection-adas-0001.xml"
Delete "$INSTDIR\networkinformation\qnetworklistmanager.dll"
Delete "$INSTDIR\imageformats\qgif.dll"
Delete "$INSTDIR\imageformats\qicns.dll"
Delete "$INSTDIR\imageformats\qico.dll"
Delete "$INSTDIR\imageformats\qjpeg.dll"
Delete "$INSTDIR\imageformats\qpdf.dll"
Delete "$INSTDIR\imageformats\qsvg.dll"
Delete "$INSTDIR\imageformats\qtga.dll"
Delete "$INSTDIR\imageformats\qtiff.dll"
Delete "$INSTDIR\imageformats\qwbmp.dll"
Delete "$INSTDIR\imageformats\qwebp.dll"
Delete "$INSTDIR\iconengines\qsvgicon.dll"
Delete "$INSTDIR\generic\qtuiotouchplugin.dll"
RmDir "$INSTDIR\generic"
RmDir "$INSTDIR\iconengines"
RmDir "$INSTDIR\imageformats"
RmDir "$INSTDIR\networkinformation"
RmDir "$INSTDIR\omz_models\face-detection-adas-0001\FP16"
RmDir "$INSTDIR\omz_models\face-detection-adas-0001\FP16-INT8"
RmDir "$INSTDIR\omz_models\face-detection-adas-0001\FP32"
RmDir "$INSTDIR\omz_models\face-detection-retail-0004\FP16"
RmDir "$INSTDIR\omz_models\face-detection-retail-0004\FP16-INT8"
RmDir "$INSTDIR\omz_models\face-detection-retail-0004\FP32"
RmDir "$INSTDIR\omz_models\face-detection-retail-0005\FP16"
RmDir "$INSTDIR\omz_models\face-detection-retail-0005\FP16-INT8"
RmDir "$INSTDIR\omz_models\face-detection-retail-0005\FP32"
RmDir "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP16"
RmDir "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP16-INT8"
RmDir "$INSTDIR\omz_models\facial-landmarks-35-adas-0002\FP32"
RmDir "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP16"
RmDir "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP16-INT8"
RmDir "$INSTDIR\omz_models\facial-landmarks-98-detection-0001\FP32"
RmDir "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP16"
RmDir "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP16-INT8"
RmDir "$INSTDIR\omz_models\gaze-estimation-adas-0002\FP32"
RmDir "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP16"
RmDir "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP16-INT8"
RmDir "$INSTDIR\omz_models\head-pose-estimation-adas-0001\FP32"
RmDir "$INSTDIR\omz_models\open-closed-eye-0001\FP16"
RmDir "$INSTDIR\omz_models\open-closed-eye-0001\FP16-INT8"
RmDir "$INSTDIR\omz_models\open-closed-eye-0001\FP32"
RmDir "$INSTDIR\omz_models\open-closed-eye-0001"
RmDir "$INSTDIR\platforms"
RmDir "$INSTDIR\styles"
RmDir "$INSTDIR\tls"
RmDir "$INSTDIR\translations"
Delete "$INSTDIR\uninstall.exe"
!ifdef WEB_SITE
Delete "$INSTDIR\${APP_NAME} website.url"
!endif
RmDir "$INSTDIR"
!ifdef REG_START_MENU
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $SM_Folder
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME}.lnk"
Delete "$SMPROGRAMS\$SM_Folder\Uninstall ${APP_NAME}.lnk"
!ifdef WEB_SITE
Delete "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk"
!endif
Delete "$DESKTOP\${APP_NAME}.lnk"
RmDir "$SMPROGRAMS\$SM_Folder"
!endif
!ifndef REG_START_MENU
Delete "$SMPROGRAMS\VisionGuard\${APP_NAME}.lnk"
Delete "$SMPROGRAMS\VisionGuard\Uninstall ${APP_NAME}.lnk"
!ifdef WEB_SITE
Delete "$SMPROGRAMS\VisionGuard\${APP_NAME} Website.lnk"
!endif
Delete "$DESKTOP\${APP_NAME}.lnk"
RmDir "$SMPROGRAMS\VisionGuard"
!endif
DeleteRegKey ${REG_ROOT} "${REG_APP_PATH}"
DeleteRegKey ${REG_ROOT} "${UNINSTALL_PATH}"
SectionEnd
######################################################################