当前位置:网站首页>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边栏推荐
- [MySQL] database knowledge record
- And play the little chestnut of dynamic agent
- Pit record of Chmod 2 options in deepin
- Detour of Tkinter picture scaling
- 公安专业知识--哔哩桐老师
- Process (P) runs, and idle is different from pycharm
- Explanation of parallel search set theory and code implementation
- arcpy. SpatialJoin_ Analysis spatial connection analysis
- [vscode] search using regular expressions
- Basic knowledge of public security -- FB
猜你喜欢

Deepin get file (folder) list

剑指 Offer 56 数组中数字出现的次数(异或)

Intelligent target detection 59 -- detailed explanation of pytoch focal loss and its implementation in yolov4
![[idea] efficient plug-in save actions to improve your work efficiency](/img/6e/49037333964865d9900ddf5698f7e6.jpg)
[idea] efficient plug-in save actions to improve your work efficiency

Basic series of SHEL script (III) for while loop
![[vscode] prohibit the pylance plug-in from automatically adding import](/img/a7/d96c0c4739ff68356c15bafbbb1328.jpg)
[vscode] prohibit the pylance plug-in from automatically adding import

I 用c I 实现队列

CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)

2022 PMP project management examination agile knowledge points (7)

目标检测系列——Faster R-CNN原理详解
随机推荐
deepin 20 kivy unable to get a window, abort
The golang timer uses the stepped pit: the timer is executed once a day
D2L installation
Typecho adds Baidu collection (automatic API submission plug-in and crawler protocol)
golang定时器使用踩的坑:定时器每天执行一次
DelayQueue延迟队列的使用和场景
The folder directly enters CMD mode, with the same folder location
HDU1231 最大连续子序列(分治or动规or双指针)
Apple input method optimization
Install deeptools in CONDA mode
Ue5 hot update - remote server automatic download and version detection (simplehotupdate)
Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
Clickhouse database installation deployment and remote IP access
Solve tensorfow GPU modulenotfounderror: no module named 'tensorflow_ core. estimator‘
Apple system optimization
Light up the running light, rough notes for beginners (1)
Differences between pycharm and idle and process -- join() in vs Code
DataGrid offline installation of database driver
Apple modify system shortcut key
What if the DataGrid cannot see the table after connecting to the database