Solved

IIS auto install

Posted on 2004-09-18
4
930 Views
Last Modified: 2008-07-21
Is it possible to install IIS via a batch file or script
0
Comment
Question by:attendabuilds
  • 3
4 Comments
 
LVL 2

Expert Comment

by:AlfaLAN
ID: 12109796
I think so, but what do you want exactly? Unattended installation of IIS on a already installed/running computer?
Or fully unattended installation (and even configuration) together with an install of windows?

What version of IIS do you plan to use?
0
 

Author Comment

by:attendabuilds
ID: 12110570
AlfaLAN,

I would need to install it on a running server
0
 
LVL 2

Expert Comment

by:AlfaLAN
ID: 12112755
Create an unattended install file and name it Iis.txt :
[Components]
iis_common = on
iis_inetmgr = on
iis_www = on
iis_ftp = on
iis_htmla = on

[InternetServer]
PathFTPRoot=D:\Inetpub\Ftproot
PathWWWRoot=D:\Inetpub\Wwwroot


And store it in the same place as your batchscript:
@ECHO OFF
ECHO Start installing MS IIS...
(shared point with installationfiles)\sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\iis.txt
ECHO Finished installing IIS.
END


sysocmgr.exe is the IIS's "setupprogram".

See also: http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q259/6/71.ASP&NoWebContent=1


It is also possible to configure the server through script. Want info on that one to?
0
 
LVL 2

Accepted Solution

by:
AlfaLAN earned 125 total points
ID: 12148200
Ow, I see, Forgot to give the correct awnser...

Yes, you can ;-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
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

19 Experts available now in Live!

Get 1:1 Help Now