Solved

Automate website deployment process in local machine

Posted on 2014-12-07
6
102 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linq Help 1 35
Excel import error " External table is not in expected format" 12 49
Stream.BeginRead and Stream.EndRead in .NET Core 5 38
Run time Error 4 35
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

24 Experts available now in Live!

Get 1:1 Help Now