Solved

Automate website deployment process in local machine

Posted on 2014-12-07
6
103 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 38

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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 38

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

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.

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

772 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