SETOUTPATH "$PROGRAMFILES\MySQL\MySQL Server 5.1\bin"Also I have not been successful in getting the return string from the call, which perhaps could reveal something. The DumpLog routine just returns "O" in the first line and "E" in the second line of SP_install.log, so I cant see either what error the mysql call is returning.
File "C:\ICIS5\Database\MySQL_Dump\dump.sql"
; nsExec::Exec `"$PROGRAMFILES\MySQL\MySQL Server 5.1\bin\mysql.exe" --user=root --password="$rootPassword" -e
"LOAD DATA INFILE 'IWIS_CENTRAL_DMS.CSV' INTO TABLE mysql.proc FIELDS TERMINATED BY ';' LINES TERMINATED BY '\r\n' SET db = 'iwis_central_dms';"`
;nsExec::Exec `"$PROGRAMFILES\MySQL\MySQL Server 5.1\bin\mysql.exe" --user=root --password="$rootPassword" < "dump.sql" > "$DESKTOP\MySQL.log"`
;Pop $0
ExpandEnvStrings $0 %COMSPEC%
;GetFullPathName /SHORT $1 $PROGRAMFILES\MySQL\MySQL Server 5.1\bin\dump.sql
;Exec '"$0" /C "$PROGRAMFILES\MySQL\MySQL Server 5.1\bin\mysql.exe" < $1'
ExecWait `"$0" /C "$PROGRAMFILES\MySQL\MySQL Server 5.1\bin\mysql.exe" --user=root --password="$rootPassword" < "dump.sql"`
;nsExec::ExecToStack /OEM `"$0" /C "$PROGRAMFILES\MySQL\MySQL Server 5.1\bin\mysql.exe" --user=root --password="$rootPassword" < "dump.sql"`
;ExecDos::Exec /DETAILED `"$0" /C "$PROGRAMFILES\MySQL\MySQL Server 5.1\bin\mysql.exe" --user=root --password="$rootPassword" < "dump.sql"`
;ExecDos::Exec /DETAILED `"$PROGRAMFILES\MySQL\MySQL Server 5.1\bin\mysql.exe" --user=root --password="$rootPassword" < "dump.sql"`
Pop $0
${If} $BoolShowInfoMessages == "True"
MessageBox MB_OK 'Passing the stored procedures and functions to iwis_central_dms.* with return code (should be zero) {$0}'
${EndIf}
StrCpy $0 "$INSTDIR\SP_install.log"
Push $0
Call DumpLog
Could anybody orient me what might be the problem, please?