排序
创建带有图标的url
XPStyle on OutFile 'nsisTest.exe' Name 'Test' Section 'Test' WriteINIStr '$exedirShortcut.URL' 'InternetShortcut' 'URL' 'http://www.yhxs3344.net' WriteINIStr '$exedirShortcut.URL' ...
NSIS刷新文件图标
关联文件图标后,图标没变化,则需要刷新文件图标,代码: System::Call shell32.dll::SHChangeNotify(l, l, i, i) v (0x08000000, 0, 0, 0)
获取文件版本信息
!include 'FileVerInfo.nsh' Name 'GetFileVerInfo' Caption '$(^Name)' OutFile 'GetFileVerInfo.exe' XPStyle on Function .onGUIInit StrCpy $0 '文件 $WINDIRnotepad.exe 的版本信息:$r$n' ...
即时获取复选框通知
outfile 'CheckboxNotify.exe' showinstdetails show licenseData 'QQ.rtf' !define NOCHECKED_TEXT '请选择一个勾选' !include WinMessages.nsh !include LogicLib.nsh page license page cust...
NSIS清理托盘图标
!include WinMessages.nsh !include '${NSISDIR}ExamplesSystemSystem.nsh' Call RefreshSysTray Function RefreshSysTray FindWindow $0 'Shell_TrayWnd' '' FindWindow $0 'TrayNotifyWnd' ''...
网页协议相关知识
在WINDOWS平台,可以实现HTTP访问的对象和API很多,一般常见的有下面几种 API 方式 WinINet, WinHTTP, WinSock, ws2_32 对象方式 MSXML2.XMLHTTP, Microsoft.XMLHTTP, WinHttp.WinHttpR...
创建关于按钮
SetCompressor /SOLID lzma SetCompress force XPStyle on !include 'MUI.nsh' !include '创建关于按钮.nsh' OutFile '创建关于按钮.EXE' Name '创建关于按钮' SetFont /LANG=2052 'tahoma' 8 !...
NSIS——InstallOption文件 自定义页面 数据库连接配置
注意:state是显示的文本或值、Flags是操作相关的,要取值有事件的必须写。 ; Ini file generated by the HM NIS Edit IO designer. [Settings] NumFields=8 [Field 1] Type=Groupbox Text=连接...
NSIS 注册表中键值是否存在
;定义注册表主键 !define HKEY_CLASSES_ROOT 0x80000000 !define HKEY_CURRENT_USER 0x80000001 !define HKEY_LOCAL_MACHINE 0x80000002 !define HKEY_USERS 0x80000003 OutFile OpenReg.exe XP...
禁用关闭按钮
OutFile 'Nsistest.exe' Page components Name 'test' Section 'Test' SectionEnd Function .onGUIInit System::Call 'user32::GetSystemMenu(i$hwndparent,i 0)i.R1' System::Call 'user32::Re...
用户48089799 9小时前0
谢谢朋友无私分享用户70869698 10小时前0
终于找到新版能用的播放软件了用户73262345 14小时前0
正需要一款TV版盒子用户71931998 16小时前0
这个是最新版真吗?用户71931998 16小时前0
里面好多功能都需要积分用户98847644 16小时前0
very nice .不错