Windows Service Setup Project – Visual Studio 2008

Windows Service Setup Project differs a bit from Windows Application (Desktop) Setup Project. Consider those following steps to create Setup Project for Windows Service Application.

# Right Click on Solution and Add New Project to your Solution.

# Choose Other Project Type and Setup and Deployment and finally Setup Project to create a new Project, give it meaningful Name. For instance, My Windows Service Project name is ReportDownloader and my Setup Project Name is SetupReportDownloader.

# Right Click on SetupReportDownloader=> Add => Project Output, Finally Select the Project you want to create Setup Project for and Select Primary Out and Click OK to continue.

# Up to this, it is same as Windows Application. Now for Windows Service, Right Click on SetupReportDownloader=>View=>Custom Action.

Winsows Service Setup 1

# In the Left Pane, Right Click on Install=> Add Custom Action=> Application Folder=> Project Output and Click OK to continue.

Winsows Service Setup 2

Winsows Service Setup 3

Winsows Service Setup 4

# Do the same for Commit, Rollback, Uninstall.

# Build the Original Project First, build This Setup Project then.

Now your Setup Installer is ready Setup Project Bin Folder.

A Rahim Khan

  1. December 19th, 2011

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: