Reputation: 16616
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.
Upvotes: 0
Views: 1925
Reputation: 16616
Windows Intaller from Visual Studio 2010 don't have this feature.
Upvotes: 1
Reputation: 534
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.
Upvotes: 1