Hello and welcome to our forums,
To achieve what you need you should just use our "SQL Query" support. Just follow our "Using an SQL Query to interrogate SQL databases" tutorial to get a starting point about how to configure and execute an SQL script/query from an installation dialog event.
Hope this helped.
All the best,