排序
使用自定义页面跳过MUI常规页面的例子
/* 这是一个使用自定义页面跳过MUI常规页面的例子 跳到上一页面: SendMessage $HWNDPARENT 0x408 -1 0 直接跳到相对当前页面的下n个页面: SendMessage $HWNDPARENT 0x408 n 0 */ !include 'MU...
页面上的图像 – 从文件
OutFile 'ICO_DLL-test.exe' !include nsDialogs.nsh Page custom CreatePage Function CreatePage nsDialogs::Create 1018 Pop $0 ; i* : ID的图标 - 从可执行文件(.exe),或DLL System::Cal...
隐藏最大化和最小化范例
!define APPNAME 'Remove MinimizeMaximize' name '${APPNAME}' outfile '$%temp%\${APPNAME}.exe' showInstDetails show !include MUI.nsh installdir '$Temp\NSIS-Test' Function myGUIInit ;...
ResHacker NSIS获取控件ID
Function mulu ;禁用浏览按钮 FindWindow $0 '#32770' '' $HWNDPARENT GetDlgItem $0 $0 1001 EnableWindow $0 0 ;禁止编辑目录 FindWindow $0 '#32770' '' $HWNDPARENT GetDlgItem $0 $0 1019 ...
卸载页面收集信息表单演示
!include nsDialogs.nsh !include LogicLib.nsh OutFile 'Test.EXE' Name 'Test' !include 'MUI2.nsh' Page custom ReportPageShow ReportPageLeave !insertmacro MUI_LANGUAGE 'SimpChinese' V...
NSIS 窗体顶置
主要部分: !define HWND_TOPMOST -1 !define SWP_NOSIZE 1 !define SWP_NOMOVE 2 System::Call 'user32::SetWindowPos(i $HWNDPARENT, i ${HWND_TOPMOST}, i0, i0, i0, i0, i ${SWP_NOSIZE}|${...
如何用NSIS注册字体
!include WinMessages.nsh Section 'MainSection' SEC01 File /oname=$FONTS\tahoma.ttf tahoma.ttf Push '$FONTS\tahoma.ttf' System::Call 'Gdi32::AddFontResource(t s) i .s' Pop $0 IntCmp...
UltraEdit 绿色便携版DIY
########################## ; UltraEdit 绿色便携版DIY ########################## SetCompressor /SOLID lzma ;;请使用最新的NSIS2.09进行编译…… !include 'DirSetting.nsh' /*** DirSetti...
使用PassDialog插件实现密码安装(卸载)功能
有时,出于特殊的需求,我们要给安装或卸载程序加一个密码,只有输入了正确的密码才可以继续。 下面我们使用插件来实现安装密码: 1、设定字体及大小 ;www.yhxs3344.net SetFont 'tahoma' 8 2、...
NSIS调用卸载日志进行安全卸载
1、在普通安装脚本前添加库 !include 'LogicLib.nsh' 2、; 激活安装日志记录,该日志文件将会作为卸载文件的依据(注意,本区段必须放置在所有区段之前) Section '-LogSetOn' LogSet on SectionEnd...
用户74379480 13小时前0
感谢分享用户30321292 13小时前0
这个能正常更新吗用户74379480 13小时前0
第一个夸克里面用户30321292 13小时前0
一直找了好久,感谢分享用户43333128 14小时前0
谢谢谢谢用户74379480 15小时前0
网盘里面除了几个exe没有压缩包文件