.Net Problem with mysql database

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

.Net Problem with mysql database

Postby shamwaghmare » Tue Nov 25, 2008 10:10 am

Hi I new to deployment can you please guide me through this

I am using VS 2005 and mysql 5

Client is asking for in the installation following things should happen

1) silent Installation of mysql server with predefined password so user can not know it.
2)Automatic restoration of mysql database

What will be the procedure to this .


Thanks in Advance
shamwaghmare
 
Posts: 2
Joined: Mon Nov 24, 2008 3:23 pm

Re: .Net Problem with mysql database

Postby Cosmin » Tue Nov 25, 2008 11:06 am

Hi,

silent Installation of mysql server with predefined password so user can not know it.

This can be done by adding MySQL Server as a prerequisite for your package. Please note that the User Guide contains a tutorial which may help you. In order to install MySQL Server silently, you can use a custom command line for its package in the Properties tab of the "Edit Prerequisite" dialog.

Unfortunately the MySQL server installation package doesn't support specifying the password from the command line. However, you can try using a BAT file as a custom action to set the password after MySQL server is installed.

Automatic restoration of mysql database

For this you can try using the SQL Scripts feature. Please note that the User Guide contains a SQL Scripts tutorial which may help you.

Regards,
Cosmin
Cosmin Pirvu
Advanced Installer Team
http://www.advancedinstaller.com/
Cosmin
 
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm


Return to Common Problems

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests

cron