Running database creating script during installation - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

lalaf
Posts: 2
Joined: Thu May 13, 2010 7:52 pm

Running database creating script during installation

Hi,

I am using Advanced Installer 7.6 and am trying to run a script file in mysql that creates a database with tables.

Here's what I tried but failed: I tried doing this in the "Prerequisites" section. I managed to open mysql.exe, but then I don't know how to make the installer run the script file (which is in the package that I am installing.) Is there a way to make the installer run the script file in mysql?

Thanks,
F. Lala
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Running database creating script during installation

Hi,

For this you don't need prerequisites, their purpose is another one, you can read more here.

For executing your SQL script there is a tutorial in which we explain step by step how you can accomplish this.

Please let us know if you have other questions.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lalaf
Posts: 2
Joined: Thu May 13, 2010 7:52 pm

Re: Running database creating script during installation

Thanks for the reply. I tried to tutorial but could not do step 2 (Configure a SQL Connection). It asks us to go to "SQL Scripts" page which I could not find. Would you know where to look for it?

Thanks.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Running database creating script during installation

Hi,

The SQL Scripts page is available only in Enterprise projects. You can change your project type by using the Project -> Options menu.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”