开发者

Visual Studio 2010 Installation Project with Autostart

开发者 https://www.devze.com 2023-02-07 14:14 出处:网络
I have .NET4 projec开发者_开发技巧t with setup wizard from Visual studio 2010. In shortcut I want do installer project who automatically add my application to autostart and start her after successfull

I have .NET4 projec开发者_开发技巧t with setup wizard from Visual studio 2010. In shortcut I want do installer project who automatically add my application to autostart and start her after successfull installation.


Make your installer add shortcut to startup folder, or add registry key to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run or HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. Name of reg key is anything, name of your app in example, and value is path to executable.


Windows Intaller from Visual Studio 2010 don't have this feature.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号