且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

NSIS - 如何将所有文件夹从源包含到安装程序

更新时间:2023-09-19 23:33:34

文档告诉我们File命令的/ r参数包括所有子文件夹和文件。所以你会使用这样的东西:

The documentation tells us that the /r argument of the File command includes all sub folders and files. So you would use something like this:

File /r "c:\MyProject\MyApp\*"

文档的相关部分可在此处找到:

The relevant section of the documentation can be found here:

http://nsis.sourceforge.net/Docs/Chapter4.html#file