我想在安装程序窗口的左下角添加一个指向我们公司网站的链接,但不知道怎么做,因为它超出了可编辑区域(我使用 NSIS Dialog Designer 来设计我们的自定义页面):
我找到了如何在此处添加按钮,但我需要一个链接。
希望您能够帮助我。
此示例使用链接器插件将品牌文本标签转换为链接控件。如果您需要品牌文本和 URL,则需要使用 Resource Hacker + 添加另一个标签,ChangeUI
或者在运行时使用System::Call user32::CreateWindowEx(...)
BrandingText /TRIMRIGHT "Visit our homepage"
Function .onGuiInit
GetDlgItem $0 $HWNDPARENT 0x404
EnableWindow $0 1 ; Branding text control is usually disabled
Linker::link /NOUNLOAD $0 "http://www.example.com/"
FunctionEnd
Function .onGuiEnd
Linker::unload
FunctionEnd
Page Components
Page Instfiles
Section
SectionEnd