|
|
#1 |
|
Junior Member
Join Date: Feb 2007
Posts: 19
|
InstallLib needs absolute path in localfile ?
Hi,
on my 1st steps with NSIS the compiler gave me the following error: !error: InstallLib: The library $SRC_DIR\MaSvr.dll could not be found. my line of code is: !insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_NOTPROTECTED $SRC_DIR\MaSvr.dll $TDI_DIR\MaSvr.dll "$SYSDIR" $SRC_DIR is well defined, it is "d:\tditmp\sintdmto" and the file is in this directory. Any ideas? TIA, xiris BTW: I don't have/want any files in my setup. All the files to be installed will be readyand waiting in $SRC_DIR on the target system. On my system the files are also available in $SRC_DIR. |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
$SRC_DIR is a variable hence usable at runtime.
${SRC_DIR} could be a proper definition. Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Feb 2007
Posts: 19
|
${SRC_DIR} doesn't work either, I get the same error from the compiler:
!error: InstallLib: The library ${SRC_DIR}\MaSvr.dll could not be found. Error in macro InstallLib on macroline 89. )-: |
|
|
|
|
|
#4 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
Did you try the absolute path instead?
Perhaps the path is not properly defined in ${SRC_DIR} Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Feb 2007
Posts: 19
|
absolute path works.
Finally found the answer to my problem in thread 208430. Bottom line: can't use a varname, i must be the absolute path. Thread closed (-: |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|