Jump to content


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.
Photo

Writing to an ini file


2 replies to this topic

shajilr

shajilr
  • Members
  • 11 posts

Posted 18 October 2002 - 17:07

Hi,
    I want to write into an ini file while installation.Could anyone of you help me on this .It would be very helpful if some one help me with some sample codes.
thanks,
Shajil

hambone

hambone
  • Members
  • 206 posts

Posted 18 October 2002 - 17:37

could you use the INIFile table and use the WriteINIValues/RemoveINIValues actions ?

EberhardH

EberhardH
  • Members
  • 137 posts

Posted 21 October 2002 - 13:37

Hi, Shajil,

You can write to any file with a .ini-like syntax with the following function calls:
   WriteProfInt / WriteProfString / WriteProfStringList
and read from a .ini file with:
   GetProfInt / GetProfString / GetProfStringList

Have a look at the on-line help. These functions are quite easy to handle.

Eberhard