当前位置:网站首页>NSIS finds out whether the file exists and sets the installation path
NSIS finds out whether the file exists and sets the installation path
2022-07-05 07:34:00 【sukhoi27smk】
Var GIT
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
StrCpy $GIT "false"
MessageBox MB_OK $9
IfFileExists "C:\Program Files\Git\git-cmd.exe" 0 +4
MessageBox MB_OK "Git already installed "
StrCpy $INSTDIR "C:\Program Files\Git"
StrCpy $GIT "true"
IfFileExists "D:\Program Files\Git\git-cmd.exe" 0 +4
MessageBox MB_OK "Git already installed "
StrCpy $INSTDIR "D:\Program Files\Git"
StrCpy $GIT "true"
${If} $GIT == "false"
MessageBox MB_OK "Git No installation , Exit setup !"
Abort
${EndIf}
FunctionEnd边栏推荐
- 2022.06.27_ One question per day
- Exit of pyGame, idle and pycharm
- Intelligent target detection 59 -- detailed explanation of pytoch focal loss and its implementation in yolov4
- CADD课程学习(6)-- 获得已有的虚拟化合物库(Drugbank、ZINC)
- Web page Chinese display (print, etc.) GBK error, solution, software
- CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
- [node] differences among NPM, yarn and pnpm
- Altimeter data knowledge point 2
- [framework] multi learner
- Ugnx12.0 initialization crash, initialization error (-15)
猜你喜欢

How to modify the file path of Jupiter notebook under miniconda

Using GEE plug-in in QGIS

借助 Navicat for MySQL 软件 把 不同或者相同数据库链接中的某数据库表数据 复制到 另一个数据库表中

Daily Practice:Codeforces Round #794 (Div. 2)(A~D)

Hdu1232 unimpeded project (and collection)

M2dgr slam data set of multi-source and multi scene ground robot

Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)

Word import literature -mendeley

Pagoda create multiple sites with one server

611. 有效三角形的个数
随机推荐
借助 Navicat for MySQL 软件 把 不同或者相同数据库链接中的某数据库表数据 复制到 另一个数据库表中
Daily Practice:Codeforces Round #794 (Div. 2)(A~D)
Import CV2, prompt importerror: libcblas so. 3: cannot open shared object file: No such file or directory
Pit record of Chmod 2 options in deepin
DataGrid offline installation of database driver
ImportError: No module named ‘Tkinter‘
Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
I implement queue with C I
GBK error in web page Chinese display (print, etc.), solution
CADD course learning (5) -- Construction of chemosynthesis structure with known target (ChemDraw)
Oracle-触发器和程序包
Charles- unable to grab bags and surf the Internet
Differences between pycharm and idle and process -- join() in vs Code
HDU1232 畅通工程(并查集)
Tshydro tool
(tool use) how to make the system automatically match and associate to database fields by importing MySQL from idea and writing SQL statements
ModuleNotFoundError: No module named ‘picamera‘
Mouse click fireworks explosion effect
Self summary of college life - freshman
I can't stand the common annotations of idea anymore