Hello,
I create a msi project and I have a ini file.
the ini file look at this:
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
insert comment in a ini file
Started by
pavlacki
, Mar 08 2005 14:16
1 reply to this topic
Posted 08 March 2005 - 14:16
CODE |
/////////////////////////////////////////////////////////////////////////// ////////// ////////// ////////// Pavlacki Initialisation File ////////// ////////// ------------------------------ ////////// ////////// ////////// /////////////////////////////////////////////////////////////////////////// [files] CompiledHtmlHelpFile = [INSTALLDIR]Help\WRHelp.chm HexacodeFile = [INSTALLDIR]Maps\Cedex\hxfvnn04.tri ... |
when i install my setup my ini file is this:
CODE |
[files] CompiledHtmlHelpFile=C:\Program Files\WR\Help\WRHelp.chm HexacodeFile=C:\Program Files\WR\Maps\Cedex\hxfvnn04.tri ... |
all the comment have disapears.
how can I keep my comment ?
and it is possible the introduce the [product name] in the comment?
Thanks in advance.
Paul
Posted 09 March 2005 - 15:53
INI files are not intended to inlcude comments. The INI file APIs don't support reading or writing comments, and may even remove them. If you need a special formatted file that doesn't fully comply with the INI file format you have to use a custom action to process the text file.
Stefan Krüger
InstallSite.org twitter facebook