troubles with string variable
Hi NSIS users,
I am encountering troubles with the code below :
------- MY CODE BEGIN --------
Var CONFIGPATH
...
Section "turlututu" SEC02
SetDetailsView show
SetOverwrite ifnewer
SetOutPath "${INSTALL_COMMONDIR}"
File "${PRODUCT_PGESFC_DIR}\$CONFIGPATH\Bin\PfcBase.dll"
File SetAutoClose false
SectionEnd
...
Function .onInit
StrCpy $CONFIGPATH "Release"
FunctionEnd
------- MY CODE END --------
With this code, I obtain the error below :
File: "..\..\PgesFc\$CONFIGPATH\Bin\PfcBase.dll" -> aucun fichier trouvé.
I think you see the error... :(
How can I use my CONFIGPATH variable in the constant string ?