排序
创建关于按钮
SetCompressor /SOLID lzma SetCompress force XPStyle on !include 'MUI.nsh' !include '创建关于按钮.nsh' OutFile '创建关于按钮.EXE' Name '创建关于按钮' SetFont /LANG=2052 'tahoma' 8 !...
NSIS清理托盘图标
!include WinMessages.nsh !include '${NSISDIR}ExamplesSystemSystem.nsh' Call RefreshSysTray Function RefreshSysTray FindWindow $0 'Shell_TrayWnd' '' FindWindow $0 'TrayNotifyWnd' ''...
禁用关闭按钮
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...
NSIS文件函数头文件介绍(三)
文件函数,顾名思义就是处理文件用的函数。使用这些文件处理函数前,必须先包含头文件FileFunc.nsh。该头文件目前包含如下一些函数:Locate、GetSize、DriveSpace、GetDrives、GetTime、GetFile...
NSIS 注册表中键值是否存在
;定义注册表主键 !define HKEY_CLASSES_ROOT 0x80000000 !define HKEY_CURRENT_USER 0x80000001 !define HKEY_LOCAL_MACHINE 0x80000002 !define HKEY_USERS 0x80000003 OutFile OpenReg.exe XP...
获取路径最后一个目录名称
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...
NSIS——InstallOption文件 自定义页面 数据库连接配置
注意:state是显示的文本或值、Flags是操作相关的,要取值有事件的必须写。 ; Ini file generated by the HM NIS Edit IO designer. [Settings] NumFields=8 [Field 1] Type=Groupbox Text=连接...
去除字串中的汉字
!include 'LogicLib.nsh' XPStyle on !include 'WordFunc.nsh' #去除字串中的汉字 #本例仅是个思路,测试环境和给出的条件有限,如有异常,有进一步修改的余地。 OutFile 'NSIStest.exe' Name 'tes...
NSIS创建互斥,退出重复运行的程序
!define MyMutex_Update 'MyMutex_Update' Section System::Call 'kernel32::CreateMutexA(i 0, i 0, t '${MyMutex_Update}') i .r1 ?e' Pop $R0 StrCmp $R0 0 +2 Quit SectionEnd
NSIS 下拉菜单
!include 'MUI2.nsh' Name 'example_NSD_DropList' OutFile 'example_NSD_DropList.exe' InstallDir '$EXEDIR' Page custom nsDialogsPage !insertmacro MUI_LANGUAGE 'English' Section '' Sec...
用户73109649 43分钟前0
下载来看看用户20174658 58分钟前0
感谢分享用户51196161 1小时前0
非常感谢,这个工具很实用。用户58456910 1小时前0
谢谢下载备用浪漫小流氓 1小时前0
新版本有什么新功能?用户99021943 3小时前0
新版本有什么新功能?