but NSIS passes the string '${PLUGINSDIR}" directly to convert tool, without expanding the variable. The same happens using env variables like $%TEMP%.
!system 'convert icon.png ${PLUGINSDIR}\icon.ico'
Even doing
prints "${PLUGINSDIR}" literally.
!verbose 4
!echo ${PLUGINSDIR}
What can I be missing here?