Hi,
In my installer, I ask a few questions which are used to modify an INI 
file in my application directory (yeah, I know I should not, and I'm 
trying to discuss those out, but still I'm interested in a solution).
This is a java application, therefore I can't (don't want) to use the 
registry.

The problem is, that (as far as I understood), I can't use IniFileSearch 
because the ini file is in my app directory.

So, since I can't read out the old value, I thought about skipping the 
component (see below) during upgrade. The entries would not be written and 
everything would be fine.

<Directory Id='INSTALLDIR' Name='MyClient'>
                                <Component Id="My_Ini_Write" 
Guid="{DC752365-A598-4B76-AC70-C99BF34D539F}">
                                        <CreateFolder />
                                        <IniFile Id="Ini1" Action="addLine" 
Directory="INSTALLDIR"
                                        Section="Global" Name="My.ini" 
Key="FOOManagerAliveInterval"
                                        Value="[FOO_TIMEOUT]" />
                                        <IniFile Id="Ini2"
                                </Component>


But how can I do this?

thanks,
Markus

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to