///安装.inf文件 ExecWait "RunDll32 advpack.dll,LaunchINFSection skins.inf,DefaultInstall"
///刷新图标 System::Call 'shell32.dll::SHChangeNotify(l, l, i, i) v (0x08000000, 0, 0, 0)'
///NSIS注册字体?
!include WinMessages.nsh
Section "MainSection" SEC01
File /oname=$FONTS/tahoma.ttf tahoma.ttf
Push "$FONTS/tahoma.ttf"
System::Call "Gdi32::AddFontResource(t s) i .s"
Pop $0
IntCmp $0 0 0 +2 +2
MessageBox MB_OK "注册字体失败"
SendMessage ${HWND_BROADcast} ${WM_FONTCHANGE} 0 0
SectionEnd