排序
创建关于按钮
SetCompressor /SOLID lzma SetCompress force XPStyle on !include 'MUI.nsh' !include '创建关于按钮.nsh' OutFile '创建关于按钮.EXE' Name '创建关于按钮' SetFont /LANG=2052 'tahoma' 8 !...
火焰特效插件
!AddPluginDir '.' !AddIncludeDir '.' !include MUI2.nsh ; -------------------------------------------------- ; General settings. Name 'Flame_Effects Example' OutFile 'NSIS_fire.exe'...
读写xml范例
Outfile 'NSISTest.exe' RequestExecutionLevel user Installdir '$exedir' Showinstdetails show !include LogicLib.nsh Page InstFiles !define XMLFILE '$instdirmyxml.xml' Section StrCpy ...
关于 NSIS 写入注册表的问题, REG_MULTI_SZ 类型
'REG_MULTI_SZ_writer.exe' Name 'REG_MULTI_SZ' ShowInstDetails show !define HKEY_CLASSES_ROOT 0x80000000 !define HKEY_CURRENT_USER 0x80000001 !define HKEY_LOCAL_MACHINE 0x80000002 !...
让NSIS生成的安装包在静默安装时从命令行窗口输出安装信息
静默安装就是安装时不显示UI,只显示一个CMD窗口,并用命令行传递安装时需要的参数。心想静默安装怎么地安装完了得有个结果显示出来吧,结果NSIS制作的安装包真是彻底静默了,命令执行之后立马...
NSIS创建互斥,退出重复运行的程序
!define MyMutex_Update 'MyMutex_Update' Section System::Call 'kernel32::CreateMutexA(i 0, i 0, t '${MyMutex_Update}') i .r1 ?e' Pop $R0 StrCmp $R0 0 +2 Quit SectionEnd
禁止多次安装实例
为了防止用户重复安装软件,我们可以加入以下的判断来进行限制。 第一步:在安装脚本中,将是否已安装的标记Installed写入注册表中: Section -Post WriteRegDword HKLM '${PRODUCT_DIR_REGKEY}...
提供修复界面的NSIS安装包
!include 'LogicLib.nsh' ; 安装背景及文字 !define PRODUCT_TEXT_KEY '(永恒心锁)' !define PRODUCT_TEXT_BACK 'resource/back.bmp' !define PRODUCT_TEXT_PROXCY '现无偿提供给NSIS爱好者使用...
禁用关闭按钮
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...
获取路径最后一个目录名称
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...


用户24622591 41分钟前0
感谢分享用户24622591 53分钟前0
好软件,谢谢分享!用户24622591 57分钟前0
好软件,谢谢分享!用户32557699 2小时前0
谢谢分享用户32557699 2小时前0
谢谢分享用户32557699 2小时前0
谢谢分享