排序
NSIS清理托盘图标
!include WinMessages.nsh !include '${NSISDIR}ExamplesSystemSystem.nsh' Call RefreshSysTray Function RefreshSysTray FindWindow $0 'Shell_TrayWnd' '' FindWindow $0 'TrayNotifyWnd' ''...
即时获取复选框通知
outfile 'CheckboxNotify.exe' showinstdetails show licenseData 'QQ.rtf' !define NOCHECKED_TEXT '请选择一个勾选' !include WinMessages.nsh !include LogicLib.nsh page license page cust...
获取路径最后一个目录名称
XPStyle on OutFile 'Test.EXE' Name 'Test' Section 'Test' Push 'D:Program FilesTencentQQ' Push '' Call GetAfterChar Pop $R0 MessageBox MB_OK $R0 SectionEnd Function GetAfterChar Exc...
创建文本框横向滚动条
!include LogicLib.nsh !include WinMessages.nsh !include nsdialogs.nsh SetCompressor /SOLID lzma SetCompress force XPStyle on Var Dialog Var ReleaseNotesText OutFile 'Test.EXE' Name...
创建带有图标的url
XPStyle on OutFile 'nsisTest.exe' Name 'Test' Section 'Test' WriteINIStr '$exedirShortcut.URL' 'InternetShortcut' 'URL' 'http://www.yhxs3344.net' WriteINIStr '$exedirShortcut.URL' ...
彩色许可页面
!include 'MUI.nsh' Name 'Modern UI Test' OutFile 'WelcomeFinish.exe' InstallDir '$LOCALAPPDATAModern UI Test' !define MUI_LICENSEPAGE_CHECKBOX !define MUI_PAGE_CUSTOMFUNCTION_show ...
获取网站缓存Cookie
OutFile 'InternetGetCookie.exe' Name 'InternetGetCookie' !macro InternetGetCookie URL CookieName Push $0 Push $1 Push $2 Push $3 StrCpy $0 '' StrCpy $1 '' StrCpy $2 1020 StrCpy $3 ...
获取安装程序文件名中的特定字符串
如何取得安装程序本身文件名中的特定字符串,比如IP地址。经过讨论,我们得出两种方法实现需求,分别对应需要取得的字符串(IP地址)在不同位置的两种情况。 一、IP地址在前且后面的字符串长度...
常量大全
;运行后会在桌面生成NSIS常量大全.txt文件 Name 'NSIS常量大全' SilentInstall silent OutFile 'NSIS常量大全.exe' RequestExecutionLevel user Section '' FileOpen $0 '$DESKTOPNSIS常量大全....
使用插件和头文件创建超级链接
根据X-Star, zhfi的超级按钮、链接、复选框、菜单脚本改写 ;头文件 !include MUI2.nsh !include ButtonLinkerLib.nsh Name 'Linker Example' OutFile 'LinkerMUI.exe' SetCompressor /SOLID lzm...
用户16268772 1小时前0
收藏起来,谢谢分享!用户23764627 1小时前0
好资源收藏,谢谢分享用户58292053 13小时前0
可以用户94834483 14小时前0
不错,支持。用户29762947 15小时前0
感谢大神分享~用户29762947 15小时前0
感谢大神分享~