Archive: Include files using folder above


Include files using folder above
Hi,

I have a directory as follows.

- Folder1
--- Folder2
----- File1.nsi
--- Folder3
----- File2.nsi
----- File3.nsh
----- x64
----- x86

File3.nsh is used by both, File1.nsi and File3.nsi.

File3.nsh includes several files into my installer. The original implementation was


${If} ${RunningX64}
file x64\*.*
${Else}
file x86\*.*
${EndIf}


This was working properly, but as soon as I tried using File3.nsh from File1.nsi, it did not compile.

I already tried



${If} ${RunningX64}
file ..\Folder3\x64\*.*
${Else}
file ..\Folder3\x86\*.*
${EndIf}


Do you know how it should be written to included the right files as long as they are in the same level.

Thanks,

Hey guys, I just realized that I had a small typo in my code. It should work with my original solution.