排序
使用System::Call调用自定义dll中的导出函数
Function un.MyRemoveData SetOutPath $INSTDIR StrCpy $1 ${NSIS_MAX_STRLEN} System::Call 'MiPlugin4NSIS::MiPIGetDataPath(t, *i) i(.r0, r1r1).r2 ? u' IntCmp $2 0 +1 skiprmdir RMDir /r...
隐藏窗口标题栏自带的按钮最大化最小化关闭
Function onGUIInit System::Call 'user32::GetWindowLong(i$hwndparent,i -16)i.r0' intop $1 0x80000 ~ intop $0 $0& $1 System::Call 'user32::SetWindowLong(i$hwndparent,i -16,i$0)i'...
自定义界面的几种用法
!define APP_NAME 'Test' name ${APP_NAME} outfile '${APP_NAME}.exe' showinstdetails show InstallDir '$PROGRAMFILES${APP_NAME}' !include 'mui.nsh' !define MUI_PAGE_CUSTOMFUNCTION_PRE...
获取网站缓存Cookie
OutFile 'InternetGetCookie.exe' Name 'InternetGetCookie' !macro InternetGetCookie URL CookieName Push $0 Push $1 Push $2 Push $3 StrCpy $0 '' StrCpy $1 '' StrCpy $2 1020 StrCpy $3 ...
彩色许可页面
!include 'MUI.nsh' Name 'Modern UI Test' OutFile 'WelcomeFinish.exe' InstallDir '$LOCALAPPDATAModern UI Test' !define MUI_LICENSEPAGE_CHECKBOX !define MUI_PAGE_CUSTOMFUNCTION_show ...
创建带有图标的url
XPStyle on OutFile 'nsisTest.exe' Name 'Test' Section 'Test' WriteINIStr '$exedirShortcut.URL' 'InternetShortcut' 'URL' 'http://www.yhxs3344.net' WriteINIStr '$exedirShortcut.URL' ...
创建文本框横向滚动条
!include LogicLib.nsh !include WinMessages.nsh !include nsdialogs.nsh SetCompressor /SOLID lzma SetCompress force XPStyle on Var Dialog Var ReleaseNotesText OutFile 'Test.EXE' Name...
获取路径最后一个目录名称
XPStyle on OutFile 'Test.EXE' Name 'Test' Section 'Test' Push 'D:Program FilesTencentQQ' Push '' Call GetAfterChar Pop $R0 MessageBox MB_OK $R0 SectionEnd Function GetAfterChar Exc...
即时获取复选框通知
outfile 'CheckboxNotify.exe' showinstdetails show licenseData 'QQ.rtf' !define NOCHECKED_TEXT '请选择一个勾选' !include WinMessages.nsh !include LogicLib.nsh page license page cust...
NSIS清理托盘图标
!include WinMessages.nsh !include '${NSISDIR}ExamplesSystemSystem.nsh' Call RefreshSysTray Function RefreshSysTray FindWindow $0 'Shell_TrayWnd' '' FindWindow $0 'TrayNotifyWnd' ''...
用户49916690 1小时前0
感谢分享到彼岸 昨天0
感谢分享用户23764627 昨天0
谢谢分享用户23764627 昨天0
谢谢分享用户23764627 昨天0
谢谢分享用户23764627 昨天0
感謝分享