22
33; HM NIS Edit Wizard helper defines
44!define PRODUCT_NAME " Zebrafish Scan Processor"
5- !define PRODUCT_VERSION " 1.1.1 "
5+ !define PRODUCT_VERSION " 1.1.2 "
66!define PRODUCT_PUBLISHER " Sinnhuber Aquatic Research Laboratory"
77!define PRODUCT_WEB_SITE " http://www.tanguaylab.com/SARL"
88!define PRODUCT_DIR_REGKEY " Software\Microsoft\Windows\CurrentVersion\App Paths\Zebrafish Scan Processor.exe"
3939; MUI end ------
4040
4141Name " ${PRODUCT_NAME} ${PRODUCT_VERSION}"
42- OutFile " ZScanProcessorSetup_v1_1_1 .exe"
42+ OutFile " ZScanProcessorSetup_v1_1_2 .exe"
4343InstallDir " $PROGRAMFILES64\Zebrafish Scan Processor"
4444InstallDirRegKey HKLM " ${PRODUCT_DIR_REGKEY}" " "
4545ShowInstDetails show
@@ -60,6 +60,15 @@ Section "Main Application" SEC01
6060 SetOutPath " $INSTDIR"
6161 SetOverwrite try
6262 File " Zebrafish Scan Processor\base_library.zip"
63+ SetOutPath " $INSTDIR\cryptography\hazmat\bindings"
64+ File " Zebrafish Scan Processor\cryptography\hazmat\bindings\_constant_time.cp37-win_amd64.pyd"
65+ File " Zebrafish Scan Processor\cryptography\hazmat\bindings\_openssl.cp37-win_amd64.pyd"
66+ SetOutPath " $INSTDIR\cryptography-2.3.1-py3.7.egg-info"
67+ File " Zebrafish Scan Processor\cryptography-2.3.1-py3.7.egg-info\INSTALLER"
68+ File " Zebrafish Scan Processor\cryptography-2.3.1-py3.7.egg-info\METADATA"
69+ File " Zebrafish Scan Processor\cryptography-2.3.1-py3.7.egg-info\RECORD"
70+ File " Zebrafish Scan Processor\cryptography-2.3.1-py3.7.egg-info\top_level.txt"
71+ File " Zebrafish Scan Processor\cryptography-2.3.1-py3.7.egg-info\WHEEL"
6372 SetOutPath " $INSTDIR\cv2"
6473 File " Zebrafish Scan Processor\cv2\cv2.cp37-win_amd64.pyd"
6574 SetOutPath " $INSTDIR\Include"
@@ -183,9 +192,9 @@ Section "Main Application" SEC01
183192 CreateDirectory " $SMPROGRAMS\Zebrafish Scan Processor"
184193 CreateShortCut " $SMPROGRAMS\Zebrafish Scan Processor\Zebrafish Scan Processor.lnk" " $INSTDIR\Zebrafish Scan Processor.exe"
185194 CreateShortCut " $DESKTOP\Zebrafish Scan Processor.lnk" " $INSTDIR\Zebrafish Scan Processor.exe"
186- CreateShortCut " $SMSTARTUP\Zebrafish Scan Processor.lnk" " $INSTDIR\Zebrafish Scan Processor.exe"
187195 File " Zebrafish Scan Processor\Zebrafish Scan Processor.exe.manifest"
188196 File " Zebrafish Scan Processor\_bz2.pyd"
197+ File " Zebrafish Scan Processor\_cffi_backend.cp37-win_amd64.pyd"
189198 File " Zebrafish Scan Processor\_contextvars.pyd"
190199 File " Zebrafish Scan Processor\_ctypes.pyd"
191200 File " Zebrafish Scan Processor\_decimal.pyd"
@@ -204,14 +213,9 @@ Section "Microsoft Visual C++ Redistributable" SEC02
204213 SetOutPath " $INSTDIR"
205214 File " vcredist_x64.exe"
206215
207- ReadRegStr $1 HKLM " SOFTWARE\Microsoft\VisualStudio\14.0\VC\VCRedist\x64" " Installed"
208- StrCmp $1 1 installed
209-
210216 ; not installed, so run the installer
211217 ExecWait ' "$INSTDIR\vcredist_x64.exe" /install /passive /norestart'
212218
213- installed:
214-
215219SectionEnd
216220
217221Section -AdditionalIcons
@@ -256,6 +260,7 @@ Section Uninstall
256260 Delete " $INSTDIR\_decimal.pyd"
257261 Delete " $INSTDIR\_ctypes.pyd"
258262 Delete " $INSTDIR\_contextvars.pyd"
263+ Delete " $INSTDIR\_cffi_backend.cp37-win_amd64.pyd"
259264 Delete " $INSTDIR\_bz2.pyd"
260265 Delete " $INSTDIR\Zebrafish Scan Processor.exe.manifest"
261266 Delete " $INSTDIR\Zebrafish Scan Processor.exe"
@@ -356,14 +361,20 @@ Section Uninstall
356361 Delete " $INSTDIR\lib2to3\Grammar.txt"
357362 Delete " $INSTDIR\Include\pyconfig.h"
358363 Delete " $INSTDIR\cv2\cv2.cp37-win_amd64.pyd"
364+ Delete " $INSTDIR\cryptography-2.3.1-py3.7.egg-info\WHEEL"
365+ Delete " $INSTDIR\cryptography-2.3.1-py3.7.egg-info\top_level.txt"
366+ Delete " $INSTDIR\cryptography-2.3.1-py3.7.egg-info\RECORD"
367+ Delete " $INSTDIR\cryptography-2.3.1-py3.7.egg-info\METADATA"
368+ Delete " $INSTDIR\cryptography-2.3.1-py3.7.egg-info\INSTALLER"
369+ Delete " $INSTDIR\cryptography\hazmat\bindings\_openssl.cp37-win_amd64.pyd"
370+ Delete " $INSTDIR\cryptography\hazmat\bindings\_constant_time.cp37-win_amd64.pyd"
359371 Delete " $INSTDIR\base_library.zip"
360372 Delete " $INSTDIR\vcredist_x64.exe"
361373
362374 Delete " $SMPROGRAMS\Zebrafish Scan Processor\Uninstall.lnk"
363375 Delete " $SMPROGRAMS\Zebrafish Scan Processor\Website.lnk"
364376 Delete " $DESKTOP\Zebrafish Scan Processor.lnk"
365377 Delete " $SMPROGRAMS\Zebrafish Scan Processor\Zebrafish Scan Processor.lnk"
366- Delete " $SMSTARTUP\Zebrafish Scan Processor.lnk"
367378
368379 RMDir " $SMPROGRAMS\Zebrafish Scan Processor"
369380 RMDir " $INSTDIR\win32com\shell"
@@ -389,6 +400,10 @@ Section Uninstall
389400 RMDir " $INSTDIR\lib2to3"
390401 RMDir " $INSTDIR\Include"
391402 RMDir " $INSTDIR\cv2"
403+ RMDir " $INSTDIR\cryptography-2.3.1-py3.7.egg-info"
404+ RMDir " $INSTDIR\cryptography\hazmat\bindings"
405+ RMDir " $INSTDIR\cryptography\hazmat"
406+ RMDir " $INSTDIR\cryptography"
392407 RMDir " $INSTDIR"
393408
394409 DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} " ${PRODUCT_UNINST_KEY}"
0 commit comments