Solved

Automate website deployment process in local machine

Posted on 2014-12-07
6
105 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
  • 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

791 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