View Full Version : Writing into Files

08-04-2008, 05:37 AM
Hi All,
I would like to write the information in the textfile about user selection in the setup wizard to the installed directory, How to do this?
For Eg:-
In a multilanguage Setup wizard, information about user selected language should be writed to the textfile in the installed directory.

[if the user installed in the directory c:\programsiles\setupname\projectnam\..
then the text files also should be created!! with the content of language selected]

I would like to use installscript for this but i don't know How to use it. can you please explain how to start with this.

Please suggest me some ideas !!!

Jayakumar Natarajan
Ever Tried Ever Faied No Matter,Try Again Fail Again Fail Better.

08-04-2008, 02:03 PM
If you are witing to an INI file look at WriteProfString in the help. If this is a plain ASCII file look up OpenFile, WriteLine, and WriteBytes.