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\*"
NSIS installers are generated by using the 'MakeNSIS' program to compile a NSIS script (. NSI) into an installer executable. The NSIS development kit installer sets up your computer so that you can compile a . nsi file by simply right-clicking on it in Explorer and selecting 'compile'.
Text file written using NSIS (Nullsoft Scriptable Install System) script, a language used for declaring the logic and tasks for software installers; often references files and folders to install as well as Windows registry actions.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With