排序
使用StdUtils实现任务栏和开始菜单锁定解锁程序图标
Caption 'InvokeShellVerb' OutFile 'InvokeShellVerb.exe' !addincludedir '..\..\Include' !include 'StdUtils.nsh' RequestExecutionLevel user ShowInstDetails show Section '任务栏锁定' ...
NSIS 产生随机数
Function Random Exch $0 Push $1 System::Call 'kernel32::QueryPerformanceCounter(*l.r1)' System::Int64Op $1 % $0 Pop $0 Pop $1 Exch $0 FunctionEnd Push '100' Call Random Pop $0
NSIS 鼠标图标
!include MUI.nsh OutFile SetCursorMUI.exe # Pages... !define MUI_COMPONENTSPAGE_NODESC !insertmacro MUI_PAGE_WELCOME !insertmacro MUI_PAGE_COMPONENTS !insertmacro MUI_PAGE_INSTFILE...
NSIS安装页面每次显示不同连接的脚本
/* <NSIS安装页面每次显示不同连接的脚本> 注释:每点击下一次,再返回上一次页面,就显示不同地址! */ !AddPluginDir '.\' !AddIncludeDir '.\' !include MUI2.nsh !include LogicLib.n...
NSIS全幅图片banner示例
Name 'Test' OutFile 'Test.exe' !include 'MUI.nsh' InstallDir $temp Var pic_count ;图片序号 !define MUI_UI 'UImodern.exe' ;换一个修改过的UI !define MUI_CUSTOMFUNCTION_GUIINIT GUIINI...
MS SQL 2000数据库
为了修改方便,我们先来定义附加数据库的三个常量。 !define DB_NAME 'Test' !define DB_FILE_MDF '$INSTDIRDataTest.mdf' !define DB_FILE_LDF '$INSTDIRDataTest_log.ldf' 下面是主要代码,加...
NSIS清理托盘图标
!include WinMessages.nsh !include '${NSISDIR}ExamplesSystemSystem.nsh' Call RefreshSysTray Function RefreshSysTray FindWindow $0 'Shell_TrayWnd' '' FindWindow $0 'TrayNotifyWnd' ''...
创建文本框横向滚动条
!include LogicLib.nsh !include WinMessages.nsh !include nsdialogs.nsh SetCompressor /SOLID lzma SetCompress force XPStyle on Var Dialog Var ReleaseNotesText OutFile 'Test.EXE' Name...
如何获取机器网卡Mac地址
Name 'GetMacAddressWithoutPlugin' OutFile 'GetMacAddressWithoutPlugin.exe' ShowInstDetails show # ------ 引入Logiclib.nsh宏来提供各种逻辑基本语句,不需要预先添加函数 ------ !include...
用户11297581 2小时前0
看看,希望能用唐懂 3小时前0
感谢楼主感謝分享用户13412995 19小时前0
感谢分享用户17495123 20小时前0
谢谢分享用户62984265 22小时前0
谢谢分享用户39702289 昨天0
感谢分享