Menu

#387 InstallLib appears to fail on paths with spaces

closed-fixed
None
5
2005-07-07
2005-07-07
Anonymous
No

Using NSIS 2.07 on Windows 2000 SP4 with latest patches.

Using InstallLib macro with a library path that
includes spaces (e.g. "C:\Program Files\Common
Files\Crystal Decisions\2.5\bin\craxdrt.dll") fails
with a 'file not found' error.

I modified Library.nsh as follows:

-!execute '"${NSISDIR}\Bin\LibraryLocal.exe" D
${LOCALFILE}'
+!execute '"${NSISDIR}\Bin\LibraryLocal.exe" D
"${LOCALFILE}"'

I simply quoted the local file. Now it works fine.
This problem did not exist in 2.05 (I didn't test with
2.06).

Discussion

  • Amir Szekely

    Amir Szekely - 2005-07-07
    • assigned_to: nobody --> kichik
    • status: open --> closed-fixed
     
  • Amir Szekely

    Amir Szekely - 2005-07-07

    Logged In: YES
    user_id=584402

    Thanks, fixed.

     

Log in to post a comment.