Solved

Automate website deployment process in local machine

Posted on 2014-12-07
6
109 Views
Last Modified: 2015-02-03
Hi Experts!

Developers often needs to set up  websites in their local machine so I am trying to automate this process which can contain the following steps e.g

1. Creating Virual directory
2. attaching https certificate
3. Directory browsing to be enabled.
4. Windows authienticateion to be be selected.
5. Application pool to be created.
and much more..

Also can we configure add/remove programs programattically as they are also sometimes part of webdeployment e.g
windows authentication option comes in IIS only once it is allowed through add/remove programs.

can you please recommend me how can we achieve it.

Thanks
meetDinesh
0
Comment
Question by:Dinesh Kumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 39

Expert Comment

by:Aaron Tomosky
ID: 40487627
Personally I use ms web deploy and some batch files. You can use powershell for more functionality or even an installer tool if you wish
http://www.techrepublic.com/blog/five-apps/five-apps-for-creating-installation-packages/
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 40487757
You might be able to export and import your sites.

Exporting and Importing Sites and App Pools from IIS 7 and 7.5
http://www.microsoftpro.nl/2011/01/27/exporting-and-importing-sites-and-app-pools-from-iis-7-and-7-5/
0
 

Author Comment

by:Dinesh Kumar
ID: 40511540
the problem is that I want to create a exe which will do all the functions mentioned in question.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 39

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 150 total points
ID: 40511657
I already included a link to a comparison of some installer software.

However I would like to mention that after you create the website in IIS, the rest of the settings live in web.config which you can just include with each project.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 350 total points
ID: 40512807
You could write a small app that would start a process, and create the export file, and then start another process to import the file.

An installer would be another good way, though, so you have choices.
0
 

Author Closing Comment

by:Dinesh Kumar
ID: 40586028
Thank you.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

734 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