Svisstack
Svisstack

Reputation: 16616

Visual Studio 2010 Installation Project with Autostart

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

Answers (2)

Svisstack
Svisstack

Reputation: 16616

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

Upvotes: 1

marrat
marrat

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

Related Questions