简体   繁体   English

安装后在Windows启动时运行的应用程序

[英]application run on windows startup after installation

I have publish my current project. 我已经发布了我当前的项目。 I got the publish folder in my Project's folder. 我在项目文件夹中找到了发布文件夹。 I installed my program and it works perfectly, but I need to know if it is possible that after installation (installer is from the Visual Studio 2012 when you publish the project) the program will start automatically upon windows start up. 我已经安装了程序,并且可以正常运行,但是我需要知道是否有可能在安装后(安装程序是从Visual Studio 2012中发布项目时安装的)在Windows启动时程序会自动启动。

You could have the installer create a link to your application in the Windows Registry, under the Run or RunOnce registry keys for Windows. 您可以让安装程序在Windows注册表中Windows的Run或RunOnce注册表项下创建指向您的应用程序的链接。

Here is more information about the Run and RunOnce registry keys: https://msdn.microsoft.com/en-us/library/windows/desktop/aa376977(v=vs.85).aspx 这是有关Run和RunOnce注册表项的更多信息: https ://msdn.microsoft.com/zh-cn/library/windows/desktop/aa376977( v= vs.85).aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM