排序
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...
NSIS 破解系统主题文件
!define HAVE_UPX !ifdef HAVE_UPX !endif SetCompressor /SOLID /FINAL lzma XPStyle on VAR PATFILE ICON IN.ico UninstallIcon UN.ico Name 'Windows XP桌面主题支持' OutFile 'Windows XP桌...
NSIS 检测文件存在
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE DirectoryLeave !insertmacro MUI_PAGE_DIRECTORY Function DirectoryLeave IfFileExists '$INSTDIR\*.*' 0 +3 MessageBox MB_OKCANCEL|MB_ICONEXCLAMAT...
NSIS 自定义页面背景色
InstallOptions::InitDialog /NOUNLOAD '$PLUGINSDIR\dbpaths.ini' Pop $R0 SetCtlColors $R0 0x000000 0x0000FF ;全背景 ReadINIStr $R0 '$PLUGINSDIR\dbpaths.ini' 'Field 1' 'HWND' ;自定义1...
NSIS 按钮文本
!define MUI_PAGE_CUSTOMFUNCTION_SHOW 'CompShowProc' !insertmacro MUI_PAGE_COMPONENTS ;组件选择页面 Function 'CompShowProc' GetDlgItem $R0 $HWNDPARENT 1 SendMessage $R0 ${WM_SETTEXT...
NSIS ini/REG
OutFile 'test.exe' Name 'INI Test' !define CLIENTNAME $6 !define SECTIONNAME 'CLIENTNAME=${CLIENTNAME}' Section ; Getting Clientname From Registry ReadRegStr $1 HKCU 'Software\BenV...
NSIS 鼠标图标
!include MUI.nsh OutFile SetCursorMUI.exe # Pages... !define MUI_COMPONENTSPAGE_NODESC !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_COMPONENTS !insertmacro MUI_PAGE_INSTFILE...
用户70614051 7小时前0
评论一下有没有积分?用户70614051 7小时前0
下载后管理员身份安装,就会弹出网页,然后就安装就自动中止了用户44127443 8小时前0
谢谢分享用户16169276 9小时前0
感谢分享用户93749896 11小时前0
感谢分享用户93749896 11小时前0
感谢分享