Jump to content


  • 0
getitfaster

Deploying IIS for Windows XP

Question

5 answers to this question

Recommended Posts

  • 0

Hi, welcome to the forum.

 

You will not be able to install IIS 7.0 on a Windows XP based machine since it's not supported. You can deploy windows components by creating an answering file.

 

Unattended install is useful if you need to deploy multiple web servers and need to ensure that each of the web servers is setup with the identical with IIS.

Unattended installs can also be used during the install of Windows Server 2003.

This post will cover installing IIS unattended after the OS has been deployed.

 

By default IIS installs the following directories:

 

%systemroot%\InetPub

%systemroot%\Help\IISHelp

%systemroot%\System32\InetSrv

%systemroot%\System32\InetSrv\MetaBack

These directories contain content and cannot be moved. You can, however, select the location of your wwwroot and ftproot directories at installation by using a script during unattended setup.

 

To start using unattended installs:

 

1. Create an answer file. Use notepad and type in the following:

 

[Components]

iis_common = on

iis_www = on

iis_inetmgr = on

iis_asp = on

aspnet = on

complusnetwork = on

 

[internetServer]

PathFTPRoot = C:\Inetpub\Ftproot

PathWWWRoot = C:\Inetpub\Wwwroot

 

2. Save the file as IIS_Unattended.txt

 

3. Next we run the unattended install by running the following command from a command line:

 

Sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:%PathToUnattendFile%

 

Setup will now install IIS with the IIS Components chosen in the answer file above, in this example we’ll install:

 

Components section:

 

IIS Common Files - (iis_common)

WWW Service - (iis_www)

IIS Manager - (iis_inetmgr)

Active Server Pages (ASP) - (iis_asp)

ASP.NET - (aspnet)

COM+ - (complusnetwork)

InternetServer section:

 

Desired path for www content, i.e. D:\Inetpub\Wwwroot - (PathWWWRoot)

Desired path for ftp content, i.e. D:\Inetpub\Ftproot - (PathFTPRoot)

 

To get a full overview over the IIS Components which you can add to your answer file, read the MS TechNet article: Microsoft TechNet - Creating an Answer File (IIS 6.0)

http://www.microsoft.com/technet/prodtechn...f5f1145aa9.mspx

 

Unattended install can be used for all Windows components, for more information on this read: Windows Server 2003 Technical Reference - How Unattended Installation Works

http://www.microsoft.com/technet/prodtechn...ec740474b1.mspx

 

Other references: Microsoft TechNet - Installing (IIS 6.0)

http://www.microsoft.com/technet/prodtechn...370d7f26cd.mspx

Share this post


Link to post
Share on other sites

  • 0

Thanks!

 

Unfortunately, I gave you incorrect information. IIS for Windows XP version is IIS 5.1. Windows 2000 uses IIS 5.0, XP is IIS 5.1, 2003 is IIS 6

and Windows Vista/2008 is IIS 7.0.

 

Please go to this link - http://www.appdeploy.com/packages/detail.asp?id=93.

 

Expand Command Lines, read it.

Expand Notes, read it.

 

Good luck!

 

Regards,

Tobias Karlsson

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.