[izpack-users] Re : Passing INSTALL_PATH to a text file
Praveen Kumar
prav_mas at yahoo.com
Sat Feb 18 12:33:46 CET 2006
Hi,
No need to place my.ini in SystemRoot folder.To install mysql server software
directly execute the mysql.exe file.by having
<packs>
<pack name="Core" required="yes">
<file targetdir="$INSTALL_PATH" src="D:\path\mysql-4.0.18-win"/>
<executable targetfile="$INSTALL_PATH/mysql-4.0.18-win/SETUP.EXE" stage="postinstall" failure="warn"/>
</pack>
it will install mysql which defaults to c:\mysql
There is no need to have my.ini file in systemroot folder.
I have one question: how to post mail to izpack-users list??I have subscribed to the list, i am receiving the message digest but i am not post a mail to the list .I have several queries regarding izpack.
is there any specific mailman command to post the mail ?? if so do let me know ??
how to do it??
Waiting for your reply
Regards
praveen
Regards
praveen
Original Message:
Hi,
In my application I need to run Mysql db so my.ini file (the
configuration file of mysql) should be placed in the SystemRoot folder.
The INSTALL_PATH variable is set by the user. because of that I need to
set INSTALL_PATH variable in my.ini file which is a text file.
=20
my.ini:
[mysqld]
basedir=3Dc:/mysql
datadir=3Dc:/mysql/data
innodb_data_file_path =3D ibdata1:100M:autoextend
innodb_log_arch_dir=3Dc:/mysql/data
innodb_data_home_dir=3Dc:/mysql/data
innodb_log_group_home_dir=3Dc:/mysql/data
set-variable =3D innodb_buffer_pool_size=3D128M
set-variable =3D innodb_additional_mem_pool_size=3D5M
set-variable =3D innodb_log_file_size=3D32M
set-variable =3D innodb_log_files_in_group=3D4
#set-variable =3D innodb_log_file_size=3D5M
#set-variable =3D innodb_log_files_in_group=3D2
set-variable =3D innodb_log_buffer_size=3D4M
set-variable =3D max_connections=3D50
set-variable =3D key_buffer_size=3D4M
[WinMySQLadmin]
Server=3DC:/mysql/bin/mysqld-max-nt.exe
QueryInterval=3D10
As you can see basedir and datadir etc. have static location for the
mysql install and when the user set a different location for install in
the TargetPanel I need to set the my.ini file accordingly.
How can I do it?
How can I pass INSTALL_PATH value to my.ini text file so my db can be
run?
=20
Thanks
=20
Yossi
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060218/e3b16a5f/attachment.html
More information about the izpack-users
mailing list