排序
水波纹特效首页
Function Page0 nsDialogs::Create 1044 Pop $0 ${If} $0 == error Abort ${EndIf} GetDlgItem $0 $HWNDPARENT 1028 ShowWindow $0 ${SW_HIDE} GetDlgItem $0 $HWNDPARENT 1035 ShowWindow $0 $...
静默安装结束时启动程序
因为是静默安装,没有界面,所以我们不能用.onGUIEnd回调,那么,可以用.onInstSuccess回调么?答案是肯定的 Name app OutFile app.exe SilentInstall silent Section SectionEnd Function .onI...
单选框组
${NSD_CreateRadioButton} 106u 12u 82u 14u '选项1' Pop $1 ${NSD_AddStyle} $1 ${WS_GROUP} ${NSD_CreateRadioButton} 106u 27u 82u 14u '选项2' Pop $1 ${NSD_CreateRadioButton} 106u 42u 8...
即时获取复选框通知
outfile 'CheckboxNotify.exe' showinstdetails show !define NOCHECKED_TEXT '请选择一个勾选' !include WinMessages.nsh !include LogicLib.nsh ;page license page custom CustomCreate Cust...
安装窗口大小及居中设置
Name 'Test' OutFile 'Test.exe' Section SectionEnd Function .onGUIInit System::Call 'user32::GetSystemMetrics(i0)i.r1' System::Call 'user32::GetSystemMetrics(i1)i.r2' IntOp $1 $1 - ...
二进制在NSIS中的应用
!include nsDialogs.nsh !define BIT_CHECK_PROGRAMS 0x00000001 !define BIT_CHECK_DESKTOP 0x00000002 !define BIT_CHECK_TASKBAR 0x00000004 Var Flags Name Example OutFile Example.exe XP...
nsis的WmiInspector插件
Windows 支持的所有 WMI 类网址:https://msdn.microsoft.com/en-us/library/aa389273.aspx !addplugindir . Name TestWmiInspector OutFile TestWmiInspector.exe RequestExecutionLevel user ...
安装过程中取消安装范例
!include 'MUI2.nsh' !include 'LogicLib.nsh' outfile 'test.exe' ShowInstDetails show Caption '取消安装测试' !define MUI_ABORTWARNING_TEXT '你确定终止安装?' Var CompletedText Complet...
安装过程中检测数据库是否已经存在
制作服务端程序的安装包,常常要创建数据库和其中的表。在创建之前,应该检测一下这个数据库是否已经存在了,如果已经存在,那么弹出消息框问用户是不是要覆盖现有的数据库数据。这里是一个使用...
NSIS学习笔记-使用C++开发NSIS插件
S1:新建一个空的C++DLL项目,nsMessageBoxPlugin. S2:复制“C:\Program Files (x86)\NSIS\Unicode\Examples\Plugin\nsis”文件夹到 当前solution下。 S3:当前project头文件和库文件搜索路径设为...
用户38172960 33分钟前0
谢谢分享唐懂 3小时前0
感謝分享用户11297581 5小时前0
看看,希望能用唐懂 6小时前0
感谢楼主感謝分享用户13412995 22小时前0
感谢分享用户17495123 昨天0
谢谢分享