Solved

IIS auto install

Posted on 2004-09-18
4
935 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
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.

810 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