Search code examples
installationnsis

How to add file in NSIS from different folders


I have the following already set up and working:

File file1.bat
File file2.xml
File common.file1.dll
File common.file2.dll
File common.file3.exe

What I would want, to avoid keeping the common files in the source directory, is reference them from the parent directory like so:

File file1.bat
File file2.xml
File ..\common.file1.dll
File ..\common.file2.dll
File ..\common.file3.exe

Edit: This actually works when I tried it again.

But apparently, this is not recognized.
Is there another way to reference these files?


Solution

  • File's are relative to the .nsi and ..\xyz should work...