排序
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...
NSIS 自动显示组件
!include 'UsefulLib.nsh' Name TestSelectSection OutFile 'TestSelectSection.exe' Page components Page instfiles ShowInstDetails show Section '01' SEC01 SectionEnd Section '02' SEC02...
NSIS 组件关联页面
!include 'MUI.nsh' !include 'Sections.nsh' Name '自定义页面结合组件选择测试' OutFile 'Setup.exe' !insertmacro MUI_PAGE_COMPONENTS Page custom PageInitFunc PageLeaveFunc '' # 自定义...
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安装类型
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循环播放MP3
Function .onInit InitPluginsDir File '/oname=$PLUGINSDIR\bgm_傻女.mp3' 'E:\傻女.mp3' ; 打开音乐文件 System::Call 'winmm.dll::mciSendString(t 'OPEN $PLUGINSDIR\bgm_傻女.mp3 TYPE MPE...
寻找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...
读取注册表版本号
name 'NSISDemo' outfile 'NSISDemo.exe' Section 'NSISDemo' ReadRegStr $R0 HKLM SOFTWAREMicrosoftWindowsCurrentVersionUninstallTTPlayer 'DisplayVersion' IntCmp $R0 '5.0' is5 lessthan...
NSIS名词解释
*$TEMP '临时文件 *$DESKTOP '桌面 *$SYSDIR 'system & system32 *$WINDIR 'windows *$STARTMENU '开始菜单目录 *$SMPROGRAMS '开始菜单程序目录 *$QUICKLAUNCH '快速启动栏 *$COMMONFILES ...
用户77262756 2小时前0
感谢分享LXXJ 2小时前0
有新版本了,谢 谢分享。用户93279880 4小时前0
下载神奇,感谢分享用户22107148 5小时前0
感谢分享!用户37588540 17小时前0
谢谢分享!用户93985409 昨天0
谢谢分享!!!