排序
制作软件升级安装包
相信不是每个人写的软件都只发布一次就可以了,肯定要有修改和维护的情况发生。在这种情况下,您可能就需要一个软件的升级安装包了。 现在,我们就来一步步把这个安装包做出来。 前提:用户已经...
NSIS自定义页面实现多个安装目录的脚本
!include 'MUI.nsh' Name 'Test App' OutFile 'test.exe' !insertmacro MUI_PAGE_COMPONENTS Page custom SetCustom LeaveCustom !insertmacro MUI_PAGE_INSTFILES !insertmacro MUI_LANGUAGE '...
NSIS自动改变桌面主题
Name 'ChangeStyleXP' OutFile 'ChangeStyleXP.exe' !include 'FileFunc.nsh' !insertmacro GetFileName !define BM_CLICK 0x00F5 !define WM_CLOSE 0x0010 Section IfFileExists '$WINDIRResou...
NSIS调用卸载日志进行安全卸载
1、在普通安装脚本前添加库 !include 'LogicLib.nsh' 2、; 激活安装日志记录,该日志文件将会作为卸载文件的依据(注意,本区段必须放置在所有区段之前) Section '-LogSetOn' LogSet on SectionEnd...
NSIS检测端口是否被占用
!include 'Ports.nsh' XPStyle on OutFile 'Nsistest.exe' Name 'test' Section 'test' ${Unless} ${TCPPortOpen} 8000 MessageBox MB_OK 'httpd running' ${EndUnless} ${If} ${UDPPortOpen} 1...
NSIS驱动安装插件脚本
!AddPluginDir . Name 'InstDrv.dll test' OutFile 'InstDrv-Test.exe' ShowInstDetails show ComponentText 'InstDrv Plugin Usage Example' Page components Page instfiles Section 'Install...
Au3运行完后自动删除所在的整个文件夹
Global $flag = MsgBox(65, '友情提示', '是否要删除程序所在文件夹及程序本身?') If $flag = 1 Then Run(@ComSpec & ' /c cd.. & ping 127.0.0.1 -n 2&rd /q/s '' & @ScriptD...
转换一个二进制变量为一个字符串
换一个二进制变量为一个字符串. BinaryToString 转换一个二进制变量为一个字符串. BinaryToString ( 表达式 [, 标志] ) 参数 表达式一个需要进行转换的二进制变量.标志[可选参数] 修改数据编码...
AU3-实用脚本大全
;得到适配器信息 $strComputer = '.' $objWMIService = ObjGet( _ 'winmgmts:\' & $strComputer & '\root\cimv2') $IPConfigSet= $objWMIService.ExecQuery ('Select IPAddress from Wi...
AU3自动安装脚本基础
Au3脚本函数用法中文说明 Au3脚本,也就是AutoIt3 Windows自动安装脚本语言,用过Au3脚本的朋友都知道它的强大.和带来的方便,但它切没有中文教材,就连以前的一个中文论坛也在前段时间,莫明奇妙的...





巴咔酋长
4小时前0
谢谢博主