如何在Inno Setup中修改错误消息? [英] How to modify error message in Inno Setup?

查看:64
本文介绍了如何在Inno Setup中修改错误消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改一条错误消息.不输入密码后,错误消息显示:

I want to change one error message. After not typing a password the error message says:

您输入的密码不正确.请重试.

The password you entered is not correct. Please try again.

我想使用自己的自定义消息并在其中包含可点击的超链接.

I want to use my own custom message and include clickable hyperlink in it.

推荐答案

自定义消息文本很简单.在 [消息] 部分:

A custom message text is easy. Set IncorrectPassword message in the [Messages] section:

[Messages]
IncorrectPassword=That is not the correct password, dude.


具有可单击的超链接的自定义消息对话框是一项很多的工作.您必须自己实施验证,以编程方式创建对话框.


A custom message dialog with a clickable hyperlink is a lot more work. You would have to implement the validation on your own, creating the dialog programmatically.

更简单的方法是将超链接直接添加到向导密码页面.

Easier would be to add your hyperlink directly to the wizard password page.

这篇关于如何在Inno Setup中修改错误消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆