attendabuilds
asked on
IIS auto install
Is it possible to install IIS via a batch file or script
ASKER
AlfaLAN,
I would need to install it on a running server
I would need to install it on a running server
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\Ftp root
PathWWWRoot=D:\Inetpub\Www root
And store it in the same place as your batchscript:
@ECHO OFF
ECHO Start installing MS IIS...
(shared point with installationfiles)\sysocmg r /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?
[Components]
iis_common = on
iis_inetmgr = on
iis_www = on
iis_ftp = on
iis_htmla = on
[InternetServer]
PathFTPRoot=D:\Inetpub\Ftp
PathWWWRoot=D:\Inetpub\Www
And store it in the same place as your batchscript:
@ECHO OFF
ECHO Start installing MS IIS...
(shared point with installationfiles)\sysocmg
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Or fully unattended installation (and even configuration) together with an install of windows?
What version of IIS do you plan to use?