![]() |
use Exec command after get a value from Custom page
1 Attachment(s)
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 |
Quote it:
code: |
kichik,
thank my installer now, can run that |
| All times are GMT. The time now is 04:26. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.