简体   繁体   中英

NSIS - How to include all folders from source to Installer

I have an application which consists one .exe , many .dlls and a few folders.

I use NSIS to create an installer. It works but when I install the software, I don't see all the folders inside my application. What do I have to do to bundle all the folders within my application into the installer?

This is the code I set the data source at this time:

File "c:\MyProject\MyApp\*"

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM