use Exec command after get a value from Custom page
hai,
i try to execute a file, after user choose a directory. but i do not know why syntax exec does not working. If i use Exec command.com, the Exec syntax working. when i check with
message box the value that i get from $R0 is right.
i try to catch the value from custom page, because i do not know user will install mysql.
how to correct my code to running like that ?
this my code :
Function LeaveCustom
ReadINIStr $R0 "$PLUGINSDIR\inputtext.ini" "Field 1" "State"
StrCmp $0 3 runing
runing:
;MessageBox MB_OK '$R0\bin\mysql.exe'
;Exec 'command.com'
Exec '$R0\command.com'
;Exec '$R0\mysql\bin\mysql.exe'
;IfErrors 0 +2
;Abort
FunctionEnd