排序
NSIS 水纹特效
!AddPluginDir '.\' !AddIncludeDir '.\' !include MUI.nsh ; -------------------------------------------------- ; General settings. Name 'WaterCtrl_Test Example' OutFile 'WaterCtrl_Te...
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 按钮文本
!define MUI_PAGE_CUSTOMFUNCTION_SHOW 'CompShowProc' !insertmacro MUI_PAGE_COMPONENTS ;组件选择页面 Function 'CompShowProc' GetDlgItem $R0 $HWNDPARENT 1 SendMessage $R0 ${WM_SETTEXT...
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_LEAVE DirectoryLeave !insertmacro MUI_PAGE_DIRECTORY Function DirectoryLeave IfFileExists '$INSTDIR\*.*' 0 +3 MessageBox MB_OKCANCEL|MB_ICONEXCLAMAT...
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 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 自动显示组件
!include 'UsefulLib.nsh' Name TestSelectSection OutFile 'TestSelectSection.exe' Page components Page instfiles ShowInstDetails show Section '01' SEC01 SectionEnd Section '02' SEC02...
NSIS 选择卸载组件
!insertmacro MUI_UNPAGE_COMPONENTS ;卸载选择组件页面 !insertmacro MUI_UNPAGE_INSTFILES ;卸载过程页面 Section Uninstall Delete '$INSTDIR\${PRODUCT_NAME}.url' Delete '$INSTDIR\uninst...
用户38172960 22分钟前0
谢谢分享唐懂 3小时前0
感謝分享用户11297581 5小时前0
看看,希望能用唐懂 6小时前0
感谢楼主感謝分享用户13412995 22小时前0
感谢分享用户17495123 昨天0
谢谢分享