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.
InstallLib needs absolute path in localfile ?
5 posts
$SRC_DIR is a variable hence usable at runtime.
${SRC_DIR} could be a proper definition.
${SRC_DIR} could be a proper definition.
${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.
)-:
!error: InstallLib: The library ${SRC_DIR}\MaSvr.dll could not be found.
Error in macro InstallLib on macroline 89.
)-:
Did you try the absolute path instead?
Perhaps the path is not properly defined in ${SRC_DIR}
Perhaps the path is not properly defined in ${SRC_DIR}
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 (-:
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 (-: