tags:

views:

394

answers:

1

I've got a dialog box which is taking in a software activation code that needs to be stored in the {app} directory. I've been trying to do this with Pascal, but Inno-Setup doesn't have the type "Text", so I'm a bit stumped (I've never used pascal before today, so I could be missing something obvious).

Has any one done this before? Any ideas?

+1  A: 

InnoSetup's Pascal Scripting has a function called SaveStringToFile which should do what you need.

fvu