I tried to modify the line using an external batch file

PrepareDB.bat:
Qt Code:
  1. mysql -uroot -ppassword -e "CREATE DATABASE IF NOT EXISTS dbbase"
To copy to clipboard, switch view to plain text mode 

and change it in:
Qt Code:
  1. var argList = ["/c","@TargetDir@\\PrepareDB.bat"];
  2. component.addElevatedOperation("Execute","cmd",argList);
To copy to clipboard, switch view to plain text mode 

but the result is the same...