Inno Setup: Load file edited during installation for wpInfoAfter

Viewed 89

I would like to use wpInfoAfter page in my installation to display a summary of my installation with Inno Setup. And I would like to load a file that is edited during the [Run] section and during the ssInstall step.

In the documentation they say that is should be located to be loaded by the compiler, and me I would like to load it after install.

How can I do that ? Thanks.

1 Answers

Use a dummy file for the InfoAfterFile directive (just to activate the page).

And then on runtime, load the file you want:

WizardForm.InfoAfterMemo.Lines.LoadFromFile(FileName);
Related