有关SimpleSC插件的实例
!include MUI2.nsh !include LogicLib.nsh !include nsDialogs.nsh Name 'NetHalt' OutFile 'nhclient.exe' InstallDir $PROGRAMFILESNetHalt InstallDirRegKey HKLM 'SOFTWARENetHalt' 'Instal...
终止InstFiles安装页面
!include 'MUI2.nsh' !include 'LogicLib.nsh' outfile 'test.exe' ShowInstDetails show Caption '取消安装测试' !define MUI_ABORTWARNING_TEXT '你确定终止安装?' Var CompletedText Complet...
下拉表强行指定安装路径
#利用下拉表强行指定安装路径 !include 'nsDialogs.nsh' !include 'FileFunc.nsh' OutFile 'NSIStest.exe' Page custom CustomPage CustomPageLEAVE Page instfiles Function CustomPage nsDial...
NSIS清理托盘图标
!include WinMessages.nsh !include '${NSISDIR}ExamplesSystemSystem.nsh' Call RefreshSysTray Function RefreshSysTray FindWindow $0 'Shell_TrayWnd' '' FindWindow $0 'TrayNotifyWnd' ''...
获取路径最后一个目录名称
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...