Automate website deployment process in local machine

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
Dinesh KumarAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Bob LearnedConnect With a Mentor Commented:
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
 
Aaron TomoskySD-WAN SimplifiedCommented:
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
 
Bob LearnedCommented:
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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
Dinesh KumarAuthor Commented:
the problem is that I want to create a exe which will do all the functions mentioned in question.
0
 
Aaron TomoskyConnect With a Mentor SD-WAN SimplifiedCommented:
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
 
Dinesh KumarAuthor Commented:
Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.