排序
寻找NSIS控件ID方法
name 'Find Control IDs' outfile 'findctlID_MUI.exe' showinstdetails show InstallDir '$EXEDIR' var header !include mui.nsh ; 许可协议页面 !define MUI_PAGE_CUSTOMFUNCTION_PRE lic_pre...
NSIS 确认路径
Function .onVerifyInstDir IfFileExists $INSTDIR\Winamp.exe PathGood Abort ; 如果 $INSTDIR 不是 Winamp 路径,则不让用户安装在这里 PathGood: FunctionEnd Function .onVerifyInstDir IfF...
NSIS 选择不同组件
!define CUST_INI '$PLUGINSDIR\custom.ini' !include Logiclib.nsh !include Sections.nsh !define SEC1_TEXT 'Section One' ;组件1 !define SEC2_TEXT 'Section Two' ;组件2 !define SEC3_TEX...
NSIS图片Flash特效脚本
Var hBitmap !AddPluginDir '.\' !AddIncludeDir '.\' !include MUI.nsh ; -------------------------------------------------- ; General settings. Name 'FlashLib_Test Example' OutFile 'F...
NSIS 文件关联方法
Section '.txt' Note DetailPrint '关联 txt 文件...' SectionIn 1 WriteRegStr HKCR '.txt' '' 'Note.file' WriteRegStr HKCR 'Note.file' '' '文本文件 (.txt)' WriteRegStr HKCR 'Note.file\...
NSIS逻辑函数头文件介绍
!include “LogicLib.nsh” 使用 NSIS 的宏来提供各种逻辑基本语句,不需要预先添加函数。 基本语句 If|Unless..{ElseIf|ElseUnless}..[Else]..EndIf|EndUnless - 有条件的执行一个语句区块,取...
NSIS 按键皮肤
; example_MUI.nsi ;-------------------------------- !define VERSION 1.1 !define NAME 'Skinned Button plugin for NSIS' ; The name of the installer Name '${NAME} ${VERSION}' ; The fi...
nsis dialogdesigner 封装源码
; 安装程序初始定义常量 !define PRODUCT_NAME 'nsisdialogdesigner' !define PRODUCT_VERSION '1.1.3' !define PRODUCT_WEB_SITE 'http://www.yhxs3344.net' !define PRODUCT_UNINST_KEY 'Soft...
使用自定义页面跳过MUI常规页面的例子
/* 这是一个使用自定义页面跳过MUI常规页面的例子 跳到上一页面: SendMessage $HWNDPARENT 0x408 -1 0 直接跳到相对当前页面的下n个页面: SendMessage $HWNDPARENT 0x408 n 0 */ !include 'MU...
定义欢迎页面的标题字体大小
!define MUI_PAGE_CUSTOMFUNCTION_SHOW ChageFONT !insertmacro MUI_PAGE_WELCOME Function ChageFONT GetDlgItem $0 $MUI_HWND 1201 createFont $1 'Tahoma' '11' '700' SendMessage $0 ${WM_S...





用户95327106
3小时前0
感谢分享