automated installation

automated installation

am 08.10.2005 14:11:29 von Gerhard Prilmeier

Hello,

I developed a win32 application which uses a mysql database. Now the
question arises how to get mysql installed at the user without bothering him
with installation options. Usually it is required to have it installed
locally at his machine.
So what I need is simply an installer which does not ask any questions. It
does not have to produce any accounts or databases, the app can do this by
itself. All I need is a clean mysql installation where I know the root
password (alternatively, the user can set it during installation).
Can the standard mysql installer be configured to do that (e.g. by command
line)? Should I look into the "no installer" package? Or is there another
cheap way to accomplish this?

Thank you!
Gerhard Prilmeier


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

Re: automated installation

am 08.10.2005 18:05:58 von Daniel da Veiga

On 10/8/05, Gerhard Prilmeier wrote:
> Hello,
>
> I developed a win32 application which uses a mysql database. Now the
> question arises how to get mysql installed at the user without bothering =
him
> with installation options. Usually it is required to have it installed
> locally at his machine.

A similar issue has been discussed here some time ago, maybe if you
take a look at the archives, you'll find it.

> So what I need is simply an installer which does not ask any questions. I=
t
> does not have to produce any accounts or databases, the app can do this b=
y
> itself. All I need is a clean mysql installation where I know the root
> password (alternatively, the user can set it during installation).
> Can the standard mysql installer be configured to do that (e.g. by comman=
d

I know it has options that you can pass to do silent installation, I
don't know how this can help you because I use another approach.

> line)? Should I look into the "no installer" package? Or is there another
> cheap way to accomplish this?

When I developed a small "date book" app with MySQL last year, I used
NSIS to create the installer, that associated to the "skip-networking"
and "named pipes" (all set at the my.ini file) and simply calling
mysqld with options to install and remove the service did the trick
with no user intervension and without openning a TCP/IP port to the
outside word, I even put a test to see if it was a "service" able
system (xp, 2000, etc) and if it wasn't my app would lauch the server
as it started. I used it because I really hate the .msi and because it
take too much space (the InstMsi.exe AND the package), so, I started
with the zipped version, stripped something useless and it was ready.
But I am sure you'll have other options.

> Thank you!
> Gerhard Prilmeier

Good luck,

--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=3Dgcdmw-win32@m.gmane.org