如何通过msi安装程序在系统托盘上设置应用程序? [英] How to set application on System tray by msi installer?

查看:118
本文介绍了如何通过msi安装程序在系统托盘上设置应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。



我开发了一个C#应用程序,它将驻留在系统托盘上,并为它制作一个msi安装程序。但是,在msi安装后,它已安装在程序文件中,系统托盘中没有自动显示的图标。如果我从已安装文件夹运行exe,它将进入系统托盘,但重新启动PC后,我再次手动运行exe文件以将其保留在系统托盘上。但是我希望在msi安装中将它保存在Windows系统托盘中。



我需要做些什么改变以及我需要做些什么?

Hello.

I have developed an C# application, will be resided on system tray and made a msi installer for it. But, after installation by msi, it has been installed in program files, there is no icon available in system tray automatically. If I run the exe from installed folder, then it will come in system tray, but after restart the PC, I have run the exe file manually again to keep it on system tray. but I want to keep it in windows system tray allways from the msi installation.

What changes and where I have to made to make this, please?

推荐答案

您可以在另一个论坛中找到这些帖子的答案有用...请记住,很多将取决于您使用的VS版本以及可能的版本Windows正在瞄准。



[ ^ ]



http:// stackoverflow。 com / questions / 1668274 / run-exe-after-msi-installation [ ^ ]



http:// stackoverflow.com/questions/3168782/visual-studio-installer-how-to-launch-app-at-end-of-installer [ ^ ]
You may find the answers to these posts in another forum useful... bear in mind that much will depend on which version of VS your''re using and potentially which version of Windows you''re targetting.

Icon not appearing in system tray after a setup[^]

http://stackoverflow.com/questions/1668274/run-exe-after-msi-installation[^]

http://stackoverflow.com/questions/3168782/visual-studio-installer-how-to-launch-app-at-end-of-installer[^]


这篇关于如何通过msi安装程序在系统托盘上设置应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆