[izpack-users] Passing INSTALL_PATH to a text file

Yossi Baram yossiba at eldat.com
Wed Feb 15 09:12:49 CET 2006


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.
 
my.ini:
[mysqld]
basedir=c:/mysql
datadir=c:/mysql/data
innodb_data_file_path = ibdata1:100M:autoextend
innodb_log_arch_dir=c:/mysql/data
innodb_data_home_dir=c:/mysql/data
innodb_log_group_home_dir=c:/mysql/data
set-variable = innodb_buffer_pool_size=128M
set-variable = innodb_additional_mem_pool_size=5M
set-variable = innodb_log_file_size=32M
set-variable = innodb_log_files_in_group=4
#set-variable = innodb_log_file_size=5M
#set-variable = innodb_log_files_in_group=2
set-variable = innodb_log_buffer_size=4M
set-variable = max_connections=50
set-variable = key_buffer_size=4M
[WinMySQLadmin]
Server=C:/mysql/bin/mysqld-max-nt.exe
QueryInterval=10

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?
 
Thanks
 
Yossi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.berlios.de/pipermail/izpack-users/attachments/20060215/c4b50b1b/attachment.html 


More information about the izpack-users mailing list