Code Snippets NSIS

Short texts NSIS 🧑‍💻 Code snippets NSIS ✍️ Reading lists NSIS 👀

nsis.nsi

; Script generated by the HM NIS Edit Script Wizard. ; HM NIS Edit Wizard helper defines !define ALL_USERS !define PRODUCT_NAME “git” !define INSTALL_DIR “C:\External\Applications\git” !define PRODUCT_BIN “git-bash.exe” !define PRODUCT_FULL_BIN “${INSTALL_DIR}\${PRODUCT_BIN}” !define PRODUCT_VERSION “2.22.0” !define LICENCE “git\LICENSE.txt” !define SOURCE “git” !define RESOURCES “git/resources” !define LANGUAGE “SimpChinese” !define PRODUCT_PUBLISHER “virtualink” !define PRODUCT_WEB_SITE “http://www.yuhuans.cn” !define PRODUCT_DIR_REGKEY “Software\Microsoft\Windows\CurrentVersion\App […]

electron-builder nsis install c++ redist 2017-2019

!include LogicLib.nsh !macro customInit Var /GLOBAL VCRedistDownload ${If} ${RunningX64} ;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.21,bundle\Dependents\{f4220b74-9edd-4ded-bc8b-0342c1e164d8} ;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.22,bundle\Dependents\{6361b579-2795-4886-b2a8-53d5239b6452} ;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.23,bundle\Dependents\{852adda4-4c78-4a38-b583-c0b360a329d6} ;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.24,bundle\Dependents\{282975d8-55fe-4991-bbbb-06a72581ce58} ;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.25,bundle\Dependents\{6913e92a-b64e-41c9-a5e6-cef39207fe89} ReadRegStr $R0 HKCR “Installer\Dependencies\VC,redist.x64,amd64,14.21,bundle” “Version” IfErrors 0 VSRedistInstalled ReadRegStr $R0 HKCR “Installer\Dependencies\VC,redist.x64,amd64,14.22,bundle” “Version” IfErrors 0 VSRedistInstalled ReadRegStr $R0 HKCR “Installer\Dependencies\VC,redist.x64,amd64,14.23,bundle” “Version” IfErrors 0 VSRedistInstalled ReadRegStr $R0 HKCR “Installer\Dependencies\VC,redist.x64,amd64,14.24,bundle” “Version” IfErrors 0 VSRedistInstalled ReadRegStr $R0 HKCR “Installer\Dependencies\VC,redist.x64,amd64,14.25,bundle” “Version” IfErrors 0 VSRedistInstalled MessageBox […]