問題描述
如何在 Inno Setup 中修改錯誤信息? (How to modify error message in Inno Setup?)
我想更改一條錯誤消息。未輸入密碼後,錯誤消息顯示:
您輸入的密碼不正確。請再試一次。
我想使用我自己的自定義消息並在其中包含可點擊的超鏈接。
參考解法
方法 1:
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.
(by Michael、Martin Prikryl)