Install Mysql Using Inno Setup Tutorial

This tutorial shows you step by step how to install MySQL on Windows environment using MySQL Installer. How to make an installer with Inno Setup or Install. Shield, install the API, the server and database. Update device driver using Inno Setup? Scarface Free. To follow this tutorial.
I have been working on an installer that does several things. The part I'm having trouble with is getting some.sql files to set up the database, user, permission, and initial table structure for the application. For reference, I am using MySQL 5.1 and Inno Setup 5 on Windows XP. Using the [Run] section to run the command line mysql didn't work because it wouldn't allow the file to be piped in.
Any suggestions would be greatly appreciated. [Run]; this doesn't work Filename: 'c: program files mysql mysql server 5.1 bin mysql.exe'; Parameters: ' -u user.
Important If your operating system is Windows 2008 R2 or Windows 7 and you do not have Service Pack 1 (SP1) installed, MySQL 5.7 will regularly restart and in the MySQL server error log file you will see this message: mysqld got exception 0xc000001d This error message occurs because you are also using a CPU that does not support the VPSRLQ instruction and indicates that the CPU instruction that was attempted is not supported. To fix this error, you must install SP1.
This adds the required operating system support for the CPU capability detection and disables that support when the CPU does not have the required instructions. Alternatively, install an older version of MySQL, such as 5.6. There are different methods to install MySQL on Microsoft Windows. MySQL Installer Method The simplest and recommended method is to download MySQL Installer (for Windows) and let it install and configure all of the MySQL products on your system. Note You probably also installed other helpful MySQL products like MySQL Workbench and MySQL Notifier on your system. Consider loading to check your new MySQL server connection, and to view the connection's status.