Archive: Copying files


Copying files
Hello,

How the installer knows where to find the *.dll files that has to copy during the installation. In my case they are locate in the subfolder inside the installation package but the installer give me the following error:

"File: "FLO2DINTER.DLL" -> no files found."
The code looks like:
Section "DLL"

${If} ${RunningX64}

SetOutPath "$WINDIR\SysWOW64"
DetailPrint "Installer running on 64-bit host"
File "DFORMD.DLL"
File "DFORRT.DLL"
File "Expsrv.dll"


${Else}

SetOutPath "$WINDIR\System32"
File "DFORMD.DLL"
File "DFORRT.DLL"
File "Expsrv.dll"


${EndIf}
Can somebody give me a clue how to redirect the installer to look for the file in the correct folder?

Thanks

The path must be relative to your .nsi or you can use the full path...