sergiotaraujo
20th February 2008 12:36 UTC
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!!
Red Wine
20th February 2008 12:58 UTC
Probably because you haven't add !insertmacro ConfigWrite.
sergiotaraujo
20th February 2008 13:10 UTC
ok.. but.. when I put this.. it does not find!! What I favo to do pu insert this macro correctly?
Red Wine
20th February 2008 13:15 UTC
!include "TextFunc.nsh"
!insertmacro ConfigWrite
sergiotaraujo
20th February 2008 13:19 UTC
I`m sorry.. but I really don`t know!!
now you have a !include "TextFunc.nsh"
I have to make this function?
sergiotaraujo
20th February 2008 13:20 UTC
ooo
I`m sorry...
works fine!!!!!
thanks a lot Red Wine!! I undertood!!! :D:D
sergiotaraujo
20th February 2008 13:36 UTC
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