/* BrandingURL.DLL为NSIS提供1028控件增加超链接标签 */ !include MUI2.nsh ## Settings. Name "BrandingURL Plugin Example" OutFile BrandingURLMUI.exe InstallDir "$PROGRAMFILESDIR" # The text to be displayed for our to-be hyperlink. BrandingText "永恒心锁" ## Pages. !define MUI_CUSTOMFUNCTION_GUIINIT onGUIInit !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES ## Languages. !insertmacro MUI_LANGUAGE English ## Dummy section. Section SectionEnd ## Set the hyperlink up. Function onGUIInit BrandingURL::Set /NOUNLOAD "200" "0" "0" "http://www.yhxs3344.net" FunctionEnd ## Unload the plugin. Function .onGUIEnd BrandingURL::Unload FunctionEnd