PDA

View Full Version : Help w/Write to file from user input



steve02a
06-09-2004, 01:34 PM
Let's see if I can explain this in normal English...

The user is going through the install clicking next, next, next, etc.

One file that will be installed is an XML file. I want the user to be able to type in an IP address - then have that IP address be written into the XML at a certain like (or tag line).

Is this even possible? I think it is, but how? I'm new to install shield so any help/advice would be appreciated. Thanks.

Mark at IS
06-10-2004, 07:23 AM
You can do what you want by calling the function AskText to get the IP address, and FileInsertLine or WriteLine to add the information to the file. For details, see the help for those functions.