当前位置:网站首页>NSIS search folder
NSIS search folder
2022-07-05 07:34:00 【sukhoi27smk】
!include "FileFunc.nsh"
Function .onInit
!insertmacro MUI_LANGDLL_DISPLAY
${Locate} "C:\" "/L=D" "FolderPro"
FunctionEnd
Function FolderPro
${If} $R7 == "Program Files"
MessageBox MB_OK '$R7'
MessageBox MB_OK '$R8'
${Else}
push $0
${EndIf}
FunctionEnd
Need to install locate plug-in unit , And includes FileFunc.nsh The header file
$R7 Return the name of each folder ,$R8 Return its path
边栏推荐
- 并查集理论讲解和代码实现
- I implement queue with C I
- Efficiency difference: the add method used by the set directly and the add method used by the set after judgment
- CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
- Apple system optimization
- Negative number storage and type conversion in programs
- ModuleNotFoundError: No module named ‘picamera‘
- Idea shortcut key
- Apple system shortcut key usage
- Microservice registry Nacos introduction
猜你喜欢
Ugnx12.0 initialization crash, initialization error (-15)
Detailed explanation of miracast Technology (I): Wi Fi display
Anaconda navigator click open no response, can not start error prompt attributeerror: 'STR' object has no attribute 'get‘
Negative number storage and type conversion in programs
[vscode] prohibit the pylance plug-in from automatically adding import
Word import literature -mendeley
The folder directly enters CMD mode, with the same folder location
Pagoda create multiple sites with one server
并查集理论讲解和代码实现
Delayqueue usage and scenarios of delay queue
随机推荐
How can Oracle SQL statements modify fields that are not allowed to be null to allow nulls?
Apple modify system shortcut key
Apple script
Apple system optimization
The golang timer uses the stepped pit: the timer is executed once a day
Word import literature -mendeley
Graduation thesis project local deployment practice
Use go language to read TXT file and write it into Excel
How to deal with excessive memory occupation of idea and Google browser
[neo4j] common operations of neo4j cypher and py2neo
Use of Pai platform
I can't stand the common annotations of idea anymore
借助 Navicat for MySQL 软件 把 不同或者相同数据库链接中的某数据库表数据 复制到 另一个数据库表中
DelayQueue延迟队列的使用和场景
Don't confuse the use difference between series / and / *
CADD课程学习(5)-- 构建靶点已知的化合结构(ChemDraw)
Idea to view the source code of jar package and some shortcut keys (necessary for reading the source code)
Database SQL practice 4. Find the last of employees in all assigned departments_ Name and first_ name
Detailed explanation of miracast Technology (I): Wi Fi display
[idea] efficient plug-in save actions to improve your work efficiency