杉宫竹苑工作室

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2119|回复: 0

NSIS 托盘提示

[复制链接]
发表于 2017-2-26 11:39:12 | 显示全部楼层 |阅读模式

正式会员享受无限制浏览网站功能和高速网盘下载,赶快加入本站吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

x
  1. ;                需要 NotifyIcon.dll 实现
  2. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  3. Name "NotifyIcon Example"
  4. OutFile "notifyicon.exe"
  5. BrandingText "罾心製作 http://www.blog.163.com/53_54/于${__Date__}发布"
  6. Icon "${NSISDIR}\Contrib\Graphics\Icons\modern-install-colorful.ico"
  7. XPStyle on

  8. Section "ThisNameIsIgnoredSoWhyBother?"

  9. InitPluginsDir

  10. NotifyIcon::Icon /NOUNLOAD "iy" 103
  11. NotifyIcon::Icon /NOUNLOAD "b" "NSIS installer" "Starting installation..."
  12. NotifyIcon::Icon /NOUNLOAD "p" "Completed %d%%"
  13. Sleep 4000

  14. NotifyIcon::Icon /NOUNLOAD "!pt" "Tip is back!"   
  15. Sleep 2000

  16. File "/oname=$PLUGINSDIR\icon.ico" "D:\My Documents\ untu.ico"
  17. NotifyIcon::Icon /NOUNLOAD ".fb" "$PLUGINSDIR\icon.ico" "NSIS installer" "Installation is finished!"
  18. Sleep 3000

  19. NotifyIcon::Icon /NOUNLOAD "f" "$PLUGINSDIR\icon.ico"
  20. Sleep 4000

  21. SectionEnd

  22. Function .onGUIEnd
  23. NotifyIcon::Icon "r"
  24. FunctionEnd
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SgzyStudio

GMT+8, 2024-5-19 14:06 , Processed in 0.120542 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表