Solved

Create Custom installer for c#.net web application

Posted on 2014-11-14
2
318 Views
Last Modified: 2014-11-21
I wish to create an installer for my C#.Net web application.

My installer has the following requirements:
1. Create database on target Server
2. If user selects to link existing database, then just link to existing database on server
3. Create Custom screens for user to create Admin users
4. Install Website on Target server IIS with required settings

I was thinking of using MSDeploy or something available with Microsoft that I can use.
Can you suggest me the best way to do this?
0
Comment
Question by:SHANCHAT972
2 Comments
 
LVL 42

Expert Comment

by:EugeneZ
ID: 40444700
try to use "Web Deployment Package "

Web Deployment Overview for Visual Studio and ASP.NET
http://msdn.microsoft.com/en-us/library/dd394698(v=vs.110)

more
Walkthrough: Deploying a Web Application Project Using a Web Deployment Package (Part 1 of 4)
http://msdn.microsoft.com/en-us/library/vstudio/dd483479(v=vs.100).aspx
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 40444714
Assuming you have Visual Studio, one of the types of the projects is Setup and Deployment; in recent versions it was replaced by Installshield Express. So you add this project to your solution, and then you have to configure it to deploy the database etc. If you search on the web for something like "visual studio setup and deployment deploy sql express database", you will find many materials, for example http://www.codeproject.com/Articles/10032/Deploy-SQL-Server-databases-easily-with-an-Install. Same with deploying web application.

If it was me, I would first practice by creating trivial database application, deploying it, then the same with web application. Once I felt I'm ready, I would start working on the real project.

Since both Setup and Deployment Project and Installshield Express implement only a small subset of all features of Windows Installer, it's possible that you will feel that you need something that is not there. Chances are it will be because you are not very familiar with this area while it's in fact possible; but if you really need more, then your choices are (1) acquiring and becoming proficient in professional installation-authoring product, such as Installshield Pro or Wise for Windows Installer (the latter discontinued, but still not impossible to find); or (2) hiring someone who already has the tool and experience.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now