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
Solved

IIS auto install

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 PRo Upgrade 21 81
Windows 10: do I need to have a data partition for maximum security? 10 83
Windows pro to home 2 91
Time Machine reports 'Disc Full' 3 79
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…
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
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.

809 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