user190661
user190661

Reputation:

How to create a text file in Inno Setup?

I'm going to store an activation code, so I'm looking for a simple way to store a single line text file. How to create a single (or multiline, if I use #13#10 line feeding) text file in Inno Setup ?

Upvotes: 8

Views: 18760

Answers (2)

fvu
fvu

Reputation: 32953

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

Upvotes: 6

Related Questions