Solved

IIS auto install

Posted on 2004-09-18
4
938 Views
Last Modified: 2008-07-21
Is it possible to install IIS via a batch file or script
0
Comment
Question by:attendabuilds
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
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.

733 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