I have .NET4 project 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.
Visual Studio 2010 Installation Project with Autostart
1.9k Views Asked by Svisstack At
2
There are 2 best solutions below
3

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.