Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我找到了两种在 NSIS 脚本中获取安装程序文件完整路径的方法:
但我只需要文件名,而不需要完整路径。怎么去拿?有 ExtractFileName() 类型的函数吗?
$EXEFILE是你想要的。它将是形式foo.exe。
$EXEFILE
foo.exe