[英]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.我想在我的安装中使用
wpInfoAfter
页面来显示我使用 Inno Setup 的安装摘要。 And I would like to load a file that is edited during the [Run]
section and during the ssInstall
step.我想加载在
[Run]
部分和ssInstall
步骤期间编辑的文件。
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.
谢谢。
Use a dummy file for the InfoAfterFile
directive (just to activate the page).为
InfoAfterFile
指令使用一个虚拟文件(只是为了激活页面)。
And then on runtime, load the file you want:然后在运行时,加载你想要的文件:
WizardForm.InfoAfterMemo.Lines.LoadFromFile(FileName);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.