Monday, 24 May 2010

Ways to Install a Windows Service?

Approach 1: Using Visual Studio Setup Project

In the Custom Actions section, you need to add the "Primary output from ..." to all the stages of Install, Commit, Rollback and Uninstall. Then your windows service will be installed.

Approach 2: Using InstallUtil.exe

Approach 3: Using sc.exe

Approach 4: Using WIX

to be continued...

No comments: