gpt4 book ai didi

inno-setup - 在 Inno Setup 中将文本添加到 'Ready Page'

转载 作者:行者123 更新时间:2023-12-03 15:10:55 26 4
gpt4 key购买 nike

我在我的安装程序中添加了几个自定义页面。这些页面从用户和磁盘收集一些数据,我想在最后的安装步骤开始之前向用户显示这些数据。 Inno Setup 有专门用于此目的的“准备安装”页面。

如何向此页面添加文本?默认情况下,它向我显示:

Destination location:
C:\Program Files\MyProgram

我想在这里附加一些文字。是否可以?

最佳答案

找到了... https://jrsoftware.org/ishelp/index.php?topic=scriptevents :

function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;

If Setup finds the UpdateReadyMemo event function in the Pascal script, it is called automatically when the Ready to Install wizard page becomes the active page. It should return the text to be displayed in the settings memo on the Ready to Install wizard page as a single string with lines separated by the NewLine parameter. Parameter Space contains a string with spaces. Setup uses this string to indent settings. The other parameters contain the (possibly empty) strings that Setup would have used as the setting sections. The MemoDirInfo parameter for example contains the string for the Selected Directory section.

关于inno-setup - 在 Inno Setup 中将文本添加到 'Ready Page',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1218411/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com