Archive: NSIS descends to any directories


NSIS descends to any directories
Hello,

while compiling my installer does a very strange thing:

He returns to "." - thats right.
Then he descends into a directory that is in the "."-directory. But this this directory isn't respond anywhere in the NSIS-Script.

Can you help me???


Best regards
Johannes


If you use /r it will descend into every subdirectory.


Yes, i know that with /r.

I will now post you a snippet out of my code:

File /r conf
File /r Treiber
File /r Manual
File "FPMgr Standalone\install_Mgr.exe"

SetOutPath "C:\"
File /r LMSBio



SetOutPath $SYSDIR
File "dlls\bdfis.dll"
File "dlls\Bergdata-Engine.dll"


Yes, i know that with /r.

I will now post you a snippet out of my code:

File /r conf
File /r Treiber
File /r Manual
File "FPMgr Standalone\install_Mgr.exe"

SetOutPath "C:\"
File /r LMSBio

*

SetOutPath $SYSDIR
File "dlls\bdfis.dll"
File "dlls\Bergdata-Engine.dll"

---

The problem is at the *. The LMSBio-folder is copied ok. But between "File /r LMSBio" and "SetOutPath $SYSDIR" the installer copies three other directories and I don't know why.

Interesting is also, that these happened at one of two PCs - The same Files.

Have you any statement?


Best regards
Johannes


Use for each directory:

SetOutPath $INSTDIR\conf
File /r conf\*.*
In your script, NSIS will look for every file and folder named "conf" under the current directory.