sennah18
4th June 2005 06:36 UTC
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
kichik
4th June 2005 10:33 UTC
If you use /r it will descend into every subdirectory.
sennah18
4th June 2005 11:45 UTC
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"
sennah18
4th June 2005 11:49 UTC
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
kichik
4th June 2005 11:51 UTC
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.