IIS auto install

Is it possible to install IIS via a batch file or script
attendabuildsAsked:
Who is Participating?
 
AlfaLANConnect With a Mentor Commented:
Ow, I see, Forgot to give the correct awnser...

Yes, you can ;-)
0
 
AlfaLANCommented:
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
 
attendabuildsAuthor Commented:
AlfaLAN,

I would need to install it on a running server
0
 
AlfaLANCommented:
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
All Courses

From novice to tech pro — start learning today.