Vote count:
0
I want to copy files/folders from one folder of enduser-system to another folder of enduser-system. However the CopyFiles directive seems to be not working, when passing variables like $0, $1 as source parameter..
...
SetRegView 64
ReadRegStr $0 HKLM "${PRODUCT_HOME_ROOT}\$1" "License"
MessageBox MB_OK "$0"
CreateDirectory '"$INSTDIR\application\license"'
CopyFiles "$0" "$INSTDIR\application\"
The string stored in $0 is checked, and is identical to the absolute path of the file. If i pass the source parameter as "C:\path_to_folder", the CopyFiles directive is working, as expected. What am i doing wrong ?
asked 12 secs ago
CopyFiles Directive not working with variables as parameters?
Aucun commentaire:
Enregistrer un commentaire