当前位置:网站首页>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边栏推荐
- Explanation of parallel search set theory and code implementation
- Import CV2, prompt importerror: libcblas so. 3: cannot open shared object file: No such file or directory
- Efficiency difference: the add method used by the set directly and the add method used by the set after judgment
- Rough notes of C language (2) -- constants
- [idea] efficient plug-in save actions to improve your work efficiency
- How to modify the file path of Jupiter notebook under miniconda
- Matrix keyboard scan (keil5)
- Set theory of Discrete Mathematics (I)
- I 用c l 栈与队列的相互实现
- Chapter 2: try to implement a simple bean container
猜你喜欢

Intelligent target detection 59 -- detailed explanation of pytoch focal loss and its implementation in yolov4

How to delete the virus of inserting USB flash disk copy of shortcut to

Line test -- data analysis -- FB -- teacher Gao Zhao

How to modify the file path of Jupiter notebook under miniconda

Ugnx12.0 initialization crash, initialization error (-15)

行测--资料分析--fb--高照老师

Oracle-触发器和程序包

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

并查集理论讲解和代码实现

Brief description of inux camera (Mipi interface)
随机推荐
Install deeptools in CONDA mode
I can't stand the common annotations of idea anymore
Database SQL practice 3. Find the current salary details of the current leaders of each department and their corresponding department number Dept_ no
Unforgettable summary of 2021
How to deal with excessive memory occupation of idea and Google browser
[node] differences among NPM, yarn and pnpm
With the help of Navicat for MySQL software, the data of a database table in different or the same database link is copied to another database table
UE5热更新-远端服务器自动下载和版本检测(SimpleHotUpdate)
[vscode] search using regular expressions
Readme, self study record
Jenkins reported an error. Illegal character: '\ufeff'. Class, interface or enum are required
deepin 20 kivy unable to get a window, abort
纯碱是做什么的?
Database SQL practice 4. Find the last of employees in all assigned departments_ Name and first_ name
[idea] efficient plug-in save actions to improve your work efficiency
[tf1] save and load parameters
What is deep learning?
Ethtool principle introduction and troubleshooting ideas for network card packet loss (with ethtool source code download)
2022年PMP项目管理考试敏捷知识点(7)
Matrix keyboard scan (keil5)