Archive: why ${ConfigWrite} does not work? invalid comand?? why??


why ${ConfigWrite} does not work? invalid comand?? why??
every time that I try to run this comand, I can`t...
I don`t know why...
I need help!!!

${ConfigWrite} "$WINDIR\php.ini"
"SET extension_dir=" "testing" $R0


the error is..

invalid command: ${ConfigWrite}
Error in script "D:\workspace\Installer_test\setup.nsi" on line 201 -- aborting creation process


thankss!!


Probably because you haven't add !insertmacro ConfigWrite.


ok.. but.. when I put this.. it does not find!! What I favo to do pu insert this macro correctly?


!include "TextFunc.nsh"
!insertmacro ConfigWrite


I`m sorry.. but I really don`t know!!
now you have a !include "TextFunc.nsh"
I have to make this function?


ooo
I`m sorry...
works fine!!!!!
thanks a lot Red Wine!! I undertood!!! :D:D


OK!!
so now.. I got it.. but.. when I got a variable $PROGRAMFILES.. It come like this..
C:\Program Files\...
How can I get it, link this...
C:/Program Files/... ??????

thankssss