最新发布第149页
排序
常用系统环境变量
命令行变量: ________________ $CMDLINE 外来命令行,如使用NSIS压缩器将'$CMDLINE'作为输出路径后生成了'C:Test.exe'. 在开始运行输入'C:Test.exe D:输出文件'(不带引号)后,程序的默认输出路径...
隐藏最大化和最小化
!define APPNAME 'Remove MinimizeMaximize' name '${APPNAME}' outfile '$%temp%${APPNAME}.exe' showInstDetails show !include MUI.nsh installdir '$TempNSIS-Test' Function myGUIInit ;自...
两只老虎音乐伴奏
!include 'LogicLib.nsh' SetCompressor lzma XPStyle on OutFile 'Two_Tiger.exe' Name '两只老虎' Var RetVar !define Return `!insertmacro Return` !macro Return Ret StrCpy $RetVar '${Re...
获取文件版本信息
!include 'FileVerInfo.nsh' Name 'GetFileVerInfo' Caption '$(^Name)' OutFile 'GetFileVerInfo.exe' XPStyle on Function .onGUIInit StrCpy $0 '文件 $WINDIRnotepad.exe 的版本信息:$r$n' ...
获取本机IP
SetCompressor lzma OutFile 'Test.exe' Name '获取本机IP' Section System::Alloc 400 Pop $0 System::Call Ws2_32::WSAStartup(i0x0202,ir0)i.r1 StrCmp $1 0 0 WSAStartup_failed System::Ca...
幻灯片WebCtrl的使用例子
!AddPluginDir . !include MUI2.nsh Name WebCtrl Caption WebCtrl OutFile WebCtrl.exe InstallDir $TEMP ShowInstDetails NeverShow RequestExecutionLevel admin !insertmacro MUI_PAGE_DIRE...
安装目录选择与组件选择页面完美合一
!AddPluginDir . !include 'MUI.nsh' ;!include 'WinCore.nsh' !define SHACF_FILESYSTEM 0x00000001 !define EN_CHANGE 0x0300 Name '安装目录选择与组件选择页面完美合一' OutFile 'Example.e...
USBPE通用安装器
!define NAME 'PE2USB' !define DISTRO 'WINPE' !define FILENAME 'PE2USB' !define VERSION '0.1' !define MUI_ICON 'usb48.ico' RequestExecutionLevel highest ;设置用户最高权限 SetCompres...
拦截鼠标左键点击拖动界面
#拦截鼠标左键点击拖动界面 !include nsDialogs.nsh Page custom nsDialogsPage Name 'Setlink' OutFile 'Setlink.exe' XPStyle on Function OnTimer System::Call user32::GetKeyState(i1)i.r4...
禁用关闭按钮
OutFile 'Nsistest.exe' Page components Name 'test' Section 'Test' SectionEnd Function .onGUIInit System::Call 'user32::GetSystemMenu(i$hwndparent,i 0)i.R1' System::Call 'user32::Re...
用户47328043 2小时前0
感谢分享!十分实用用户70126665 2小时前0
谢谢分享用户50913441 6小时前1
感谢感谢 好东西Disguise 10小时前0
谢谢分享用户27472199 昨天0
感谢分享cunz215 昨天0
感谢分享,看看