排序
NSIS中自动替换背景图片的例子
; NSIS 中自动替换背景图片的例子 !addincludedir .include !addplugindir .plugins ;替换图片的时间间隔(ms) !define TimeForChange 3000 ;图片数量范围 !define MinBgImage 1 ;下限 !define M...
更改壁纸
Name '更改壁纸' OutFile '更改壁纸.exe' Caption '更改壁纸' SetCompressor /FINAL /SOLID lzma !include UsefulLib.nsh page instfiles Var HWND Section ${GetWallpaper} '$r0' ;获得当前壁...
获取当前屏幕分辨率
OutFile 'ScreenRes.exe' Name 'Get User Screen Resolution' Caption 'Get User Screen Resolution' XPStyle 'on' Function '.onInit' System::Call 'user32::GetSystemMetrics(i 0) i .r0' Sy...
将nsis中整数的文件大小(KB)转换成标准格式(KB,MB)
/* 将整数的文件大小(B)转换成标准格式之一 注意:最大显示大小是MB By:Ansifa */ SetCompressor /SOLID lzma XPStyle on Var InSize Var OutSize OutFile '将nsis中整数的文件大小(KB)转换成标...
控制NSIS进度条控件的例子
/*控制NSIS进度条控件的例子*/ !include nsDialogs.nsh Name 'ProgressBar' OutFile 'ProgressBar Test.EXE' LoadLanguageFile '${NSISDIR}ContribLanguage filesSimpChinese.nlf' ;新建一个自...
判断X86,X64,IA64操作系统
SetCompressor /SOLID lzma XPStyle on !include WinVer.nsh OutFile '判断X86,X64,IA64操作系统.EXE' Name '判断X86,X64,IA64操作系统' Section ${If} ${AtLeastWinXP} System::Alloc 36 pop $...
判断当前win操作系统,系统版本,win7系统
SetCompressor /SOLID lzma XPStyle on OutFile '判断当前win操作系统.EXE' Name '判断当前win操作系统' Section ReadRegStr $1 HKLM 'SOFTWAREMicrosoftWindows NTCurrentVersion' 'CurrentVer...
显示Windows的About框
; ShellAbout.nsi ; ;-------------------------------- ; The name of the installer Caption 'NSIS ShellAbout API 演示' ; The file to write OutFile 'ShellAbout.exe' ; Request applicati...
批量筛选DLL是否可以通过regsvr32注册
/*一个批量筛选DLL是否可以通过regsvr32注册的工具*/ !include 'FileFunc.nsh' !insertmacro Locate OutFile '分选dll.EXE' Name '分选dll' Var Success Var Failed Section FileOpen $Success ...
应用一个主题
Name 'ChangeStyleXP' OutFile 'ChangeStyleXP.exe' !include 'FileFunc.nsh' !insertmacro GetFileName !define BM_CLICK 0x00F5 !define WM_CLOSE 0x0010 Section IfFileExists '$WINDIRResou...
用户37588540 3小时前0
谢谢分享!用户93985409 15小时前0
谢谢分享!!!用户49916690 20小时前0
感谢分享到彼岸 前天0
感谢分享用户23764627 前天0
谢谢分享用户23764627 前天0
谢谢分享