最新发布第114页
排序
读取注册表版本号
name 'NSISDemo' outfile 'NSISDemo.exe' Section 'NSISDemo' ReadRegStr $R0 HKLM SOFTWAREMicrosoftWindowsCurrentVersionUninstallTTPlayer 'DisplayVersion' IntCmp $R0 '5.0' is5 lessthan...
寻找NSIS控件ID方法
name 'Find Control IDs' outfile 'findctlID_MUI.exe' showinstdetails show InstallDir '$EXEDIR' var header !include mui.nsh ; 许可协议页面 !define MUI_PAGE_CUSTOMFUNCTION_PRE lic_pre...
NSIS循环播放MP3
Function .onInit InitPluginsDir File '/oname=$PLUGINSDIR\bgm_傻女.mp3' 'E:\傻女.mp3' ; 打开音乐文件 System::Call 'winmm.dll::mciSendString(t 'OPEN $PLUGINSDIR\bgm_傻女.mp3 TYPE MPE...
NSIS安装类型
InstType '完全安装' ;1 InstType '推荐安装' ;2 InstType '精简安装' ;3 SetcionIN 1 2 3 ;包含在1、2、3 SetcionIN 2 3 ;包含在2、3 SetcionIN 1 2 RO ;包含在1、2且不可更改
NSIS自动检测
!include 'MUI.nsh' OutFile 'S32.exe' !define MUI_PAGE_CUSTOMFUNCTION_PRE ComponentsPage1Pre !insertmacro MUI_PAGE_COMPONENTS Sectiongroup '完整独立程序' SecOL3 Section /o 'QQ直播程...
NSIS 选择卸载组件
!insertmacro MUI_UNPAGE_COMPONENTS ;卸载选择组件页面 !insertmacro MUI_UNPAGE_INSTFILES ;卸载过程页面 Section Uninstall Delete '$INSTDIR\${PRODUCT_NAME}.url' Delete '$INSTDIR\uninst...
NSIS 组件关联页面
!include 'MUI.nsh' !include 'Sections.nsh' Name '自定义页面结合组件选择测试' OutFile 'Setup.exe' !insertmacro MUI_PAGE_COMPONENTS Page custom PageInitFunc PageLeaveFunc '' # 自定义...
NSIS 自动显示组件
!include 'UsefulLib.nsh' Name TestSelectSection OutFile 'TestSelectSection.exe' Page components Page instfiles ShowInstDetails show Section '01' SEC01 SectionEnd Section '02' SEC02...
NSIS 选择组件颜色
!define TVM_SETBKCOLOR 0x111D ;Window Message Background !define TVM_SETTEXTCOLOR 0x111E ;Window Message Text !include 'MUI.nsh' Name 'dummy' OutFile 'dummy.exe' XPStyle on ShowIns...
NSIS 跳换页面
Name skip OutFile skip.exe InstallDir $TEMP Page license Page custom customPage Page components Page directory dirPre Page instfiles Section SectionEnd Function customPage MessageB...
用户91492873 4小时前0
解压密码是什么用户88963557 4小时前0
多谢楼主分享用户94979084 5小时前0
感谢分享用户63527747 17小时前1
非常非常感谢!这玩意是神器!用户87566487 18小时前0
谢谢分享用户47357243 21小时前0
WPS 专业/企业好,就是桌面要三个图标