Amlys
Amlys

Reputation: 145

Inno Setup: Load file edited during installation for wpInfoAfter

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.

Upvotes: 2

Views: 188

Answers (1)

pimpo
pimpo

Reputation: 469

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);

Upvotes: 2

Related Questions