Skip to content
⌘ NSIS Forum Archive

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

7 posts

sergiotaraujo#

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!!
sergiotaraujo#
ok.. but.. when I put this.. it does not find!! What I favo to do pu insert this macro correctly?
sergiotaraujo#
I`m sorry.. but I really don`t know!!
now you have a !include "TextFunc.nsh"
I have to make this function?
sergiotaraujo#
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