使用Sendmessage的简单例子
;Sendmessage简单例子 ; !include 'WinMessages.nsh' !include 'LogicLib.nsh' name 'Sendmessage简单例子' outfile 'test.exe' page custom show leave reservefile 'pagecustom.ini' section ...
在欢迎页面增加超链接
!include 'MUI.nsh' Outfile '在欢迎页面增加超链接.exe' !define MUI_PAGE_CUSTOMFUNCTION_PRE WelcomePageSetupLinkPre !define MUI_PAGE_CUSTOMFUNCTION_SHOW WelcomePageSetupLinkShow !ins...
批量筛选DLL是否可以通过regsvr32注册
/*一个批量筛选DLL是否可以通过regsvr32注册的工具*/ !include 'FileFunc.nsh' !insertmacro Locate OutFile '分选dll.EXE' Name '分选dll' Var Success Var Failed Section FileOpen $Success ...
显示Windows的About框
; ShellAbout.nsi ; ;-------------------------------- ; The name of the installer Caption 'NSIS ShellAbout API 演示' ; The file to write OutFile 'ShellAbout.exe' ; Request applicati...
判断当前win操作系统,系统版本,win7系统
SetCompressor /SOLID lzma XPStyle on OutFile '判断当前win操作系统.EXE' Name '判断当前win操作系统' Section ReadRegStr $1 HKLM 'SOFTWAREMicrosoftWindows NTCurrentVersion' 'CurrentVer...
判断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 $...